[Vm-dev] multiple crashes on macOS Sierra

Christophe Demarey christophe.demarey at inria.fr
Mon May 29 08:03:14 UTC 2017


Hi Doru,

> Le 28 mai 2017 à 10:40, Tudor Girba <tudor at tudorgirba.com> a écrit :
> 
> 
> Hi,
> 
> I just had the issue again while typing code.
> 
> I actually cannot work. Is it really only me, or is it that others just got used to living with this and not report the issue?

I have exactly the same problem. It happens at least once a day for me. It is very annoying. It always happens when typing, and I would I say when I press many keys within a very small delay.
Here is a crash dump I experienced (OS X 10.11.4):

Segmentation fault Fri May 19 11:28:42 2017


VM: 201705021552 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $ Date: Tue May 2 08:52:41 2017 -0700 $
Plugins: 201705021552 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $

C stack backtrace & registers:
	eax 0x7a653640 ebx 0x7c27b010 ecx 0x97f8ab12 edx 0xe0000000
	edi 0x97f6e93f esi 0x97f6e93f ebp 0xbff35558 esp 0xbff35318
	eip 0x97f6ecaf
0   libobjc.A.dylib                     0x97f6ecaf objc_msgSend + 31
1   Pharo                               0x00118233 reportStackState + 819
2   Pharo                               0x00118597 sigsegv + 129
3   libsystem_platform.dylib            0x9346d79b _sigtramp + 43
4   ???                                 0xffffffff 0x0 + 4294967295
5   CoreFoundation                      0x9a1e969f _CFAutoreleasePoolPop + 47
6   HIToolbox                           0x94cdb2c1 IMKInputSessionProcessEventRefWithCompletionHandler + 142
7   HIToolbox                           0x94cda4ac InputMethodInstanceProcessEventRef_WithCompletionHandler + 115
8   HIToolbox                           0x94cc37f9 __TSMEventToInputMethod_WithCompletionHandler_block_invoke + 122
9   HIToolbox                           0x94cc89be __TrySendLockEvent_BeforeEventToInputMethod_WithContinuationHandler_block_invoke + 33
10  HIToolbox                           0x94cc8a87 __SendTSMDocumentLockEvent_WithCompletionHandler_block_invoke + 120
11  HIToolbox                           0x94a7512f __SendTSMEvent_WithCompletionHandler_block_invoke + 73
12  HIToolbox                           0x94a7841d __SendEventToEventTargetWithCompletionHandler_block_invoke + 25
13  HIToolbox                           0x94a783fd ___ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec_block_invoke + 127
14  AppKit                              0x98539bb2 ___NSTSMEventHandler_block_invoke + 25
15  AppKit                              0x98532e83 -[NSTextInputContext handleTSMEvent:completionHandler:] + 1253
16  AppKit                              0x98532942 _NSTSMEventHandler + 302
17  HIToolbox                           0x94a7c2ff _Z22_InvokeEventHandlerUPPP25OpaqueEventHandlerCallRefP14OpaqueEventRefPvPFlS0_S2_S3_E + 36
18  HIToolbox                           0x94a247b0 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1832
19  HIToolbox                           0x94a239c4 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 402
20  HIToolbox                           0x94a2382a SendEventToEventTargetWithOptions + 40
21  HIToolbox                           0x94a74d9a SendTSMEvent_WithCompletionHandler + 435
22  HIToolbox                           0x94cc3736 TrySendLockEvent_BeforeEventToInputMethod_WithContinuationHandler + 409
23  HIToolbox                           0x94cc351b TSMEventToInputMethod_WithCompletionHandler + 152
24  HIToolbox                           0x94a72d96 TSMProcessRawKeyEventWithOptionsAndCompletionHandler + 4060
25  AppKit                              0x98d1bb7b __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke999 + 147
26  AppKit                              0x98531778 -[NSTextInputContext tryTSMProcessRawKeyEvent:dispatchCondition:setupForDispatch:furtherCondition:dispatchWork:continuation:] + 129
27  AppKit                              0x985313d3 -[NSTextInputContext _handleEvent:options:completionHandler:] + 1715
28  AppKit                              0x98530cff -[NSTextInputContext handleEvent:] + 128
29  AppKit                              0x98530bfe -[NSView interpretKeyEvents:] + 205
30  Pharo                               0x0011455e -[sqSqueakOSXOpenGLView keyDown:] + 310
31  AppKit                              0x9853015e -[NSWindow _handleKeyDownEvent:] + 569
32  AppKit                              0x98c05c22 -[NSWindow _reallySendEvent:isDelayedEvent:] + 2303
33  AppKit                              0x9859c96f -[NSWindow sendEvent:] + 567
34  AppKit                              0x98517cdd -[NSApplication sendEvent:] + 2919
35  Pharo                               0x0010cdcb -[SqueakOSXApplication sendEvent:] + 163
36  Pharo                               0x0010e9a4 -[sqSqueakOSXApplication(events) pumpRunLoopEventSendAndSignal:] + 115
37  Pharo                               0x0010ea42 -[sqSqueakOSXApplication(events) pumpRunLoop] + 76
38  Pharo                               0x0011688a nativeIoProcessEvents + 208
39  Pharo                               0x001168de ioProcessEvents + 35
40  Pharo                               0x000aa470 checkForEventsMayContextSwitch + 880
41  Pharo                               0x000abcea ceCheckForInterrupts + 16
42  ???                                 0x0483e09b 0x0 + 75751579
43  Pharo                               0x000981bc interpret + 647
44  Pharo                               0x001196ad -[sqSqueakMainApplication runSqueak] + 476
45  Foundation                          0x931b65b9 __NSFirePerformWithOrder + 416
46  CoreFoundation                      0x9a24e90e __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30
47  CoreFoundation                      0x9a24e86e __CFRunLoopDoObservers + 398
48  CoreFoundation                      0x9a22bf92 __CFRunLoopRun + 946
49  CoreFoundation                      0x9a22b976 CFRunLoopRunSpecific + 390
50  CoreFoundation                      0x9a22b7db CFRunLoopRunInMode + 123
51  HIToolbox                           0x94a482f1 RunCurrentEventLoopInMode + 267
52  HIToolbox                           0x94a47fc5 ReceiveNextEventCommon + 201
53  HIToolbox                           0x94a47eec _BlockUntilNextEventMatchingListInModeWithFilter + 99
54  AppKit                              0x9837844e _DPSNextEvent + 1053
55  AppKit                              0x983779c7 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1057
56  AppKit                              0x9837759e -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 121
57  AppKit                              0x9836acb3 -[NSApplication run] + 1063
58  AppKit                              0x983315a9 NSApplicationMain + 1630
59  libdyld.dylib                       0x954466ad start + 1


Smalltalk stack dump:
0xbff3b910 M ProcessorScheduler class>idleProcess 0x5058868: a(n) ProcessorScheduler class
0xbff3b930 I [] in ProcessorScheduler class>startUp 0x5058868: a(n) ProcessorScheduler class
0xbff3b950 I [] in BlockClosure>newProcess 0x81e08c0: a(n) BlockClosure

Most recent primitives
<
>=
+
<
primSignal:atUTCMicroseconds:
wait
wait
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
primUTCMicrosecondsClock
>=
signal
>=
signal
+
primSignal:atUTCMicroseconds:
wait
millisecondClockValue
@
actualScreenSize
millisecondClockValue
**StackOverflow**
**StackOverflow**
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
@
truncated
**StackOverflow**
**StackOverflow**
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
millisecondClockValue
millisecondClockValue
signal
primUTCMicrosecondsClock
+
>=
+
<
primSignal:atUTCMicroseconds:
wait
millisecondClockValue
@
actualScreenSize
millisecondClockValue
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
@
truncated
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
millisecondClockValue
yield
wait
millisecondClockValue
signal
primUTCMicrosecondsClock
+
<
>=
+
<
primSignal:atUTCMicroseconds:
wait
wait
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
primUTCMicrosecondsClock
>=
signal
>=
signal
+
primSignal:atUTCMicroseconds:
wait
millisecondClockValue
@
actualScreenSize
millisecondClockValue
**StackOverflow**
**StackOverflow**
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
@
truncated
**StackOverflow**
**StackOverflow**
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
millisecondClockValue
millisecondClockValue
signal
primUTCMicrosecondsClock
+
>=
+
<
primSignal:atUTCMicroseconds:
wait
millisecondClockValue
@
actualScreenSize
millisecondClockValue
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
@
truncated
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
millisecondClockValue
yield
wait
millisecondClockValue
signal
primUTCMicrosecondsClock
+
<
>=
+
<
primSignal:atUTCMicroseconds:
wait
wait
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
primUTCMicrosecondsClock
>=
signal
>=
signal
+
primSignal:atUTCMicroseconds:
wait
millisecondClockValue
@
actualScreenSize
millisecondClockValue
**StackOverflow**
**StackOverflow**
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
@
truncated
**StackOverflow**
**StackOverflow**
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
millisecondClockValue
millisecondClockValue
signal
primUTCMicrosecondsClock
+
>=
+
<
primSignal:atUTCMicroseconds:
wait
millisecondClockValue
@
actualScreenSize
millisecondClockValue
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
@
truncated
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
millisecondClockValue
yield
wait
millisecondClockValue
signal
primUTCMicrosecondsClock
+
<
>=
+
<
primSignal:atUTCMicroseconds:
wait
wait
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:

stack page bytes 4096 available headroom 2788 minimum unused headroom 2296


More information about the Vm-dev mailing list