Swift

Trigger a crash from inside a Swift method.

Provider X86-64
HockeyApp
SDK: 4.1.3 Date: 05/18/2017 (i)
Sentry
SDK: 3.0.7 Date: 07/03/2017 (i)
Bugsnag
SDK: 5.0.0 Date: 02/16/2016 (i)
Apple
Date: 05/18/2017 (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              0x000000010be73dc4 @objc CrashLib.CRLCrashSwift.crash () -> () (CRLCrashSwift.swift:36)
1   CrashProbe            0x000000010be64c31 -[CRLMainWindowController causeCrash:] (CRLMainWindowController.m:72)
2   libsystem_trace.dylib 0x00007fff96e883a7 _os_activity_initiate_impl + 52
3   AppKit                0x00007fff7f754721 -[NSApplication(NSResponder) sendAction:to:from:] + 455
4   AppKit                0x00007fff7f238cc4 -[NSControl sendAction:to:] + 85
5   AppKit                0x00007fff7f238bec __26-[NSCell _sendActionFrom:]_block_invoke + 135
6   libsystem_trace.dylib 0x00007fff96e883a7 _os_activity_initiate_impl + 52
7   AppKit                0x00007fff7f238b44 -[NSCell _sendActionFrom:] + 127
8   AppKit                0x00007fff7f27b539 -[NSButtonCell _sendActionFrom:] + 97
9   libsystem_trace.dylib 0x00007fff96e883a7 _os_activity_initiate_impl + 52
10  AppKit                0x00007fff7f237426 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2480
11  AppKit                0x00007fff7f27b272 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 797
12  AppKit                0x00007fff7f235ddb -[NSControl mouseDown:] + 831
13  AppKit                0x00007fff7f8d024f -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 6340
14  AppKit                0x00007fff7f8cca6c -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 1941
15  AppKit                0x00007fff7f8cbf0a -[NSWindow(NSEventRouting) sendEvent:] + 540
16  AppKit                0x00007fff7f750681 -[NSApplication(NSEvent) sendEvent:] + 1144
17  HockeySDK             0x000000010be9154e -[BITCrashExceptionApplication sendEvent:] (BITCrashExceptionApplication.m:48)
18  AppKit                0x00007fff7efcb427 -[NSApplication run] + 1001
19  AppKit                0x00007fff7ef95e0e NSApplicationMain + 1236
20  CrashProbe            0x000000010be64ef0 main (main.m:13)
21  libdyld.dylib         0x00007fff96c56235 start + 0

Sentry - x86_64

OS Version: macOS 10.12.5 (16F73)
Report Version: 104

Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: ILL_NOOP at 0x000000010edc5dc4
Crashed Thread: 0

Application Specific Information:
Exception 2, Code 0, Subcode 8

Thread 0 name:
Thread 0 Crashed:
0   CrashLib                        0x10edc5dc4         [inlined] CRLCrashSwift.crash() -> () (CRLCrashSwift.swift:36)
1   CrashLib                        0x10edc5dc4         @objc CRLCrashSwift.crash() -> ()
2   CrashProbe                      0x20eca7bc3         -[CRLMainWindowController causeCrash:] (CRLMainWindowController.m:72)
3   libsystem_trace.dylib           0xffff28bf63a7      _os_activity_initiate_impl
4   AppKit                          0xfffef9571721      -[NSApplication(NSResponder) sendAction:to:from:]
5   AppKit                          0xfffef9055cc4      -[NSControl sendAction:to:]
6   AppKit                          0xfffef9055bec      __26-[NSCell _sendActionFrom:]_block_invoke
7   libsystem_trace.dylib           0xffff28bf63a7      _os_activity_initiate_impl
8   AppKit                          0xfffef9055b44      -[NSCell _sendActionFrom:]
9   AppKit                          0xfffef9098539      -[NSButtonCell _sendActionFrom:]
10  libsystem_trace.dylib           0xffff28bf63a7      _os_activity_initiate_impl
11  AppKit                          0xfffef9054426      -[NSCell trackMouse:inRect:ofView:untilMouseUp:]
12  AppKit                          0xfffef9098272      -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:]
13  AppKit                          0xfffef9052ddb      -[NSControl mouseDown:]
14  AppKit                          0xfffef96ed24f      -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:]
15  AppKit                          0xfffef96e9a6c      -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:]
16  AppKit                          0xfffef96e8f0a      -[NSWindow(NSEventRouting) sendEvent:]
17  AppKit                          0xfffef956d681      -[NSApplication(NSEvent) sendEvent:]
18  AppKit                          0xfffef8de8427      -[NSApplication run]
19  AppKit                          0xfffef8db2e0e      NSApplicationMain
20  CrashProbe                      0x20eca7e82         main (main.m:13)
21  libdyld.dylib                   0xffff28790235      start

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

Apple - x86_64

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000

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

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0  net.hockeyapp.CrashLib         0x0000000105a5cdc4 _TToFC8CrashLib13CRLCrashSwift5crashfT_T_ + 4 | Missing class, method, filename, and line number
1  net.hockeyapp.CrashProbe.apple 0x0000000105a4cc35 -[CRLMainWindowController causeCrash:] + 75 (CRLMainWindowController.m:72)
2  libsystem_trace.dylib          0x00007fff9515c3a7 _os_activity_initiate_impl + 53
3  com.apple.AppKit               0x00007fff7da41791 -[NSApplication(NSResponder) sendAction:to:from:] + 456
4  com.apple.AppKit               0x00007fff7d526000 -[NSControl sendAction:to:] + 86
5  com.apple.AppKit               0x00007fff7d525f28 __26-[NSCell _sendActionFrom:]_block_invoke + 136
6  libsystem_trace.dylib          0x00007fff9515c3a7 _os_activity_initiate_impl + 53
7  com.apple.AppKit               0x00007fff7d525e80 -[NSCell _sendActionFrom:] + 128
8  com.apple.AppKit               0x00007fff7d568875 -[NSButtonCell _sendActionFrom:] + 98
9  libsystem_trace.dylib          0x00007fff9515c3a7 _os_activity_initiate_impl + 53
10 com.apple.AppKit               0x00007fff7d524762 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2481
11 com.apple.AppKit               0x00007fff7d5685ae -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 798
12 com.apple.AppKit               0x00007fff7d523117 -[NSControl mouseDown:] + 832
13 com.apple.AppKit               0x00007fff7dbbd2bf -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 6341
14 com.apple.AppKit               0x00007fff7dbb9adc -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 1942
15 com.apple.AppKit               0x00007fff7dbb8f7a -[NSWindow(NSEventRouting) sendEvent:] + 541
16 com.apple.AppKit               0x00007fff7da3d6f1 -[NSApplication(NSEvent) sendEvent:] + 1145
17 com.apple.AppKit               0x00007fff7d2b87f7 -[NSApplication run] + 1002
18 com.apple.AppKit               0x00007fff7d2831de NSApplicationMain + 1237
19 net.hockeyapp.CrashProbe.apple 0x0000000105a4cef4 main + 9 (main.m:13)
20 libdyld.dylib                  0x00007fff94f2a235 start + 1