Exception Type: EXC_BREAKPOINT (SIGTRAP)
is very likely a breakpoint instruction inserted as a trap by Swift (to get nil accesses, out of bounds array access, and so on).
Thread 4 name: Dispatch queue: Network.framework Thread 4 Crashed: 0 SimpleTunnelServices … ClientTunnel.sendMessage([String : AnyObject], completionHandler : (NSError?) -> ()) -> () (ClientTunnel.swift:150) 1 PacketTunnel … ClientTunnelConnection.open() -> () (ClientTunnelConnection.swift:58) 2 PacketTunnel … PacketTunnelProvider.tunnelDidOpen(Tunnel) -> () (PacketTunnelProvider.swift:79) …
This indicates it crashed in SimpleTunnel code. If you reproduce the crash with the debugger attached, what do you see?
Also, the crash report references a specific line number (
ClientTunnel.swift:150in the example above). What code is at that line? As I mentioned, it’s very likely that that code is trigger a Swift trap.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"