vm crash with latest 64bit Pharo vm on mac

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

vm crash with latest 64bit Pharo vm on mac

Andrei Chis-2
 
Hi,

With the latest 64bit Pharo vm running with Pharo64-60451.image on mac I sometimes get a vm crash during long computations that take more than 1gb of memory. I do not have a reproducible use case but it seems to happen more often if I increase the eden size. 

Not sure if it's related to the compactor bug but here is the report I get when the crash happens, in case it provides any hints.

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib         0x00007fff90785286 __pthread_kill + 10
1   libsystem_c.dylib              0x00007fff858329ab abort + 129
2   org.pharo.Pharo                0x000000010c50b39d error + 126
3   org.pharo.Pharo                0x000000010c49256e remember + 297
4   org.pharo.Pharo                0x000000010c4ba239 copyToOldSpacebytesformat + 262
5   org.pharo.Pharo                0x000000010c4b1826 copyAndForward + 208
6   org.pharo.Pharo                0x000000010c4bfee2 scavengeReferentsOf + 370
7   org.pharo.Pharo                0x000000010c4a9991 doScavenge + 324
8   org.pharo.Pharo                0x000000010c4b144f scavengingGCTenuringIf + 330
9   org.pharo.Pharo                0x000000010c495246 checkForEventsMayContextSwitch + 127
10  org.pharo.Pharo                0x000000010c49964a ceStackOverflow + 110
11  ???                            0x00000001192f841b 0 + 4717511707
12  org.pharo.Pharo                0x000000010c481dec interpret + 674
13  org.pharo.Pharo                0x000000010c50ccd9 -[sqSqueakMainApplication runSqueak] + 394
14  com.apple.Foundation           0x00007fff8b07f641 __NSFirePerformWithOrder + 326
15  com.apple.CoreFoundation       0x00007fff83c61127 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
16  com.apple.CoreFoundation       0x00007fff83c61080 __CFRunLoopDoObservers + 368
17  com.apple.CoreFoundation       0x00007fff83c53188 __CFRunLoopRun + 872
18  com.apple.CoreFoundation       0x00007fff83c52bd8 CFRunLoopRunSpecific + 296
19  com.apple.HIToolbox            0x00007fff853cc56f RunCurrentEventLoopInMode + 235
20  com.apple.HIToolbox            0x00007fff853cc1ee ReceiveNextEventCommon + 179
21  com.apple.HIToolbox            0x00007fff853cc12b _BlockUntilNextEventMatchingListInModeWithFilter + 71
22  com.apple.AppKit               0x00007fff8993b8ab _DPSNextEvent + 978
23  com.apple.AppKit               0x00007fff8993ae58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
24  com.apple.AppKit               0x00007fff89930af3 -[NSApplication run] + 594
25  com.apple.AppKit               0x00007fff898ad244 NSApplicationMain + 1832
26  libdyld.dylib                  0x00007fff8ae095c9 start + 1

CoInterpreter * VMMaker.oscog-cb.2179 uuid: 8a024d75-b1a4-4406-b88a-72c7a48692ad Mar 24 2017
StackToRegisterMappingCogit * VMMaker.oscog-cb.2179 uuid: 8a024d75-b1a4-4406-b88a-72c7a48692ad Mar 24 2017
VM: 201703241022 https://github.com/pharo-project/pharo-vm.git $ Date: Fri Mar 24 11:22:02 2017 +0100 $ Plugins: 201703241022 https://github.com/pharo-project/pharo-vm.git $

Mac OS X built on Mar 24 2017 10:42:17 UTC Compiler: 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)
VMMaker versionString VM: 201703241022 https://github.com/pharo-project/pharo-vm.git $ Date: Fri Mar 24 11:22:02 2017 +0100 $ Plugins: 201703241022 https://github.com/pharo-project/pharo-vm.git $
CoInterpreter * VMMaker.oscog-cb.2179 uuid: 8a024d75-b1a4-4406-b88a-72c7a48692ad Mar 24 2017
StackToRegisterMappingCogit * VMMaker.oscog-cb.2179 uuid: 8a024d75-b1a4-4406-b88a-72c7a48692ad Mar 24 2017

Cheers,
Andrei