[erlang-questions] SIGSEGV - hipe_fill_stacktrace (p=0x2aaaace19970, depth=8, trace=0x2aaaafd010f8),

Paul Fisher <>
Sun Dec 21 02:29:29 CET 2008


Does this ring any bells, or does anyone have any hints about tracking 
this down?

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1125775712 (LWP 32326)]
hipe_fill_stacktrace (p=0x2aaaace19970, depth=8, trace=0x2aaaafd010f8)
     at hipe/hipe_stack.h:74
74    hipe/hipe_stack.h: No such file or directory.
     in hipe/hipe_stack.h
(gdb) where
#0  hipe_fill_stacktrace (p=0x2aaaace19970, depth=8, trace=0x2aaaafd010f8)
     at hipe/hipe_stack.h:74
#1  0x000000000050aaa4 in hipe_handle_exception (c_p=0x2aaaace19970)
     at hipe/hipe_native_bif.c:185
#2  0x000000000050ba67 in .nbif_simple_exception ()
     at hipe/hipe_amd64_glue.S:369
#3  0x00002aaaace19970 in ?? ()
#4  0x00002aaaaab4bd68 in ?? ()
#5  0x00002aaaace19be8 in ?? ()
#6  0x00002aaaaaaf49e8 in ?? ()
#7  0x00002aaaafcffc40 in ?? ()
#8  0x00002aaab000a7b8 in ?? ()
#9  0x00002aaaafcfa988 in ?? ()
#10 0x0000000000509b60 in hipe_mode_switch (p=0x2aaaace19970, cmd=16383,
     reg=0x2aaaaaaf49e8) at hipe/hipe_x86_glue.h:196
#11 0x00000000004dd76b in process_main () at beam/beam_emu.c:4681
#12 0x00000000004813af in sched_thread_func (vesdp=<value optimized out>)
     at beam/erl_process.c:740
#13 0x0000000000549d14 in thr_wrapper (vtwd=<value optimized out>)
     at common/ethread.c:474
#14 0x00002ba934318f1a in start_thread () from /lib/libpthread.so.0
#15 0x00002ba9345fb5d2 in clone () from /lib/libc.so.6
#16 0x0000000000000000 in ?? ()
(gdb) up
#1  0x000000000050aaa4 in hipe_handle_exception (c_p=0x2aaaace19970)
     at hipe/hipe_native_bif.c:185
185    hipe/hipe_native_bif.c: No such file or directory.
     in hipe/hipe_native_bif.c
(gdb) up
#2  0x000000000050ba67 in .nbif_simple_exception ()
     at hipe/hipe_amd64_glue.S:369
369    hipe/hipe_amd64_glue.S: No such file or directory.
     in hipe/hipe_amd64_glue.S
Current language:  auto; currently asm
(gdb) i threads
   10 Thread 1082132832 (LWP 32318)  0x00002ba93431e1bf in 
__read_nocancel ()
    from /lib/libpthread.so.0
   9 Thread 1090525536 (LWP 32319)  0x00002ba93431bb3a in 
pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
   8 Thread 1091352928 (LWP 32320)  0x00002ba93431bb3a in 
pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
   7 Thread 1092180320 (LWP 32321)  0x00002ba93431bb3a in 
pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
* 6 Thread 1092204896 (LWP 32322)  0x00002ba93431f00f in waitpid ()
    from /lib/libpthread.so.0
   5 Thread 1100597600 (LWP 32323)  0x00002ba9345fb9ac in epoll_wait ()
    from /lib/libc.so.6
   4 Thread 1108990304 (LWP 32324)  0x00002ba9345a590d in memset ()
    from /lib/libc.so.6
   3 Thread 1117383008 (LWP 32325)  0x00000000431e1cce in ?? ()
   2 Thread 1125775712 (LWP 32326)  hipe_fill_stacktrace (p=0x2aaaace19970,
     depth=8, trace=0x2aaaafd010f8) at hipe/hipe_stack.h:74
   1 Thread 48005729680768 (LWP 32311)  0x00002ba9345f4a96 in select ()
    from /lib/libc.so.6
Current language:  auto; currently c
(gdb) t 1
[Switching to thread 1 (Thread 48005729680768 (LWP 32311))]#0 
0x00002ba9345f4a96 in select () from /lib/libc.so.6
(gdb) where
#0  0x00002ba9345f4a96 in select () from /lib/libc.so.6
#1  0x00000000004f41a0 in erts_sys_main_thread () at sys/unix/sys.c:2885
#2  0x00000000004433d0 in erl_start (argc=53, argv=<value optimized out>)
     at beam/erl_init.c:1061
#3  0x000000000042c729 in main (argc=0, argv=0x0) at sys/unix/erl_main.c:28
(gdb) t 2
[Switching to thread 2 (Thread 1125775712 (LWP 32326))]#0 
hipe_fill_stacktrace (p=0x2aaaace19970, depth=8, trace=0x2aaaafd010f8) 
at hipe/hipe_stack.h:74
74    hipe/hipe_stack.h: No such file or directory.
     in hipe/hipe_stack.h
(gdb) where
#0  hipe_fill_stacktrace (p=0x2aaaace19970, depth=8, trace=0x2aaaafd010f8)
     at hipe/hipe_stack.h:74
#1  0x000000000050aaa4 in hipe_handle_exception (c_p=0x2aaaace19970)
     at hipe/hipe_native_bif.c:185
#2  0x000000000050ba67 in .nbif_simple_exception ()
     at hipe/hipe_amd64_glue.S:369
#3  0x00002aaaace19970 in ?? ()
#4  0x00002aaaaab4bd68 in ?? ()
#5  0x00002aaaace19be8 in ?? ()
#6  0x00002aaaaaaf49e8 in ?? ()
#7  0x00002aaaafcffc40 in ?? ()
#8  0x00002aaab000a7b8 in ?? ()
#9  0x00002aaaafcfa988 in ?? ()
#10 0x0000000000509b60 in hipe_mode_switch (p=0x2aaaace19970, cmd=16383,
     reg=0x2aaaaaaf49e8) at hipe/hipe_x86_glue.h:196
#11 0x00000000004dd76b in process_main () at beam/beam_emu.c:4681
#12 0x00000000004813af in sched_thread_func (vesdp=<value optimized out>)
     at beam/erl_process.c:740
#13 0x0000000000549d14 in thr_wrapper (vtwd=<value optimized out>)
     at common/ethread.c:474
#14 0x00002ba934318f1a in start_thread () from /lib/libpthread.so.0
#15 0x00002ba9345fb5d2 in clone () from /lib/libc.so.6
#16 0x0000000000000000 in ?? ()
(gdb) t 3
[Switching to thread 3 (Thread 1117383008 (LWP 32325))]#0 
0x00000000431e1cce in ?? ()
(gdb) where
#0  0x00000000431e1cce in ?? ()
#1  0x00002aaab12caff1 in ?? ()
#2  0xfffffffffffffffb in ?? ()
#3  0x00002aaab12caa51 in ?? ()
#4  0x000000000000067f in ?? ()
#5  0x00000000431e3c2d in ?? ()
#6  0x00002aaab12cad41 in ?? ()
#7  0x00002aaab000b232 in ?? ()
#8  0x00000000431e2697 in ?? ()
#9  0x00002aaab000b232 in ?? ()
#10 0x0000000000009aef in ?? ()
#11 0x00002aaab12ca5c1 in ?? ()
#12 0xfffffffffffffffb in ?? ()
#13 0xfffffffffffffffb in ?? ()
#14 0x00002aaab000b3a1 in ?? ()
#15 0x00002aaab117baba in ?? ()
#16 0x00000000431e28db in ?? ()
#17 0x0000000000009aef in ?? ()
#18 0x00002aaab000b232 in ?? ()
#19 0x00002aaab000b341 in ?? ()
#20 0x00002aaab117be09 in ?? ()
#21 0x0000000000009aef in ?? ()
#22 0x00002aaab117b991 in ?? ()
#23 0x00002aaab12ca371 in ?? ()
#24 0x00000000431e2aad in ?? ()
#25 0x0000000000008eaf in ?? ()
#26 0x00002aaab000b232 in ?? ()
#27 0x00002aaab000b341 in ?? ()
#28 0x00002aaab0013102 in ?? ()
#29 0x00002aaab1108b11 in ?? ()
#30 0x0000000000008eaf in ?? ()
#31 0x00002aaab0013011 in ?? ()
#32 0x00002aaab11b2ba2 in ?? ()
#33 0x00000000431e2e37 in ?? ()
#34 0x000000000000000f in ?? ()
#35 0x00002aaab000b232 in ?? ()
#36 0x00002aaab000f78a in ?? ()
#37 0x000000000000001f in ?? ()
#38 0x00002aaab0011689 in ?? ()
#39 0x00002aaab000f361 in ?? ()
#40 0x0000000000001733 in ?? ()
#41 0x000000000001f25f in ?? ()
#42 0x00000000001b52ff in ?? ()
#43 0x00002aaab00130ea in ?? ()
#44 0x00002aaab00130d9 in ?? ()
#45 0x00000000431e35cd in ?? ()
#46 0x00002aaab000b232 in ?? ()
#47 0x00002aaab000b341 in ?? ()
#48 0x00002aaab000f372 in ?? ()
#49 0x0000000000001733 in ?? ()
#50 0x000000000000001f in ?? ()
#51 0x00002aaab000f361 in ?? ()
#52 0x00002aaab000b341 in ?? ()
#53 0x00002aaab000b232 in ?? ()
#54 0x00002aaab000f78a in ?? ()
#55 0x000000000050b82f in x86_call_to_native () at hipe/hipe_amd64_glue.S:55
#56 0x0000000000000000 in ?? ()
(gdb) t 4
[Switching to thread 4 (Thread 1108990304 (LWP 32324))]#0 
0x00002ba9345a590d in memset () from /lib/libc.so.6
(gdb) where
#0  0x00002ba9345a590d in memset () from /lib/libc.so.6
#1  0x000000000050b3a5 in hipe_put_sdesc (sdesc=0x2aaab1a0cab0)
     at hipe/hipe_stack.c:31
#2  0x000000000050534b in hipe_bifs_enter_sdesc_1 (A__p=0x2aaaaae29ec0,
     A_1=<value optimized out>) at hipe/hipe_bif0.c:743
#3  0x00000000004dd557 in process_main () at beam/beam_emu.c:2030
#4  0x00000000004813af in sched_thread_func (vesdp=<value optimized out>)
     at beam/erl_process.c:740
#5  0x0000000000549d14 in thr_wrapper (vtwd=<value optimized out>)
     at common/ethread.c:474
#6  0x00002ba934318f1a in start_thread () from /lib/libpthread.so.0
#7  0x00002ba9345fb5d2 in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()
(gdb) t 5
[Switching to thread 5 (Thread 1100597600 (LWP 32323))]#0 
0x00002ba9345fb9ac in epoll_wait () from /lib/libc.so.6
(gdb) where
#0  0x00002ba9345fb9ac in epoll_wait () from /lib/libc.so.6
#1  0x00000000004fa3f0 in erts_poll_wait_kp (ps=0x2ba93479c3d8,
     pr=0x4199b6a0, len=0x4199bebc, utvp=<value optimized out>)
     at sys/common/erl_poll.c:1893
#2  0x00000000004fc72a in erts_check_io_kp (do_wait=1)
     at sys/common/erl_check_io.c:946
#3  0x0000000000483f1e in schedule (p=<value optimized out>,
     calls=<value optimized out>) at beam/erl_process.c:2026
#4  0x00000000004d9e7c in process_main () at beam/beam_emu.c:1129
#5  0x00000000004813af in sched_thread_func (vesdp=<value optimized out>)
     at beam/erl_process.c:740
#6  0x0000000000549d14 in thr_wrapper (vtwd=<value optimized out>)
     at common/ethread.c:474
#7  0x00002ba934318f1a in start_thread () from /lib/libpthread.so.0
#8  0x00002ba9345fb5d2 in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()
(gdb) t 6
[Switching to thread 6 (Thread 1092204896 (LWP 32322))]#0 
0x00002ba93431f00f in waitpid () from /lib/libpthread.so.0
(gdb) where
#0  0x00002ba93431f00f in waitpid () from /lib/libpthread.so.0
#1  0x00000000004f568e in child_waiter (unused=<value optimized out>)
     at sys/unix/sys.c:2694
#2  0x0000000000549d14 in thr_wrapper (vtwd=<value optimized out>)
     at common/ethread.c:474
#3  0x00002ba934318f1a in start_thread () from /lib/libpthread.so.0
#4  0x00002ba9345fb5d2 in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()
(gdb) t 7
[Switching to thread 7 (Thread 1092180320 (LWP 32321))]#0 
0x00002ba93431bb3a in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib/libpthread.so.0
(gdb) where
#0  0x00002ba93431bb3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
#1  0x00000000004bdfb5 in async_main (arg=<value optimized out>)
     at beam/erl_threads.h:580
#2  0x0000000000549d14 in thr_wrapper (vtwd=<value optimized out>)
     at common/ethread.c:474
#3  0x00002ba934318f1a in start_thread () from /lib/libpthread.so.0
#4  0x00002ba9345fb5d2 in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()
(gdb) t 8
[Switching to thread 8 (Thread 1091352928 (LWP 32320))]#0 
0x00002ba93431bb3a in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib/libpthread.so.0
(gdb) where
#0  0x00002ba93431bb3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
#1  0x00000000004bdfb5 in async_main (arg=<value optimized out>)
     at beam/erl_threads.h:580
#2  0x0000000000549d14 in thr_wrapper (vtwd=<value optimized out>)
     at common/ethread.c:474
#3  0x00002ba934318f1a in start_thread () from /lib/libpthread.so.0
#4  0x00002ba9345fb5d2 in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()
(gdb) t 9
[Switching to thread 9 (Thread 1090525536 (LWP 32319))]#0 
0x00002ba93431bb3a in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib/libpthread.so.0
(gdb) where
#0  0x00002ba93431bb3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
#1  0x000000000045faaf in sys_msg_dispatcher_func (
     unused=<value optimized out>) at beam/erl_threads.h:580
#2  0x0000000000549d14 in thr_wrapper (vtwd=<value optimized out>)
     at common/ethread.c:474
#3  0x00002ba934318f1a in start_thread () from /lib/libpthread.so.0
#4  0x00002ba9345fb5d2 in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()
(gdb) t 10
[Switching to thread 10 (Thread 1082132832 (LWP 32318))]#0 
0x00002ba93431e1bf in __read_nocancel () from /lib/libpthread.so.0
(gdb) where
#0  0x00002ba93431e1bf in __read_nocancel () from /lib/libpthread.so.0
#1  0x00000000004f4ddd in signal_dispatcher_thread_func (
     unused=<value optimized out>) at sys/unix/sys.c:2779
#2  0x0000000000549d14 in thr_wrapper (vtwd=<value optimized out>)
     at common/ethread.c:474
#3  0x00002ba934318f1a in start_thread () from /lib/libpthread.so.0
#4  0x00002ba9345fb5d2 in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()
(gdb)




More information about the erlang-questions mailing list