Closed
Description
Previous ID | SR-7876 |
Radar | rdar://problem/40810002 |
Original Reporter | broadway_lamb (JIRA User) |
Type | Bug |
Status | Resolved |
Resolution | Done |
Environment
Xcode 10 beta (10L176w), macOS 10.14 Beta (18A293u)
Apple Swift version 4.2 (swiftlang-1000.0.16.7 clang-1000.10.25.3)
Additional Detail from JIRA
Votes | 1 |
Component/s | Compiler |
Labels | Bug, 4.2Regression, RunTimeCrash |
Assignee | broadway_lamb (JIRA) |
Priority | Medium |
md5: 9657a246ce8b2e208b6a48ea60850d24
is duplicated by:
- SR-8100 Compiled code crashes with a EXC_BAD_INSTRUCTION
- SR-8341 Finish recursive metadata support for resilient types
Issue Description:
I'm experiencing a runtime crash when running my Vapor 3 project after I compile it with Xcode 10 beta. I didn't have this issue previously with Xcode 9/Swift 4.1
Stacktrace:
#​0 0x00000001025f3f50 in _dispatch_gate_wait_slow ()
#​1 0x00000001025e104b in dispatch_once_f ()
#​2 0x0000000101db2c19 in swift_once ()
#​3 0x000000010053d70f in type metadata accessor for Address ()
#​4 0x000000010053d671 in type metadata accessor for Identifier<Address> ()
#​5 0x00000001005460aa in ___lldb_unnamed_symbol55$$ServerCore ()
#​6 0x00000001025e10c2 in _dispatch_client_callout ()
#​7 0x00000001025e1000 in dispatch_once_f ()
#​8 0x0000000101db2c19 in swift_once ()
#​9 0x000000010053d70f in type metadata accessor for Address ()
#​10 0x000000010053cfe0 in static MigrationConfig.addAllMigrations() at /Users/sergej/Developer/Timetable-SPbU/Server/Sources/ServerCore/Migrations.swift:24
#​11 0x00000001005027b8 in configure(_:_:_:) at /Users/sergej/Developer/Timetable-SPbU/Server/Sources/App/configure.swift:27
#​12 0x0000000100002c80 in main at /Users/sergej/Developer/Timetable-SPbU/Server/Sources/Run/main.swift:13
#​13 0x00007fff6503fee1 in start ()
The project itself can be found at https://github.com/Timetable-SPbU/Server.