[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Reproduceable Segmentation fault while saving images (#444)
notifications at github.com
Wed Nov 27 10:00:21 UTC 2019
Can you try running this script from a minimal image:
| aJson anArray |
aJson := ZnEasy get: 'https://data.nasa.gov/resource/y77d-th95.json' asZnUrl.
Array streamContents: [ :aStream |
1 to: 400 do: [ :i |
<< 'ExternalAddress: ';
print: ExternalAddress instanceCount; lf;
aStream nextPutAll: (STON fromString: aJson contents).
Smalltalk saveImageInFileNamed: 'Save.', i asString, '.image'.
<< 'Loop: ';
lf; flush ] ].
I'm using a minimal image from 18 Nov 2019 and it normally crashes on the 90th iteration. On my machine it takes about 50 seconds to crash. The good bit though is the addresses are the same on each run, so breakpoints can be easily set when working backwards.
pharo -headless Pharo.image gccrash.st
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev