<div dir="ltr">Hi Levente, Hi All,<div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 27, 2017 at 7:52 AM, Levente Uzonyi <span dir="ltr"><<a href="mailto:leves@caesar.elte.hu" target="_blank">leves@caesar.elte.hu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
Hi All,<br>
<br>
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.<br>
The crash dumps didn't seem to contain relevant information and sometimes had no C call stack at all.<br>
So I decided to run the VM with gdb to catch the bug, and got the following:<br>
<br>
Program received signal SIGSEGV, Segmentation fault.<br>
lookupOrdinaryNoMNUEtcInClass (class=0) at /home/travis/build/OpenSmallta<wbr>lk/opensmalltalk-vm/spur64src/<wbr>vm/gcc3x-cointerp.c:68119<br>
68119   /home/travis/build/OpenSmallt<wbr>alk/opensmalltalk-vm/<wbr>spur64src/vm/gcc3x-cointerp.c: No such file or directory.<br>
(gdb) bt<br>
#0  lookupOrdinaryNoMNUEtcInClass (class=0) at /home/travis/build/OpenSmallta<wbr>lk/opensmalltalk-vm/spur64src/<wbr>vm/gcc3x-cointerp.c:68119<br>
#1  0x000000000043fd97 in lookupOrdinaryreceiver (selector=21887312, rcvr=<optimized out>) at /home/travis/build/OpenSmallta<wbr>lk/opensmalltalk-vm/spur64src/<wbr>vm/gcc3x-cointerp.c:19195<br>
#2  0x000000000048f128 in ceSICMiss (receiver=14637768) at /home/travis/build/OpenSmallta<wbr>lk/opensmalltalk-vm/spur64src/<wbr>vm/cogitX64.c:3232<br>
#3  0x0000000000900461 in ?? ()<br>
#4  0x00007ffffff98c51 in ?? ()<br>
#5  0x000000000045af68 in interpret () at /home/travis/build/OpenSmallta<wbr>lk/opensmalltalk-vm/spur64src/<wbr>vm/gcc3x-cointerp.c:2650<br>
#6  0x0000000000901010 in ?? ()<br>
#7  0x0000000000df5ac8 in ?? ()<br>
#8  0x0000000000df5780 in ?? ()<br>
#9  0x0000000000df6da8 in ?? ()<br>
#10 0x0000000000df6fe8 in ?? ()<br>
#11 0x0000000000000000 in ?? ()<br>
(gdb) info registers<br>
rax            0x0      0<br>
rbx            0x2e78e0 3045600<br>
rcx            0x0      0<br>
rdx            0x12e78e0        19822816<br>
rsi            0x2e78e0 3045600<br>
rdi            0x0      0<br>
rbp            0x14df950        0x14df950<br>
rsp            0x7ffffff98b60   0x7ffffff98b60<br>
r8             0xffffffffffffffff       -1<br>
r9             0x2      2<br>
r10            0x7ffffffaac00   140737488006144<br>
r11            0xa087df 10520543<br>
r12            0x14df950        21887312<br>
r13            0xa087ef 10520559<br>
r14            0x15903f0        22610928<br>
r15            0x12e78e0        19822816<br>
rip            0x43f9b6 0x43f9b6 <lookupOrdinaryNoMNUEtcInClass<wbr>+38><br>
eflags         0x10283  [ CF SF IF RF ]<br>
cs             0x33     51<br>
ss             0x2b     43<br>
ds             0x0      0<br>
es             0x0      0<br>
fs             0x0      0<br>
gs             0x0      0<br>
<br>
I obviously didn't have any source files at those paths, but the line numbers may still be of help.<br>
The VM was cog_linux64x64_squeak.cog.spur<wbr>_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.</blockquote><div><br></div><div>Next time can you include the info in the crash dump or the output of -version?  It's much more informative.  It looks like this:</div><div><br></div><div>spur64cfvm -version</div><div>/Users/eliot/oscogvm/build.macos64x64/squeak.cog.spur/CocoaFast.app/Contents/MacOS/Squeak</div><div>5.0 5.0.201702250108 Mac OS X built on Feb 24 2017 17:17:00 PST Compiler: 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.1.76) [Production Spur 64-bit VM]</div><div>CoInterpreter VMMaker.oscog-eem.2138 uuid: 8b98184c-9061-45e1-b4ce-bd9b8bc8c802 Feb 24 2017</div><div>StackToRegisterMappingCogit VMMaker.oscog-eem.2139 uuid: a905d032-fb67-4132-a5bf-5d59e668f2e5 Feb 24 2017</div><div>VM: 201702250108 eliot@Sisyphus:oscogvm $ Date: Fri Feb 24 17:08:29 2017 -0800 $</div><div>Plugins: 201702250108 eliot@Sisyphus:oscogvm $</div><div><br></div><div>excerpt from <a href="http://crash.mp">crash.mp</a>:</div><div>Segmentation fault Tue Jan 17 10:39:18 2017</div><div><br></div><div><br></div><div>/scratch/bwesterg/vmwork/vm/products/nscogspurlinux/lib/nsvm/5.0-201701142054/nsvm</div><div>Newspeak VM version: 5.0-201701142054  Tue Jan 17 10:31:43 PST 2017 gcc 4.8.3 [Production Spur ITHB VM]</div><div>Built from: CoInterpreter VMMaker.oscogSPP-eem.2091 uuid: 8df2d889-5c88-4a52-b3f4-c94b29b0ef80 Jan 17 2017</div><div>With: StackToRegisterMappingCogit VMMaker.oscog-eem.2082 uuid: f987e1db-f4c0-40ed-86ec-7a478cb89067 Jan 17 2017</div><div>Revision: VM: 201701142054 bwesterg@epoxy:/scratch/bwesterg/vmwork/vm $ Date: Sat Jan 14 12:54:19 2017 -0800 $</div><div>Plugins: 201701142054 bwesterg@epoxy:/scratch/bwesterg/vmwork/vm $</div><div>Build host: Linux epoxy 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 i686 i686 i386 GNU/Linux</div><div>plugin path: ../vm/products/nscogspurlinux/lib/nsvm/5.0-201701142054 [default: /scratch/bwesterg/vmwork/vm/products/nscogspurlinux/lib/nsvm/5.0-201701142054/]</div></div><br>Thanks!<br><div class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>