[erlang-bugs] Floating point exception (core dumped) in beam

Mikael Pettersson mikpe@REDACTED
Sun Dec 9 22:42:43 CET 2007


On Sun, 9 Dec 2007 12:39:37 -0800 (PST), Maximillian Dornseif wrote:
> #0  0x281a731b in pthread_testcancel () from /usr/lib/libpthread.so.1
> 
> (gdb) where              
> #0  0x281a731b in pthread_testcancel () from /usr/lib/libpthread.so.1
> #1  0x2819f902 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1
> #2  0x00000000 in ?? ()
> 
> (gdb) thread apply all bt     
> Thread 4 (LWP 101555):
> #0  0x281a72fb in pthread_testcancel () from /usr/lib/libpthread.so.1
> #1  0x2819f902 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1
> #2  0x00000000 in ?? ()
> 
> Thread 3 (Thread 3 (runnable)):
> #0  0x0812320f in ethr_sigwait ()
> #1  0x08124398 in erts_printf_double ()
> #2  0x0809f423 in null_func ()
> #3  0x0809f3a0 in null_func ()
> #4  0x0809f2a4 in null_func ()
> #5  0x0809f3a0 in null_func ()
> #6  0x0809f7ed in erts_printf_term ()
> #7  0x08123ffb in erts_printf_format ()
> #8  0x08124697 in erts_printf ()
> #9  0x080973d4 in display_1 ()
> #10 0x080dc618 in process_main ()
> #11 0x0807aa9d in erl_start ()
> #12 0x08069047 in main ()
> 
> Thread 2 (Thread 2 (LWP 101265)):
> #0  0x281a72fb in pthread_testcancel () from /usr/lib/libpthread.so.1
> #1  0x2819f902 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1
> #2  0x00000000 in ?? ()
> 
> Thread 1 (Thread 1 (LWP 101210)):
> #0  0x281a72fb in pthread_testcancel () from /usr/lib/libpthread.so.1
> #1  0x2819f7fb in pthread_mutexattr_init () from /usr/lib/libpthread.so.1
> #2  0x2819f1ca in pthread_mutexattr_init () from /usr/lib/libpthread.so.1
> #3  0x2819f169 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1
> #4  0x281a4bc9 in _pthread_cond_wait () from /usr/lib/libpthread.so.1
> #5  0x281a4dee in pthread_cond_wait () from /usr/lib/libpthread.so.1
> #6  0x081226a1 in ethr_cond_wait ()
> #7  0x080f9e9a in erts_check_io_debug ()
> #8  0x08122052 in ethr_install_exit_handler ()
> #9  0x2819f902 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1
> #10 0x00000000 in ?? ()
> #0  0x281a72fb in pthread_testcancel () from /usr/lib/libpthread.so.1
> 
> (gdb) info all-registers
> eax            0x17e 382
> ecx            0x7 7
> edx            0x0 0
> ebx            0x281aa4bc 672834748
> esp            0x88dff90 0x88dff90
> ebp            0x88dffbc 0x88dffbc
> esi            0x81a8000 135954432
> edi            0x8 8
> eip            0x281a731b 0x281a731b
> eflags         0x206 518

The crash appears to happen at EIP 0x281a731b in pthread_testcancel().
Can you disassemble pthread_testcancel() up to and including the instruction
at 0x281a731b?



More information about the erlang-bugs mailing list