[Vm-dev] Crash with the new compactor on 64-bit linux

Levente Uzonyi leves at caesar.elte.hu
Mon Feb 27 15:52:29 UTC 2017

Hi All,

I've been seeing random crashes with the VM having the new compactor. It 
takes anywhere between 5 mintues to a few hours for the crash to happen.
The crash dumps didn't seem to contain relevant information and sometimes 
had no C call stack at all.
So I decided to run the VM with gdb to catch the bug, and got the 

Program received signal SIGSEGV, Segmentation fault.
lookupOrdinaryNoMNUEtcInClass (class=0) at 
68119	/home/travis/build/OpenSmalltalk/opensmalltalk-vm/spur64src/vm/gcc3x-cointerp.c: No such file or directory.
(gdb) bt
#0  lookupOrdinaryNoMNUEtcInClass (class=0) at /home/travis/build/OpenSmalltalk/opensmalltalk-vm/spur64src/vm/gcc3x-cointerp.c:68119
#1  0x000000000043fd97 in lookupOrdinaryreceiver (selector=21887312, rcvr=<optimized out>) at /home/travis/build/OpenSmalltalk/opensmalltalk-vm/spur64src/vm/gcc3x-cointerp.c:19195
#2  0x000000000048f128 in ceSICMiss (receiver=14637768) at /home/travis/build/OpenSmalltalk/opensmalltalk-vm/spur64src/vm/cogitX64.c:3232
#3  0x0000000000900461 in ?? ()
#4  0x00007ffffff98c51 in ?? ()
#5  0x000000000045af68 in interpret () at /home/travis/build/OpenSmalltalk/opensmalltalk-vm/spur64src/vm/gcc3x-cointerp.c:2650
#6  0x0000000000901010 in ?? ()
#7  0x0000000000df5ac8 in ?? ()
#8  0x0000000000df5780 in ?? ()
#9  0x0000000000df6da8 in ?? ()
#10 0x0000000000df6fe8 in ?? ()
#11 0x0000000000000000 in ?? ()
(gdb) info registers
rax            0x0	0
rbx            0x2e78e0	3045600
rcx            0x0	0
rdx            0x12e78e0	19822816
rsi            0x2e78e0	3045600
rdi            0x0	0
rbp            0x14df950	0x14df950
rsp            0x7ffffff98b60	0x7ffffff98b60
r8             0xffffffffffffffff	-1
r9             0x2	2
r10            0x7ffffffaac00	140737488006144
r11            0xa087df	10520543
r12            0x14df950	21887312
r13            0xa087ef	10520559
r14            0x15903f0	22610928
r15            0x12e78e0	19822816
rip            0x43f9b6	0x43f9b6 <lookupOrdinaryNoMNUEtcInClass+38>
eflags         0x10283	[ CF SF IF RF ]
cs             0x33	51
ss             0x2b	43
ds             0x0	0
es             0x0	0
fs             0x0	0
gs             0x0	0

I obviously didn't have any source files at those paths, but the line 
numbers may still be of help.
The VM was cog_linux64x64_squeak.cog.spur_201702211732 from Travis with 
the plugins copied over from some previous version, because, as I 
mentioned it in another mail, newer builds come with no plugins at all.


More information about the Vm-dev mailing list