[squeak-dev] OSProcess tests crash the VM

Tim Johnson digit at sonic.net
Tue May 31 15:07:00 UTC 2016


Hi Eliot,

No dice.  After I first experienced this crash in Cog, I found Cog would crash immediately upon launch.  I tried again with each and every 2016 build.  (I have deleted the Cog prefs .plist from my Library/Preferences and I rebooted the computer to no avail.) Thus, v3397 was the only Cog version which would still launch.  This is still the case, days later.

I left this out of my bug report as I wasn't sure if it was just my computer (OS X 10.6.8) and didn't have the time/patience to retry on a newer OS X or a different user account or whatever.  I do wonder if this crash is replicable (install OSProcess, run tests, find Cog no longer launches) in a different environment, but I find it unlikely anyone else would experience the same, so I didn't report it.

The Cog crash log:

Process:         launchd [4272]
Path:            /Applications/Squeak/Cog 3732.app/Contents/MacOS/Squeak
Identifier:      org.squeak.Squeak$(VM_MONIKER)
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  launchd [339]

Date/Time:       2016-05-31 08:00:57.144 -0700
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Interval Since Last Report:          1576598 sec
Crashes Since Last Report:           26
Per-App Crashes Since Last Report:   19
Anonymous UUID:                      E643DB34-DCF4-46E5-B8DF-93CDE79B01CE

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000008fe01030
Crashed Thread:  Unknown

Backtrace not available

Unknown thread crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x00000000  ecx: 0x00000000  edx: 0x00000000
  edi: 0x00000000  esi: 0x00000000  ebp: 0x00000000  esp: 0x00000000
   ss: 0x0000001f  efl: 0x00010202  eip: 0x8fe01030   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000000
  cr2: 0x8fe01030

Binary images description not available


Thanks,
Tim

On May 28, 2016, at 11:00 AM, Eliot Miranda wrote:

> Hi Tim,
> 
>    3397 is really old.  Please download more up2date VMs from mirandabanda.org, i.e. http://www.mirandabanda.org/files/Cog/VM/VM.r3732
> 
> _,,,^..^,,,_ (phone)
> 
>> On May 28, 2016, at 8:59 AM, Tim Johnson <digit at sonic.net> wrote:
>> 
>> Hi all,
>> 
>> I installed OSProcess into a 4.6 image via SqueakMap this morning and ran its tests.  I am running OS X 10.6.8.  Early into the list of tests to run, the VM crashes.  What follows are the crash logs from Cocoa VM 5.7.4.1 (http://www.squeakvm.org/mac/ contains some broken links and may be quite out of date, FWIW), and Cog v3397.
>> 
>> Here is the crash log from 5.7.4.1:
>> 
>> Process:         Squeak [803]
>> Path:            /Applications/Squeak/Squeak 5.7.4.1.app/Contents/MacOS/Squeak
>> Identifier:      Squeak
>> Version:         ??? (???)
>> Code Type:       X86 (Native)
>> Parent Process:  Squeak [790]
>> 
>> Date/Time:       2016-05-28 08:41:56.560 -0700
>> OS Version:      Mac OS X 10.6.8 (10K549)
>> Report Version:  6
>> 
>> Exception Type:  EXC_BAD_ACCESS (SIGABRT)
>> Exception Codes: KERN_INVALID_ADDRESS at 0x000000006c1f6f3b
>> Crashed Thread:  0  Dispatch queue: com.apple.main-thread
>> 
>> Application Specific Information:
>> abort() called
>> *** multi-threaded process forked ***
>> 
>> Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
>> 0   libSystem.B.dylib                 0x94580c5a __kill + 10
>> 1   libSystem.B.dylib                 0x94580c4c kill$UNIX2003 + 32
>> 2   libSystem.B.dylib                 0x946135a5 raise + 26
>> 3   libSystem.B.dylib                 0x946296e4 abort + 93
>> 4   org.squeak.Squeak                 0x000a3ccc sigsegv + 44
>> 5   ???                               0xffffffff 0 + 4294967295
>> 
>> Thread 0 crashed with X86 Thread State (32-bit):
>> eax: 0x00000000  ebx: 0x94629693  ecx: 0xbfffe23c  edx: 0x94580c5a
>> edi: 0x1ff121a0  esi: 0xbfffe670  ebp: 0xbfffe258  esp: 0xbfffe23c
>>  ss: 0x0000001f  efl: 0x00000282  eip: 0x94580c5a   cs: 0x00000007
>>  ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
>> cr2: 0x3f23c940
>> 
>> 
>> +++++
>> 
>> Cog VM v3397:
>> 
>> +++++
>> 
>> Process:         Squeak [685]
>> Path:            /Applications/Squeak/Cog 3397.app/Contents/MacOS/Squeak
>> Identifier:      com.squeak.Cog
>> Version:         Squeak Cog 4.0.3397 (4.0.3397)
>> Code Type:       X86 (Native)
>> Parent Process:  launchd [339]
>> 
>> Date/Time:       2016-05-28 08:30:21.513 -0700
>> OS Version:      Mac OS X 10.6.8 (10K549)
>> Report Version:  6
>> 
>> Anonymous UUID:                      E643DB34-DCF4-46E5-B8DF-93CDE79B01CE
>> 
>> Exception Type:  EXC_BAD_ACCESS (SIGABRT)
>> Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000104
>> Crashed Thread:  0  Dispatch queue: com.apple.main-thread
>> 
>> Application Specific Information:
>> abort() called
>> 
>> Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
>> 0   libSystem.B.dylib                 0x94580c5a __kill + 10
>> 1   libSystem.B.dylib                 0x94580c4c kill$UNIX2003 + 32
>> 2   libSystem.B.dylib                 0x946135a5 raise + 26
>> 3   libSystem.B.dylib                 0x946296e4 abort + 93
>> 4   com.squeak.Cog                    0x00071564 sigsegv + 404
>> 5   libSystem.B.dylib                 0x9458605b _sigtramp + 43
>> 6   ???                               0xffffffff 0 + 4294967295
>> 7   com.squeak.Cog                    0x000c97a3 scanForCleanBlocks + 83
>> 8   com.squeak.Cog                    0x000cbd03 compileCogMethod + 403
>> 9   com.squeak.Cog                    0x000cbe37 cogselector + 103
>> 10  com.squeak.Cog                    0x000f2f72 makeBaseFrameFor + 546
>> 11  com.squeak.Cog                    0x000f427d transferTofrom + 413
>> 12  com.squeak.Cog                    0x000f4706 synchronousSignal + 262
>> 13  com.squeak.Cog                    0x000f7fb1 checkForEventsMayContextSwitch + 625
>> 14  com.squeak.Cog                    0x000f82b0 ceCheckForInterrupts + 16
>> 15  ???                               0x181106e3 0 + 403769059
>> 16  com.squeak.Cog                    0x00104976 interpret + 3174
>> 17  com.squeak.Cog                    0x0005f7a0 EventLoopEventHandler + 144
>> 18  com.apple.HIToolbox               0x910f9c2f DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1567
>> 19  com.apple.HIToolbox               0x910f8ef6 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 411
>> 20  com.apple.HIToolbox               0x910f8d55 SendEventToEventTargetWithOptions + 58
>> 21  com.apple.HIToolbox               0x9112da24 ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 3006
>> 22  com.apple.HIToolbox               0x910fa080 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 2672
>> 23  com.apple.HIToolbox               0x910f8ef6 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 411
>> 24  com.apple.HIToolbox               0x9111b7f3 SendEventToEventTarget + 52
>> 25  com.apple.HIToolbox               0x912a4c17 ToolboxEventDispatcher + 86
>> 26  com.apple.HIToolbox               0x912a4d4f RunApplicationEventLoop + 243
>> 27  com.squeak.Cog                    0x0005efba RunApplicationEventLoopWithSqueak + 218
>> 28  com.squeak.Cog                    0x000711b2 main + 690
>> 29  com.squeak.Cog                    0x00002b56 start + 54
>> 
>> 
>> 
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20160531/08b42fca/attachment-0001.htm


More information about the Squeak-dev mailing list