[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] GC crash on (corrupted?) image resume (#391)

Andrei ChiČ™ notifications at github.com
Tue Apr 30 11:51:43 UTC 2019


I think I got today a similar error on MacOS 10.14.3, with Pharo 7 and latest stable vm. The crash happens when opening a saved  image.

```
VM: 201903251926 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
Date: Mon Mar 25 12:26:43 2019 CommitHash: 4e1be2c
Plugins: 201903251926 https://github.com/OpenSmalltalk/opensmalltalk-vm.git

C stack backtrace & registers:
	rax 0x00adc08500000c01 rbx 0x0000000119bbbff8 rcx 0x0080000000000000 rdx 0x0000000000001170
	rdi 0x0000000119bbbff0 rsi 0x0000000119bbbff0 rbp 0x00007ffee9199000 rsp 0x00007ffee9198fc0
	r8  0x00007ffee91991d1 r9  0x00007ffee91cb1d8 r10 0x000000010de65248 r11 0x00007ffee919b1a0
	r12 0x00ffffffffffffff r13 0x72656469678d6588 r14 0x0000000119bbbff0 r15 0x0000000000000002
	rip 0x0000000106a5b74a
0   Pharo                               0x0000000106a5b74a markAndTrace + 843
1   Pharo                               0x0000000106abf531 reportStackState + 952
2   Pharo                               0x0000000106abf88b sigsegv + 195
3   libsystem_platform.dylib            0x00007fff7069fb3d _sigtramp + 29
4   ???                                 0x0000000000000000 0x0 + 0
5   Pharo                               0x0000000106a582d2 markObjects + 463
6   Pharo                               0x0000000106a57aaa fullGC + 72
7   Pharo                               0x0000000106a6e324 primitiveFullGC + 38
8   Pharo                               0x0000000106a37c8d interpret + 17947
9   Pharo                               0x0000000106a4151f enterSmalltalkExecutiveImplementation + 149
10  Pharo                               0x0000000106a338e6 interpret + 628
11  Pharo                               0x0000000106ac0cb9 -[sqSqueakMainApplication runSqueak] + 393
12  Foundation                          0x00007fff456d3d63 __NSFirePerformWithOrder + 381
13  CoreFoundation                      0x00007fff432c08ed __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
14  CoreFoundation                      0x00007fff432c0822 __CFRunLoopDoObservers + 452
15  CoreFoundation                      0x00007fff43262345 __CFRunLoopRun + 1166
16  CoreFoundation                      0x00007fff43261c64 CFRunLoopRunSpecific + 463
17  HIToolbox                           0x00007fff424f8ab5 RunCurrentEventLoopInMode + 293
18  HIToolbox                           0x00007fff424f86f4 ReceiveNextEventCommon + 371
19  HIToolbox                           0x00007fff424f8568 _BlockUntilNextEventMatchingListInModeWithFilter + 64
20  AppKit                              0x00007fff407b3363 _DPSNextEvent + 997
21  AppKit                              0x00007fff407b2102 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362
22  AppKit                              0x00007fff407ac165 -[NSApplication run] + 699
23  AppKit                              0x00007fff4079b8a3 NSApplicationMain + 780
24  libdyld.dylib                       0x00007fff704b4ed9 start + 1
```

```
Smalltalk stack dump:
    0x7ffee919dc68 I SmalltalkImage>garbageCollect 0x10e3259a8: a(n) SmalltalkImage
    0x7ffee919dcb0 I ByteArray class(Behavior)>handleFailingBasicNew: 0x10e316d78: a(n) ByteArray class
    0x7ffee919dcf0 M ByteArray class(Behavior)>basicNew: 0x10e316d78: a(n) ByteArray class
    0x7ffee919dd28 M ByteArray class(Behavior)>new: 0x10e316d78: a(n) ByteArray class
    0x7ffee919dd60 M ByteArray class(SequenceableCollection class)>ofSize: 0x10e316d78: a(n) ByteArray class
    0x7ffee919dda8 M ByteArray(SequenceableCollection)>grownBy: 0x11be91738: a(n) ByteArray
    0x7ffee919ddf0 M WriteStream>growTo: 0x10df1bbe8: a(n) WriteStream
    0x7ffee919de30 M WriteStream>nextPutAll: 0x10df1bbe8: a(n) WriteStream
    0x7ffee919de68 M WriteStream(Stream)>next:putAll:startingAt: 0x10df1bbe8: a(n) WriteStream
    0x7ffee919dec0 M WriteStream>next:putAll:startingAt: 0x10df1bbe8: a(n) WriteStream
    0x7ffee919df08 M [] in ZnBufferedReadStream>upToEnd 0x10df0b958: a(n) ZnBufferedReadStream
    0x7ffee919df48 M ByteArray class(SequenceableCollection class)>new:streamContents: 0x10e316d78: a(n) ByteArray class
    0x7ffee919df88 M ByteArray class(SequenceableCollection class)>streamContents: 0x10e316d78: a(n) ByteArray class
    0x7ffee919dfd0 I ZnBufferedReadStream>upToEnd 0x10df0b958: a(n) ZnBufferedReadStream
    0x7ffee919e010 I ZnBufferedReadStream>contents 0x10df0b958: a(n) ZnBufferedReadStream
    0x7ffee919e040 M [] in LucidaGrandeRegular class>fontContents 0x10eaeeb08: a(n) LucidaGrandeRegular class
    0x7ffee919e088 M [] in FileReference(AbstractFileReference)>binaryReadStreamDo: 0x10df0aa90: a(n) FileReference
    0x7ffee919e0c8 M BlockClosure>ensure: 0x10df1ba48: a(n) BlockClosure
    0x7ffee919e118 I FileReference(AbstractFileReference)>binaryReadStreamDo: 0x10df0aa90: a(n) FileReference
    0x7ffee919e160 I LucidaGrandeRegular class>fontContents 0x10eaeeb08: a(n) LucidaGrandeRegular class
    0x7ffee919e1a8 I LucidaGrandeRegular class(EmbeddedFreeTypeFontFontDescription class)>installFontsIn: 0x10eaeeb08: a(n) LucidaGrandeRegular class
    0x7ffee919acc8 M [] in EmbeddedFreeTypeFontFontDescription class>installAllFontsIn: 0x10eae39f8: a(n) EmbeddedFreeTypeFontFontDescription class
    0x7ffee919ad10 M OrderedCollection>do: 0x10df01e60: a(n) OrderedCollection
    0x7ffee919ad58 I EmbeddedFreeTypeFontFontDescription class>installAllFontsIn: 0x10eae39f8: a(n) EmbeddedFreeTypeFontFontDescription class
    0x7ffee919ada0 I EmbeddedFreeTypeFontInstaller>installAllFontsIn: 0x10f00a4b0: a(n) EmbeddedFreeTypeFontInstaller
    0x7ffee919add8 M [] in FreeTypeFontProvider>updateEmbeddedFreeTypeFonts 0x10f00a350: a(n) FreeTypeFontProvider
    0x7ffee919ae20 M OrderedCollection>do: 0x10f04a1a8: a(n) OrderedCollection
    0x7ffee919ae68 I FreeTypeFontProvider>updateEmbeddedFreeTypeFonts 0x10f00a350: a(n) FreeTypeFontProvider
    0x7ffee919aea8 I FreeTypeSettings class>updateFreeType 0x10eb54ac8: a(n) FreeTypeSettings class
    0x7ffee919aee8 I FreeTypeSettings class>startUp: 0x10eb54ac8: a(n) FreeTypeSettings class
    0x7ffee919af20 M ClassSessionHandler>startup: 0x10f0159f0: a(n) ClassSessionHandler
    0x7ffee919af60 M [] in WorkingSession>runStartup: 0x10dc79000: a(n) WorkingSession
    0x7ffee919afa8 M [] in WorkingSession>runList:do: 0x10dc79000: a(n) WorkingSession
    0x7ffee919afd8 M BlockClosure>on:do: 0x10df01c38: a(n) BlockClosure
    0x7ffee919b020 M [] in WorkingSession>runList:do: 0x10dc79000: a(n) WorkingSession
    0x7ffee919b068 M Array(SequenceableCollection)>do: 0x10dc7e970: a(n) Array
    0x7ffee919b0b0 I WorkingSession>runList:do: 0x10dc79000: a(n) WorkingSession
    0x7ffee919b100 I WorkingSession>runStartup: 0x10dc79000: a(n) WorkingSession
    0x7ffee919b148 I WorkingSession>start: 0x10dc79000: a(n) WorkingSession
    0x7ffee919b1a0 I SessionManager>launchSnapshot:andQuit: 0x10e38d000: a(n) SessionManager
       0x11b1bb1d8 s [] in SessionManager>snapshot:andQuit:
       0x11b1c5878 s [] in BlockClosure>newProcess
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/391#issuecomment-487922282
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20190430/8f199638/attachment.html>


More information about the Vm-dev mailing list