<div dir="ltr">MBP-de-Nicolas:nsboot nicolas$ lldb /Users/nicolas/Smalltalk/OpenSmalltalk/opensmalltalk-vm/build.macos64x64/squeak.cog.spur/SqueakDebug.app/Contents/MacOS/Squeak <br>(lldb) target create "/Users/nicolas/Smalltalk/OpenSmalltalk/opensmalltalk-vm/build.macos64x64/squeak.cog.spur/SqueakDebug.app/Contents/MacOS/Squeak"<br>Current executable set to '/Users/nicolas/Smalltalk/OpenSmalltalk/opensmalltalk-vm/build.macos64x64/squeak.cog.spur/SqueakDebug.app/Contents/MacOS/Squeak' (x86_64).<br>(lldb) run ../../image/trunk6-64.image<br>Process 76862 launched: '/Users/nicolas/Smalltalk/OpenSmalltalk/opensmalltalk-vm/build.macos64x64/squeak.cog.spur/SqueakDebug.app/Contents/MacOS/Squeak' (x86_64)<br><br>Process 76862 stopped<br>* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x16a)<br>    frame #0: 0x0000000107c02436<br>->  0x107c02436: movq   (%rdi), %r9<br>    0x107c02439: andq   $0x3fffff, %r9            ; imm = 0x3FFFFF <br>    0x107c02440: cmpq   $0x22, %r9<br>    0x107c02444: jne    0x107c0244d<br>Target 0: (Squeak) stopped.<br>(lldb) print $rdi<br>(unsigned long) $0 = 362<br><div>(lldb) call printCallStack()<br>    0x7ffeefbd54c8 M WebUtils class>jsonDecode: 0x109098170: a(n) WebUtils class<br>    0x7ffeefbd5500 M WebClientServerTest>decode: 0x107eb0c38: a(n) WebClientServerTest<br>    0x7ffeefbd5548 M WebClientServerTest>testNumbers 0x107eb0c38: a(n) WebClientServerTest<br>    0x7ffeefbd5578 M WebClientServerTest(TestCase)>performTest 0x107eb0c38: a(n) WebClientServerTest<br>    0x7ffeefbd55a8 M [] in WebClientServerTest(TestCase)>runCase 0x107eb0c38: a(n) WebClientServerTest<br>    0x7ffeefbd55e0 M BlockClosure>on:do: 0x1081f30f8: a(n) BlockClosure<br>    0x7ffeefbd5630 M [] in WebClientServerTest(TestCase)>timeout:after: 0x107eb0c38: a(n) WebClientServerTest<br>    0x7ffeefbd5670 M BlockClosure>ensure: 0x1081f3a08: a(n) BlockClosure<br>    0x7ffeefbd56c0 M WebClientServerTest(TestCase)>timeout:after: 0x107eb0c38: a(n) WebClientServerTest<br>    0x7ffeefbd5700 M [] in WebClientServerTest(TestCase)>runCase 0x107eb0c38: a(n) WebClientServerTest<br>    0x7ffeefbd1f60 M BlockClosure>ensure: 0x1081efb68: a(n) BlockClosure<br>    0x7ffeefbd1f98 M WebClientServerTest(TestCase)>runCase 0x107eb0c38: a(n) WebClientServerTest<br>    0x7ffeefbd1fd0 M [] in TestResult>runCase: 0x107e66628: a(n) TestResult<br>    0x7ffeefbd2008 M BlockClosure>on:do: 0x1081efa58: a(n) BlockClosure<br>    0x7ffeefbd2058 M [] in TestResult>runCase: 0x107e66628: a(n) TestResult<br>    0x7ffeefbd2090 M BlockClosure>on:do: 0x1081ef940: a(n) BlockClosure<br>    0x7ffeefbd20d8 M TestResult>runCase: 0x107e66628: a(n) TestResult<br>    0x7ffeefbd2110 M WebClientServerTest(TestCase)>run: 0x107eb0c38: a(n) WebClientServerTest<br>    0x7ffeefbd2148 M TestRunner>runTest: 0x10c7e9c98: a(n) TestRunner<br>    0x7ffeefbd2180 M [] in TestRunner>runSuite: 0x10c7e9c98: a(n) TestRunner<br>    0x7ffeefbd21f0 M [] in OrderedCollection(Collection)>do:displayingProgress:every: 0x107e689b8: a(n) OrderedCollection<br>    0x7ffeefbd2230 M OrderedCollection>do: 0x107e689b8: a(n) OrderedCollection<br>    0x7ffeefbd2290 M [] in OrderedCollection(Collection)>do:displayingProgress:every: 0x107e689b8: a(n) OrderedCollection<br>    0x7ffeefbd22e0 M [] in MorphicUIManager>displayProgress:at:from:to:during: 0x109d48eb8: a(n) MorphicUIManager<br>    0x7ffeefbd2318 M BlockClosure>on:do: 0x107e68bf0: a(n) BlockClosure<br>    0x7ffeefbd2370 M [] in MorphicUIManager>displayProgress:at:from:to:during: 0x109d48eb8: a(n) MorphicUIManager<br>    0x7ffeefbd23b0 M BlockClosure>ensure: 0x107e68dc0: a(n) BlockClosure<br>    0x7ffeefbd2408 I MorphicUIManager>displayProgress:at:from:to:during: 0x109d48eb8: a(n) MorphicUIManager<br>    0x7ffeefbd2470 I ProgressInitiationException>defaultResumeValue 0x107e68ed8: a(n) ProgressInitiationException<br>    0x7ffeefbd24b8 I ProgressInitiationException(Exception)>resume 0x107e68ed8: a(n) ProgressInitiationException<br>    0x7ffeefbd24f8 I ProgressInitiationException>defaultAction 0x107e68ed8: a(n) ProgressInitiationException<br>    0x7ffeefbd2530 M UndefinedObject>handleSignal: 0x1085e78e0: a(n) UndefinedObject<br>    0x7ffeefbd2578 I ProgressInitiationException(Exception)>signal 0x107e68ed8: a(n) ProgressInitiationException<br>    0x7ffeefbd25b8 I ProgressInitiationException>display:at:from:to:during: 0x107e68ed8: a(n) ProgressInitiationException<br>    0x7ffeefbd2620 I ProgressInitiationException class>display:at:from:to:during: 0x108b34888: a(n) ProgressInitiationException class<br>    0x7ffeefbd2688 I ByteString(String)>displayProgressAt:from:to:during: 0x108ed25d0: a(n) ByteString<br>    0x7ffeefbd26e8 I ByteString(String)>displayProgressFrom:to:during: 0x108ed25d0: a(n) ByteString<br>       0x107e69158 s OrderedCollection(Collection)>do:displayingProgress:every:<br>       0x107e736a8 s [] in TestRunner>basicRunSuite:do:<br>       0x107eb01c0 s BlockClosure>ensure:<br>       0x107ebae20 s TestRunner>basicRunSuite:do:<br>       0x107e735f0 s TestRunner>runSuite:<br>       0x107eb00e8 s TestRunner>runAll<br>       0x107ebad38 s PluggableButtonMorphPlus(PluggableButtonMorph)>performAction<br>       0x107ec0030 s PluggableButtonMorphPlus>performAction<br>       0x107ec5028 s [] in PluggableButtonMorphPlus(PluggableButtonMorph)>mouseUp:<br>       0x107ec9e00 s Array(SequenceableCollection)>do:<br>       0x107ecb020 s PluggableButtonMorphPlus(PluggableButtonMorph)>mouseUp:<br>       0x107eccab0 s PluggableButtonMorphPlus(Morph)>handleMouseUp:<br>       0x107ecd4f0 s MouseButtonEvent>sentTo:<br>       0x107ece660 s PluggableButtonMorphPlus(Morph)>handleEvent:<br>       0x107ecee40 s PluggableButtonMorphPlus(Morph)>handleFocusEvent:<br>       0x107ed1838 s MorphicEventDispatcher>doHandlingForFocusEvent:with:<br>       0x107edbe30 s MorphicEventDispatcher>dispatchFocusEvent:with:<br>       0x107edc568 s PluggableButtonMorphPlus(Morph)>processFocusEvent:using:<br>       0x107ededf8 s PluggableButtonMorphPlus(Morph)>processFocusEvent:<br>       0x107edf1f8 s [] in HandMorph>sendFocusEvent:to:clear:<br>       0x107edf458 s BlockClosure>ensure:<br>       0x107edf5f0 s MouseButtonEvent(MorphicEvent)>becomeActiveDuring:<br>       0x107edf6d0 s [] in HandMorph>sendFocusEvent:to:clear:<br>       0x107edf7a0 s BlockClosure>ensure:<br>       0x107edf8b0 s HandMorph>becomeActiveDuring:<br>       0x107edf990 s [] in HandMorph>sendFocusEvent:to:clear:<br>       0x107edfa48 s BlockClosure>ensure:<br>       0x107edfb38 s PasteUpMorph>becomeActiveDuring:<br>       0x107edfc18 s HandMorph>sendFocusEvent:to:clear:<br>       0x107edfcd0 s HandMorph>sendEvent:focus:clear:<br>       0x107edfda8 s HandMorph>sendMouseEvent:<br>       0x107edfe70 s HandMorph>handleEvent:<br>       0x107edff28 s HandMorph>processEvents<br>       0x107edffe0 s [] in WorldState>doOneCycleNowFor:<br>       0x107ee0098 s Array(SequenceableCollection)>do:<br>       0x107ee0188 s WorldState>handsDo:<br>       0x107ee0240 s WorldState>doOneCycleNowFor:<br>       0x107ee02f8 s WorldState>doOneCycleFor:<br>       0x107ee03b0 s PasteUpMorph>doOneCycle<br>       0x10a1bcb48 s [] in MorphicProject>spawnNewProcess<br>       0x10a1bc3e8 s [] in BlockClosure>newProcess<br>(lldb) </div><div><br></div><div>To trigger this, just start an updated trunk64 squeak image and run this: WebClientServerTest suite run.</div><div><br></div><div>You might have to accept connections in macos dialog box at first run.</div><div><br></div><div>I always have $RDI register = 362, same in linux x64...</div><div>
<div><br></div><div>(gdb) print $rdi<br>$1 = 362<br>(gdb) x /4i $pc<br>=> 0x8803c33:       mov    (%rdi),%r9<br>   0x8803c36:    and    $0x3fffff,%r9<br>   0x8803c3d: cmp    $0x22,%r9<br>   0x8803c41:     jne    0x8803c4a</div><div><br></div>

</div><div>Could it be a conflict in register allocation?</div><div><br></div><div>On Win64, I could not get anything useful from gdb (call printCallStack() sigsegv gdb itself...).</div><div><br></div><div>Though, the instructions are quite similar (the register are different due to Win64 ABI)...<br></div><div>(gdb) x /4i $pc<br>=> 0x4f02043:   mov    (%rcx),%r10<br>   0x4f02046:   and    $0x3fffff,%r10<br>   0x4f0204d:   cmp    $0x22,%r10<br>   0x4f02051:   jne    0x4f0205a</div><div>(gdb) print $rcx<br>$1 = 362<br></div><div><br></div><div>This might well be related to recurring Newspeak bootstrap crash on the CI side...<br></div></div>