[Vm-dev] Floating point exception
Levente Uzonyi
leves at caesar.elte.hu
Mon Nov 21 00:25:02 UTC 2016
Hi All,
Recent 64-bit Spur VMs produce this on linux in seemingly random
situations (running the tests, updating, etc).
Here's what gdb says:
Starting program:
/squeak/spur64/products/sqcogspur64linuxht/lib/squeak/5.0-201611191805/squeak
Squeak5.1-16548-64bit.image
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff45b7700 (LWP 24411)]
Program received signal SIGFPE, Arithmetic exception.
primitiveFileRead () at
/home/travis/build/OpenSmalltalk/opensmalltalk-vm/src/plugins/FilePlugin/FilePlugin.c:1023
1023
/home/travis/build/OpenSmalltalk/opensmalltalk-vm/src/plugins/FilePlugin/FilePlugin.c:
No such file or directory.
(gdb) bt
#0 primitiveFileRead () at
/home/travis/build/OpenSmalltalk/opensmalltalk-vm/src/plugins/FilePlugin/FilePlugin.c:1023
#1 0x0000000000901148 in ?? ()
#2 0x00007ffffff98c51 in ?? ()
#3 0x0000000000459518 in interpret () at
/home/travis/build/OpenSmalltalk/opensmalltalk-vm/spur64src/vm/gcc3x-cointerp.c:2611
#4 0x0000000000988eb0 in ?? ()
#5 0x0000000000000001 in ?? ()
#6 0x0000000000000009 in ?? ()
--- skip
#76 0x0000000000000000 in ?? ()
(gdb) info registers
rax 0x0 0
rbx 0xf4a7a8 16033704
rcx 0x0 0
rdx 0x0 0
rsi 0xf4cc10 16043024
rdi 0xf4cc00 16043008
rbp 0x7ffffffb0610 0x7ffffffb0610
rsp 0x7ffffff98c00 0x7ffffff98c00
r8 0x901148 9441608
r9 0xa 10
r10 0x769ee0 7773920
r11 0x2460ed8 38145752
r12 0xf4cc00 16043008
r13 0x0 0
r14 0x0 0
r15 0x0 0
rip 0x4b05a1 0x4b05a1 <primitiveFileRead+289>
eflags 0x10246 [ PF ZF IF RF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
Levente
More information about the Vm-dev
mailing list