[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squeak-vm-dev
Subject:    [Vm-dev] vm crash with latest 64bit Pharo vm on mac
From:       Andrei Chis <andrei () inf ! unibe ! ch>
Date:       2017-03-25 21:04:10
Message-ID: CACcefr3nK-qGTP_7OnTQSqqqgEPCUY55Pz4Sfb2rG6SCS5NQ-Q () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (text/plain)]

 
[Attachment #3 (multipart/alternative)]


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

[Attachment #6 (text/html)]

<div dir="ltr"><span style="font-size:12.8px">Hi,</span><div \
style="font-size:12.8px"><br></div><div style="font-size:12.8px">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.  \
</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Not sure \
if it&#39;s related to the compactor bug but here is the report I get when the crash \
happens, in case it provides any hints.</div><div \
style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>Thread 0 \
Crashed:: Dispatch queue: com.apple.main-thread</div><div>0    libsystem_kernel.dylib \
<span class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x00007fff90785286 __pthread_kill + \
10</div><div>1    libsystem_c.dylib                    <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x00007fff858329ab abort + 129</div><div>2    \
org.pharo.Pharo                       <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x000000010c50b39d error + 126</div><div>3    \
org.pharo.Pharo                       <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x000000010c49256e remember + 297</div><div>4    \
org.pharo.Pharo                       <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x000000010c4ba239 copyToOldSpacebytesformat + \
262</div><div>5    org.pharo.Pharo                       <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x000000010c4b1826 copyAndForward + \
208</div><div>6    org.pharo.Pharo                       <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x000000010c4bfee2 scavengeReferentsOf + \
370</div><div>7    org.pharo.Pharo                       <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x000000010c4a9991 doScavenge + 324</div><div>8  \
org.pharo.Pharo                       <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x000000010c4b144f scavengingGCTenuringIf + \
330</div><div>9    org.pharo.Pharo                       <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x000000010c495246 \
checkForEventsMayContextSwitch + 127</div><div>10   org.pharo.Pharo                   \
<span class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x000000010c49964a ceStackOverflow + \
110</div><div>11   ???                                         <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x00000001192f841b 0 + 4717511707</div><div>12   \
org.pharo.Pharo                       <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x000000010c481dec interpret + 674</div><div>13  \
org.pharo.Pharo                       <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x000000010c50ccd9 -[sqSqueakMainApplication \
runSqueak] + 394</div><div>14   com.apple.Foundation               <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x00007fff8b07f641 __NSFirePerformWithOrder + \
326</div><div>15   com.apple.CoreFoundation         <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x00007fff83c61127 \
__CFRUNLOOP_IS_CALLING_OUT_TO_<wbr>AN_OBSERVER_CALLBACK_FUNCTION_<wbr>_ + \
23</div><div>16   com.apple.CoreFoundation         <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x00007fff83c61080 __CFRunLoopDoObservers + \
368</div><div>17   com.apple.CoreFoundation         <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x00007fff83c53188 __CFRunLoopRun + \
872</div><div>18   com.apple.CoreFoundation         <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x00007fff83c52bd8 CFRunLoopRunSpecific + \
296</div><div>19   com.apple.HIToolbox                 <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x00007fff853cc56f RunCurrentEventLoopInMode + \
235</div><div>20   com.apple.HIToolbox                 <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x00007fff853cc1ee ReceiveNextEventCommon + \
179</div><div>21   com.apple.HIToolbox                 <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x00007fff853cc12b \
_<wbr>BlockUntilNextEventMatchingLis<wbr>tInModeWithFilter + 71</div><div>22   \
com.apple.AppKit                     <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x00007fff8993b8ab _DPSNextEvent + \
978</div><div>23   com.apple.AppKit                     <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x00007fff8993ae58 -[NSApplication \
nextEventMatchingMask:<wbr>untilDate:inMode:dequeue:] + 346</div><div>24   \
com.apple.AppKit                     <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x00007fff89930af3 -[NSApplication run] + \
594</div><div>25   com.apple.AppKit                     <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x00007fff898ad244 NSApplicationMain + \
1832</div><div>26   libdyld.dylib                          <span \
class="gmail-m_-541076713615263790gmail-Apple-tab-span" \
style="white-space:pre-wrap">	</span>0x00007fff8ae095c9 start + 1</div></div><div \
style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>CoInterpreter * \
VMMaker.oscog-cb.2179 uuid: 8a024d75-b1a4-4406-b88a-<wbr>72c7a48692ad Mar 24 \
2017</div><div>StackToRegisterMappingCogit * VMMaker.oscog-cb.2179 uuid: \
8a024d75-b1a4-4406-b88a-<wbr>72c7a48692ad Mar 24 2017</div><div>VM: 201703241022  <a \
href="https://github.com/pharo-project/pharo-vm.git" \
target="_blank">https://github.com/pharo-<wbr>project/pharo-vm.git</a>  $ Date: Fri \
Mar 24 11:22:02 2017 +0100 $ Plugins: 201703241022  <a \
href="https://github.com/pharo-project/pharo-vm.git" \
target="_blank">https://github.com/pharo-<wbr>project/pharo-vm.git</a>  \
$</div><div><br></div><div>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)</div><div>VMMaker versionString VM: \
201703241022  <a href="https://github.com/pharo-project/pharo-vm.git" \
target="_blank">https://github.com/pharo-<wbr>project/pharo-vm.git</a>  $ Date: Fri \
Mar 24 11:22:02 2017 +0100 $ Plugins: 201703241022  <a \
href="https://github.com/pharo-project/pharo-vm.git" \
target="_blank">https://github.com/pharo-<wbr>project/pharo-vm.git</a>  \
$</div><div>CoInterpreter * VMMaker.oscog-cb.2179 uuid: \
8a024d75-b1a4-4406-b88a-<wbr>72c7a48692ad Mar 24 \
2017</div><div>StackToRegisterMappingCogit * VMMaker.oscog-cb.2179 uuid: \
8a024d75-b1a4-4406-b88a-<wbr>72c7a48692ad Mar 24 2017</div></div><div \
style="font-size:12.8px"><br></div><div style="font-size:12.8px">Cheers,</div><div \
style="font-size:12.8px">Andrei</div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic