Swift

Trigger a crash from inside a Swift method.

Provider X86-64
HockeyApp
SDK: 4.1.2 Date: 02/124/2017 (i)
Bugsnag
SDK: 5.0.0 Date: 02/16/2016 (i)
Crashlytics
SDK: 3.4.1 Date: 12/10/2015 (i)
Apple
Date: 06/24/2015 (i)

Expected Report Details:

@objc CrashLibiOS.CRLCrashSwift.crash (CrashLibiOS.CRLCrashSwift)() -> () (CRLCrashSwift.swift:36)
-[CRLDetailViewController doCrash] (CRLDetailViewController.m:53)

Click a status icon above to see the crashing thread’s stack trace with further info.

HockeyApp - x86_64

Exception Type:  SIGILL
Exception Codes: ILL_NOOP at 0x0
Crashed Thread:  0

Application Specific Information:
Selector name found in current argument registers: crash

Thread 0 Crashed:
0  CrashLib              0x0000000109ad8dc4 @objc CrashLib.CRLCrashSwift.crash () -> () (CRLCrashSwift.swift:36)
1  CrashProbe            0x0000000109ac6b3d -[CRLMainWindowController causeCrash:] (CRLMainWindowController.m:72)
2  libsystem_trace.dylib 0x00007fffdf193c3d _os_activity_initiate + 61
3  AppKit                0x00007fffc7cb7c9c -[NSApplication(NSResponder) sendAction:to:from:] + 456
4  AppKit                0x00007fffc779d460 -[NSControl sendAction:to:] + 86
5  AppKit                0x00007fffc779d388 __26-[NSCell _sendActionFrom:]_block_invoke + 136
6  libsystem_trace.dylib 0x00007fffdf193c3d _os_activity_initiate + 61
7  AppKit                0x00007fffc779d2e0 -[NSCell _sendActionFrom:] + 128
8  AppKit                0x00007fffc77dfcd9 -[NSButtonCell _sendActionFrom:] + 98
9  libsystem_trace.dylib 0x00007fffdf193c3d _os_activity_initiate + 61
10 AppKit                0x00007fffc779bbc6 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2481
11 AppKit                0x00007fffc77dfa12 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 798
12 AppKit                0x00007fffc779a57b -[NSControl mouseDown:] + 832
13 AppKit                0x00007fffc7e2f603 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 6341
14 AppKit                0x00007fffc7e2be20 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 1942
15 AppKit                0x00007fffc7e2b2be -[NSWindow(NSEventRouting) sendEvent:] + 541
16 AppKit                0x00007fffc7cb3bf5 -[NSApplication(NSEvent) sendEvent:] + 1145
17 HockeySDK             0x0000000109afc914 -[BITCrashExceptionApplication sendEvent:] (BITCrashExceptionApplication.m:48)
18 AppKit                0x00007fffc752ff81 -[NSApplication run] + 1002
19 AppKit                0x00007fffc74fa850 NSApplicationMain + 1237
20 CrashProbe            0x0000000109ac6ea4 main (main.m:13)
21 libdyld.dylib         0x00007fffdef61255 start + 1

Bugsnag - x86_64

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: KERN_NO_ACCESS
Attempted to dereference garbage pointer 0x8.

0  CrashProbe            crash (CRLCrashSwift.swift:36) | Missing class name
1  CrashProbe            -[CRLMainWindowController causeCrash:] (CRLMainWindowController.m:72)
2  libsystem_trace.dylib os_activity_initiate
3  AppKit                -[NSApplication sendAction:to:from:]
4  AppKit                -[NSControl sendAction:to:]
5  AppKit                _26-[NSCell _sendActionFrom:]_block_invoke
6  libsystem_trace.dylib os_activity_initiate
7  AppKit                -[NSCell _sendActionFrom:]
8  libsystem_trace.dylib os_activity_initiate
9  AppKit                -[NSCell trackMouse:inRect:ofView:untilMouseUp:]
10 AppKit                -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:]
11 AppKit                -[NSControl mouseDown:]
12 AppKit                -[NSWindow _handleMouseDownEvent:isDelayedEvent:]
13 AppKit                -[NSWindow _reallySendEvent:isDelayedEvent:]
14 AppKit                -[NSWindow sendEvent:]
15 AppKit                -[NSApplication sendEvent:]
16 AppKit                -[NSApplication run]
17 AppKit                NSApplicationMain
18 CrashProbe            main (main.m:13)
19 libdyld.dylib         start

Crashlytics - x86_64

Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x0000000000000008

Thread : Crashed: com.apple.main-thread
0  CrashLib              0x000109d4ae64 @objc CRLCrashSwift.crash() -> () (CRLCrashSwift.swift) | Missing line number
1  CrashProbe            0x000109cc66e1 -[CRLMainWindowController causeCrash:] (CRLMainWindowController.m:72)
2  libsystem_trace.dylib 0x7fff84dea07a _os_activity_initiate + 75
3  AppKit                0x7fff8df9551d -[NSApplication sendAction:to:from:] + 460
4  AppKit                0x7fff8dfaa486 -[NSControl sendAction:to:] + 86
5  AppKit                0x7fff8dfaa3b0 __26-[NSCell _sendActionFrom:]_block_invoke + 131
6  libsystem_trace.dylib 0x7fff84dea07a _os_activity_initiate + 75
7  AppKit                0x7fff8dfaa30d -[NSCell _sendActionFrom:] + 144
8  libsystem_trace.dylib 0x7fff84dea07a _os_activity_initiate + 75
9  AppKit                0x7fff8dfa8932 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2693
10 AppKit                0x7fff8dffdd58 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 744
11 AppKit                0x7fff8dfa705c -[NSControl mouseDown:] + 669
12 AppKit                0x7fff8e554d1d -[NSWindow _handleMouseDownEvent:isDelayedEvent:] + 6322
13 AppKit                0x7fff8e555fad -[NSWindow _reallySendEvent:isDelayedEvent:] + 212
14 AppKit                0x7fff8deae735 -[NSWindow sendEvent:] + 517
15 AppKit                0x7fff8deaae49 -[NSApplication sendEvent:] + 2540
16 AppKit                0x7fff8ddde03a -[NSApplication run] + 796
17 AppKit                0x7fff8dd60520 NSApplicationMain + 1176
18 CrashProbe            0x000109cc6a46 main (main.m:13)
19 libdyld.dylib         0x7fff850755ad start + 1

Apple - x86_64

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000008

Application Specific Information:
Performing @selector(causeCrash:) from sender NSButton 0x600000154e20

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0  net.hockeyapp.CrashLib   0x0000000109aa37b4 _TToFC8CrashLib13CRLCrashSwift5crashfS0_FT_T_ + 4 | Missing class, method, filename, and line number
1  net.hockeyapp.CrashProbe 0x0000000109a94473 -[CRLMainWindowController causeCrash:] + 75 (CRLMainWindowController.m:72)
2  libsystem_trace.dylib    0x00007fff91233cd7 _os_activity_initiate + 75
3  com.apple.AppKit         0x00007fff8bc45fb1 -[NSApplication sendAction:to:from:] + 452
4  com.apple.AppKit         0x00007fff8bc5ba46 -[NSControl sendAction:to:] + 86
5  com.apple.AppKit         0x00007fff8bc5b962 __26-[NSCell _sendActionFrom:]_block_invoke + 131
6  libsystem_trace.dylib    0x00007fff91233cd7 _os_activity_initiate + 75
7  com.apple.AppKit         0x00007fff8bc5b8bf -[NSCell _sendActionFrom:] + 144
8  libsystem_trace.dylib    0x00007fff91233cd7 _os_activity_initiate + 75
9  com.apple.AppKit         0x00007fff8bc59db3 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2821
10 com.apple.AppKit         0x00007fff8bcb245f -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 770
11 com.apple.AppKit         0x00007fff8bc58466 -[NSControl mouseDown:] + 714
12 com.apple.AppKit         0x00007fff8c1c22fc -[NSWindow _reallySendEvent:isDelayedEvent:] + 14125
13 com.apple.AppKit         0x00007fff8bb51d76 -[NSWindow sendEvent:] + 470
14 com.apple.AppKit         0x00007fff8bb4e312 -[NSApplication sendEvent:] + 2504
15 com.apple.AppKit         0x00007fff8ba77c68 -[NSApplication run] + 711
16 com.apple.AppKit         0x00007fff8b9f4354 NSApplicationMain + 1832
17 net.hockeyapp.CrashProbe 0x0000000109a947d9 main + 9 (main.m:13)
18 libdyld.dylib            0x00007fff8aaa75c9 start + 1