Hi Bernardo,<div><br></div><div> what kind of processor do you have? Does it support sse2? (it needs to for Cog & Stack VMs). Is 0x8187ef8 a valid address (e.g. what's the output of x/10w 0x8187ef8)? why are you not getting symbols in your backtrace? Are you stripping the VM by any chance? If so, please don't. Having symbols would really help in debugging this; your stack trace has only the C library entrypoint symbol. The rest is raw addresses.<br>
<br><div class="gmail_quote">On Sat, Aug 6, 2011 at 12:28 PM, Bernardo Ezequiel Contreras <span dir="ltr"><<a href="mailto:vonbecmann@gmail.com">vonbecmann@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>Eliot,<br> im adding the output. i hope this helps<br><br>thanks<br> <br><br>(gdb) exec-file StackVM <br>(gdb) run<br>Starting program: /home/vonbecmann/bin/stack-vm/latest/results/StackVM <br>[Thread debugging using libthread_db enabled]<br>
<br>Program received signal SIGILL, Illegal instruction.<br>0x08092ccb in ?? ()<br>(gdb) info registers<br>eax 0xe7a4d948 -408626872<br>ecx 0xe7a4d948 -408626872<br>edx 0xc663c 812604<br>
ebx 0xc663c 812604<br>esp 0xbfffebd0 0xbfffebd0<br>ebp 0xbfffebe8 0xbfffebe8<br>esi 0x0 0<br>edi 0x0 0<br>eip 0x8092ccb 0x8092ccb<br>
eflags 0x10206 [ PF IF RF ]<br>cs 0x73 115<br>ss 0x7b 123<br>ds 0x7b 123<br>es 0x7b 123<br>fs 0x0 0<br>gs 0x33 51<br>
(gdb) <br><br><br><div class="gmail_quote">On Sat, Aug 6, 2011 at 3:40 PM, Eliot Miranda <span dir="ltr"><<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<br>Bernardo,<div><br></div><div> can you include the output from "info registers" when it crashes please?<br><br><div class="gmail_quote">On Fri, Aug 5, 2011 at 9:32 PM, Bernardo Ezequiel Contreras <span dir="ltr"><<a href="mailto:vonbecmann@gmail.com" target="_blank">vonbecmann@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"> <br>Hi all,<br><br> im trying to compile the stack vm on unix with debug options because i'm getting an illegal instruction, see below<br>
<br>Starting program: /home/vonbecmann/bin/stack-vm/latest/results/StackVM <br>[Thread debugging using libthread_db enabled]<br>
<br>Program received signal SIGILL, Illegal instruction.<br>0x08092ccb in ?? ()<br>(gdb) bt<br>#0 0x08092ccb in ?? ()<br>#1 0x080930ee in ?? ()<br>#2 0x0809314d in ?? ()<br>#3 0x08095b77 in ?? ()<br>#4 0x00189ce7 in __libc_start_main () from /lib/libc.so.6<br>
#5 0x0805cd91 in ?? ()<br>(gdb) x/i $pc<br>=> 0x8092ccb: movq %xmm7,0x8187ef8<br>(gdb) <br><br>But i dont know what to do next. maybe im using the wrong libraries to compile it <br><br>what should i do?? any ideas?<br>
<br>Thanks in advance<br><br><br><br><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>best,<div>Eliot</div><br>
</div>
<br></blockquote></div><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>best,<div>Eliot</div><br>
</div>