[Vm-dev] Crash on spilling tea

Eliot Miranda eliot.miranda at gmail.com
Mon Apr 3 17:50:54 UTC 2017


Hi John, Hi All,

    interesting crash.  I spilled some tea on my keyboard and cleaned it up
with a kitchen towel without bothering to disconnect the keyboard, hence
entering a slew of characters from the bottom right of the keyboard.
Here's the crash that resulted; an autorelease pool problem perhaps?
Version info in the attached crash report, but it's

/Users/eliot/oscogvm/build.macos32x86/squeak.cog.spur/CocoaFast.app/Contents/MacOS/Squeak
5.0 5.0.201703272314 Mac OS X built on Mar 27 2017 16:28:11 PDT Compiler:
4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.1.76) [Production Spur VM]
CoInterpreter VMMaker.oscog-eem.2188 uuid:
ff4ca601-cd05-4792-ab0d-dcdf19975239 Mar 27 2017
StackToRegisterMappingCogit VMMaker.oscog-eem.2188 uuid:
ff4ca601-cd05-4792-ab0d-dcdf19975239 Mar 27 2017
VM: 201703272314 eliot at Sisyphus:oscogvm $ Date: Mon Mar 27 16:14:11 2017
-0700 $
Plugins: 201703272314 eliot at Sisyphus:oscogvm $

C stack:
Segmentation fault Mon Apr  3 10:43:22 2017


VM: 201703272314 eliot at Sisyphus:oscogvm $ Date: Mon Mar 27 16:14:11 2017
-0700 $
Plugins: 201703272314 eliot at Sisyphus:oscogvm $

C stack backtrace & registers:
eax 0x823d4280 ebx 0x7c3a0010 ecx 0x996b2242 edx 0xc0000000
edi 0x7c3a0000 esi 0x7c3a0000 ebp 0xbfed6f28 esp 0xbfed6ce8
eip 0x996930a7
0   libobjc.A.dylib                     0x996930a7 objc_msgSend + 23
1   Squeak                              0x00172b4b reportStackState + 819
2   Squeak                              0x00172ebd sigsegv + 129
3   libsystem_platform.dylib            0x947b903b _sigtramp + 43
4   ???                                 0xffffffff 0x0 + 4294967295
5   CoreFoundation                      0x92d5ddaf _CFAutoreleasePoolPop +
47
6   HIToolbox                           0x9958a844
IMKInputSessionProcessEventRefWithCompletionHandler + 142
7   HIToolbox                           0x99589954
InputMethodInstanceProcessEventRef_WithCompletionHandler + 115
8   HIToolbox                           0x995726ed
__TSMEventToInputMethod_WithCompletionHandler_block_invoke + 122
9   HIToolbox                           0x99576e52
__TrySendLockEvent_BeforeEventToInputMethod_WithContinuationHandler_block_invoke
+ 33
10  HIToolbox                           0x99576f29
__SendTSMDocumentLockEvent_WithCompletionHandler_block_invoke + 120
11  HIToolbox                           0x9931f37f
__SendTSMEvent_WithCompletionHandler_block_invoke + 72
12  HIToolbox                           0x993224ca
__SendEventToEventTargetWithCompletionHandler_block_invoke + 25
13  HIToolbox                           0x9932249b
___ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec_block_invoke
+ 127
14  AppKit                              0x9066f27c
___NSTSMEventHandler_block_invoke + 25
15  AppKit                              0x90662273 -[NSTextInputContext
handleTSMEvent:completionHandler:] + 1250
16  AppKit                              0x90661d2b _NSTSMEventHandler + 302
17  HIToolbox                           0x994825a4
_Z22_InvokeEventHandlerUPPP25OpaqueEventHandlerCallRefP14OpaqueEventRefPvPFlS0_S2_S3_E
+ 36
18  HIToolbox                           0x992c0681
_ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec
+ 2291
19  HIToolbox                           0x992bf65c
_ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec
+ 402
20  HIToolbox                           0x992bf4c3
SendEventToEventTargetWithOptions + 95
21  HIToolbox                           0x9931eff9
SendTSMEvent_WithCompletionHandler + 451
22  HIToolbox                           0x9957262a
TrySendLockEvent_BeforeEventToInputMethod_WithContinuationHandler + 409
23  HIToolbox                           0x995723fb
TSMEventToInputMethod_WithCompletionHandler + 154
24  HIToolbox                           0x993034b8
TSMProcessRawKeyEventWithOptionsAndCompletionHandler + 3895
25  AppKit                              0x90ce46a4 __61-[NSTextInputContext
_handleEvent:options:completionHandler:]_block_invoke993 + 147
26  AppKit                              0x90660652 -[NSTextInputContext
tryTSMProcessRawKeyEvent:dispatchCondition:setupForDispatch:furtherCondition:dispatchWork:continuation:]
+ 129
27  AppKit                              0x9066031d -[NSTextInputContext
_handleEvent:options:completionHandler:] + 1708
28  AppKit                              0x9065fc4e -[NSTextInputContext
handleEvent:] + 128
29  AppKit                              0x9065fb4b -[NSView
interpretKeyEvents:] + 205
30  Squeak                              0x0016ef30 -[sqSqueakOSXOpenGLView
keyDown:] + 302
31  AppKit                              0x90be7f9b -[NSWindow
_reallySendEvent:isDelayedEvent:] + 8478
32  AppKit                              0x904cb3ca -[NSWindow sendEvent:] +
526
33  AppKit                              0x904c79c4 -[NSApplication
sendEvent:] + 4765
34  Squeak                              0x00167777 -[SqueakOSXApplication
sendEvent:] + 106
35  Squeak                              0x00169398
-[sqSqueakOSXApplication(events) pumpRunLoopEventSendAndSignal:] + 115
36  Squeak                              0x00169436
-[sqSqueakOSXApplication(events) pumpRunLoop] + 76
37  Squeak                              0x001711a6 nativeIoProcessEvents +
208
38  Squeak                              0x001711fa ioProcessEvents + 35
39  Squeak                              0x00106bd7
checkForEventsMayContextSwitch + 882
40  Squeak                              0x001083dd ceCheckForInterrupts + 16
41  ???                                 0x05f7fe6b 0x0 + 100138603
42  Squeak                              0x000f573c interpret + 635
43  Squeak                              0x00174004
-[sqSqueakMainApplication runSqueak] + 476
44  Foundation                          0x9486d0ae __NSFirePerformWithOrder
+ 416
45  CoreFoundation                      0x92da781e
__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30
46  CoreFoundation                      0x92da7760 __CFRunLoopDoObservers +
400
47  CoreFoundation                      0x92d990c2 __CFRunLoopRun + 946
48  CoreFoundation                      0x92d98aa6 CFRunLoopRunSpecific +
390
49  CoreFoundation                      0x92d9890b CFRunLoopRunInMode + 123
50  HIToolbox                           0x992e68f8
RunCurrentEventLoopInMode + 262
51  HIToolbox                           0x992e6503 ReceiveNextEventCommon +
192
52  HIToolbox                           0x992e642c
_BlockUntilNextEventMatchingListInModeWithFilter + 99
53  AppKit                              0x903f3b41 _DPSNextEvent + 742
54  AppKit                              0x903f31e5 -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 350
55  AppKit                              0x903e7b9c -[NSApplication run] +
907
56  AppKit                              0x9035cfa0 NSApplicationMain + 2082
57  libdyld.dylib                       0x970bb6d9 start + 1
58  ???                                 0x00000002 0x0 + 2


Smalltalk stack dump:
0xbfef57a0 M ProcessorScheduler class>idleProcess 0x688c6f0: a(n)
ProcessorScheduler class
 0x862bc30 s [] in ProcessorScheduler class>startUp:
 0x862af78 s [] in BlockClosure>newProcess


_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20170403/f7932888/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crash.dmp
Type: application/octet-stream
Size: 10436 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20170403/f7932888/attachment-0001.obj>


More information about the Vm-dev mailing list