Created
March 2, 2011 11:23
-
-
Save evax/850792 to your computer and use it in GitHub Desktop.
ezmq segfault
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Core was generated by `/work/erlang/lib/erlang/erts-5.8.2/bin/beam.smp -B -- -root /work/erlang/lib/er'. | |
Program terminated with signal 11, Segmentation fault. | |
#0 0x00000000004f3171 in ethr_native_atomic_add_return (p=0x7f7ce7b16810, | |
fullsweep=24982) at ../include/internal/x86_64/../i386/atomic.h:104 | |
104 __asm__ __volatile__( | |
(gdb) thread apply all bt | |
Thread 12 (Thread 24983): | |
#0 0x00007f7ce8e7f203 in __poll (fds=<value optimised out>, | |
nfds=<value optimised out>, timeout=3595785) | |
at ../sysdeps/unix/sysv/linux/poll.c:87 | |
#1 0x000000000054d75b in check_fd_events (ps=0x7f7ce8bcf3d8, | |
pr=<value optimised out>, len=<value optimised out>, | |
utvp=<value optimised out>) at sys/common/erl_poll.c:1969 | |
#2 erts_poll_wait_nkp (ps=0x7f7ce8bcf3d8, pr=<value optimised out>, | |
len=<value optimised out>, utvp=<value optimised out>) | |
at sys/common/erl_poll.c:2068 | |
#3 0x00000000005507f5 in erts_check_io_nkp (do_wait=<value optimised out>) | |
at sys/common/erl_check_io.c:1156 | |
#4 0x000000000049f187 in scheduler_wait (fcalls=<value optimised out>, | |
esdp=0x7f7ce8ca2a00, rq=0x7f7ce8c94340) at beam/erl_process.c:1089 | |
#5 0x00000000004a25b3 in schedule (p=<value optimised out>, | |
calls=<value optimised out>) at beam/erl_process.c:5172 | |
#6 0x0000000000526c52 in process_main () at beam/beam_emu.c:1181 | |
#7 0x000000000049da93 in sched_thread_func (vesdp=<value optimised out>) | |
at beam/erl_process.c:3566 | |
#8 0x00000000005a465a in thr_wrapper (vtwd=<value optimised out>) | |
at pthread/ethread.c:106 | |
#9 0x00007f7ce9337971 in start_thread (arg=<value optimised out>) | |
---Type <return> to continue, or q <return> to quit--- | |
at pthread_create.c:304 | |
#10 0x00007f7ce8e8b92d in clone () | |
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 | |
#11 0x0000000000000000 in ?? () | |
Thread 11 (Thread 24981): | |
#0 pthread_cond_wait@@GLIBC_2.3.2 () | |
at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 | |
#1 0x00000000005a2639 in ethr_cond_wait (cnd=0x8958c4, mtx=0x80) | |
at common/ethr_mutex.c:1348 | |
#2 0x000000000054384f in erts_cnd_wait (unused=<value optimised out>) | |
at beam/erl_threads.h:632 | |
#3 child_waiter (unused=<value optimised out>) at sys/unix/sys.c:2831 | |
#4 0x00000000005a465a in thr_wrapper (vtwd=<value optimised out>) | |
at pthread/ethread.c:106 | |
#5 0x00007f7ce9337971 in start_thread (arg=<value optimised out>) | |
at pthread_create.c:304 | |
#6 0x00007f7ce8e8b92d in clone () | |
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 | |
#7 0x0000000000000000 in ?? () | |
Thread 10 (Thread 24978): | |
#0 0x00007f7ce933eb8d in read () at ../sysdeps/unix/syscall-template.S:82 | |
---Type <return> to continue, or q <return> to quit--- | |
#1 0x0000000000542750 in read (unused=<value optimised out>) | |
at /usr/include/bits/unistd.h:45 | |
#2 signal_dispatcher_thread_func (unused=<value optimised out>) | |
at sys/unix/sys.c:2902 | |
#3 0x00000000005a465a in thr_wrapper (vtwd=<value optimised out>) | |
at pthread/ethread.c:106 | |
#4 0x00007f7ce9337971 in start_thread (arg=<value optimised out>) | |
at pthread_create.c:304 | |
#5 0x00007f7ce8e8b92d in clone () | |
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 | |
#6 0x0000000000000000 in ?? () | |
Thread 9 (Thread 24974): | |
#0 0x00007f7ce8e842c3 in select () at ../sysdeps/unix/syscall-template.S:82 | |
#1 0x0000000000542190 in erts_sys_main_thread () at sys/unix/sys.c:3008 | |
#2 0x000000000044ef41 in erl_start (argc=28, argv=<value optimised out>) | |
at beam/erl_init.c:1439 | |
#3 0x00000000004329e9 in main (argc=0, argv=0x0) at sys/unix/erl_main.c:29 | |
Thread 8 (Thread 24989): | |
#0 0x00007f7ce8e8bf23 in epoll_wait () | |
at ../sysdeps/unix/syscall-template.S:82 | |
#1 0x00007f7ce5eb2740 in zmq::epoll_t::loop (this=0xb1ad10) at epoll.cpp:141 | |
---Type <return> to continue, or q <return> to quit--- | |
#2 0x00007f7ce5eba4d6 in thread_routine (arg_=0xb1ad80) at thread.cpp:70 | |
#3 0x00007f7ce9337971 in start_thread (arg=<value optimised out>) | |
at pthread_create.c:304 | |
#4 0x00007f7ce8e8b92d in clone () | |
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 | |
#5 0x0000000000000000 in ?? () | |
Thread 7 (Thread 24990): | |
#0 0x00007f7ce933ef8c in __libc_recv (fd=33, buf=<value optimised out>, | |
n=<value optimised out>, flags=<value optimised out>) | |
at ../sysdeps/unix/sysv/linux/x86_64/recv.c:34 | |
#1 0x00007f7ce5ea7819 in recv (this=<value optimised out>, | |
cmd_=0x7f7ce376fd20, block_=<value optimised out>) | |
at /usr/include/bits/socket2.h:45 | |
#2 zmq::mailbox_t::recv (this=<value optimised out>, cmd_=0x7f7ce376fd20, | |
block_=<value optimised out>) at mailbox.cpp:203 | |
#3 0x00007f7ce5eaab3f in zmq::socket_base_t::process_commands (this=0xb1af20, | |
block_=<value optimised out>, throttle_=false) at socket_base.cpp:639 | |
#4 0x00007f7ce5eaad64 in zmq::socket_base_t::recv (this=0xb1af20, | |
msg_=0x7f7ce376fe40, flags_=0) at socket_base.cpp:558 | |
#5 0x00007f7ce5ea351e in receiver_thread (handle=0xaaa1b0) | |
at c_src/ezmq_nif.c:446 | |
#6 0x00000000005a465a in thr_wrapper (vtwd=<value optimised out>) | |
---Type <return> to continue, or q <return> to quit--- | |
at pthread/ethread.c:106 | |
#7 0x00007f7ce9337971 in start_thread (arg=<value optimised out>) | |
at pthread_create.c:304 | |
#8 0x00007f7ce8e8b92d in clone () | |
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 | |
#9 0x0000000000000000 in ?? () | |
Thread 6 (Thread 24980): | |
#0 pthread_cond_wait@@GLIBC_2.3.2 () | |
at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 | |
#1 0x00000000005a2639 in ethr_cond_wait (cnd=0x84a4e4, mtx=0x80) | |
at common/ethr_mutex.c:1348 | |
#2 0x000000000046e0e9 in erts_cnd_wait (unused=<value optimised out>) | |
at beam/erl_threads.h:632 | |
#3 erts_smp_cnd_wait (unused=<value optimised out>) at beam/erl_smp.h:428 | |
#4 sys_msg_dispatcher_func (unused=<value optimised out>) | |
at beam/erl_trace.c:3240 | |
#5 0x00000000005a465a in thr_wrapper (vtwd=<value optimised out>) | |
at pthread/ethread.c:106 | |
#6 0x00007f7ce9337971 in start_thread (arg=<value optimised out>) | |
at pthread_create.c:304 | |
#7 0x00007f7ce8e8b92d in clone () | |
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 | |
---Type <return> to continue, or q <return> to quit--- | |
#8 0x0000000000000000 in ?? () | |
Thread 5 (Thread 24979): | |
#0 pthread_cond_wait@@GLIBC_2.3.2 () | |
at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 | |
#1 0x00000000005a2639 in ethr_cond_wait (cnd=0x890554, mtx=0x80) | |
at common/ethr_mutex.c:1348 | |
#2 0x000000000047592f in erts_cnd_wait (unused=<value optimised out>) | |
at beam/erl_threads.h:632 | |
#3 erts_smp_cnd_wait (unused=<value optimised out>) at beam/erl_smp.h:428 | |
#4 emergency_watchdog (unused=<value optimised out>) at beam/utils.c:3898 | |
#5 0x00000000005a465a in thr_wrapper (vtwd=<value optimised out>) | |
at pthread/ethread.c:106 | |
#6 0x00007f7ce9337971 in start_thread (arg=<value optimised out>) | |
at pthread_create.c:304 | |
#7 0x00007f7ce8e8b92d in clone () | |
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 | |
#8 0x0000000000000000 in ?? () | |
Thread 4 (Thread 24988): | |
#0 0x00007f7ce8e8bf23 in epoll_wait () | |
at ../sysdeps/unix/syscall-template.S:82 | |
#1 0x00007f7ce5eb2740 in zmq::epoll_t::loop (this=0xb189f0) at epoll.cpp:141 | |
---Type <return> to continue, or q <return> to quit--- | |
#2 0x00007f7ce5eba4d6 in thread_routine (arg_=0xb18a60) at thread.cpp:70 | |
#3 0x00007f7ce9337971 in start_thread (arg=<value optimised out>) | |
at pthread_create.c:304 | |
#4 0x00007f7ce8e8b92d in clone () | |
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 | |
#5 0x0000000000000000 in ?? () | |
Thread 3 (Thread 24987): | |
#0 0x00007f7ce8e8bf23 in epoll_wait () | |
at ../sysdeps/unix/syscall-template.S:82 | |
#1 0x00007f7ce5eb2740 in zmq::epoll_t::loop (this=0xb18380) at epoll.cpp:141 | |
#2 0x00007f7ce5eba4d6 in thread_routine (arg_=0xb183f0) at thread.cpp:70 | |
#3 0x00007f7ce9337971 in start_thread (arg=<value optimised out>) | |
at pthread_create.c:304 | |
#4 0x00007f7ce8e8b92d in clone () | |
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 | |
#5 0x0000000000000000 in ?? () | |
Thread 2 (Thread 24986): | |
#0 0x00007f7ce8e8bf23 in epoll_wait () | |
at ../sysdeps/unix/syscall-template.S:82 | |
#1 0x00007f7ce5eb2740 in zmq::epoll_t::loop (this=0xb18150) at epoll.cpp:141 | |
#2 0x00007f7ce5eba4d6 in thread_routine (arg_=0xb181c0) at thread.cpp:70 | |
---Type <return> to continue, or q <return> to quit--- | |
#3 0x00007f7ce9337971 in start_thread (arg=<value optimised out>) | |
at pthread_create.c:304 | |
#4 0x00007f7ce8e8b92d in clone () | |
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 | |
#5 0x0000000000000000 in ?? () | |
Thread 1 (Thread 24982): | |
#0 0x00000000004f3171 in ethr_native_atomic_add_return (p=0x7f7ce7b16810, | |
fullsweep=24982) at ../include/internal/x86_64/../i386/atomic.h:104 | |
#1 ethr_atomic_dec_read (p=0x7f7ce7b16810, fullsweep=24982) | |
at ../include/internal/ethread.h:661 | |
#2 erts_atomic_dectest (p=0x7f7ce7b16810, fullsweep=24982) | |
at beam/erl_threads.h:971 | |
#3 erts_smp_atomic_dectest (p=0x7f7ce7b16810, fullsweep=24982) | |
at beam/erl_smp.h:657 | |
#4 erts_refc_dectest (p=0x7f7ce7b16810, fullsweep=24982) at beam/sys.h:1053 | |
#5 erts_deref_node_entry (p=0x7f7ce7b16810, fullsweep=24982) | |
at beam/erl_node_tables.h:218 | |
#6 sweep_off_heap (p=0x7f7ce7b16810, fullsweep=24982) at beam/erl_gc.c:2158 | |
#7 0x00000000004f3e9e in do_minor (p=0x7f7ce7b16810, | |
new_sz=<value optimised out>, objv=<value optimised out>, | |
nobj=<value optimised out>) at beam/erl_gc.c:1039 | |
#8 0x00000000004f8925 in minor_collection (p=0x7f7ce7b16810, | |
---Type <return> to continue, or q <return> to quit--- | |
objv=0x7f7ce7a9fd00, nobj=1, need=<value optimised out>) | |
at beam/erl_gc.c:758 | |
#9 erts_garbage_collect (p=0x7f7ce7b16810, objv=0x7f7ce7a9fd00, nobj=1, | |
need=<value optimised out>) at beam/erl_gc.c:375 | |
#10 0x00000000004f8e39 in erts_gc_after_bif_call (p=0x7f7ce7b16810, | |
result=140174478193218, regs=<value optimised out>, arity=2576) | |
at beam/erl_gc.c:325 | |
#11 0x00000000005299a1 in process_main () at beam/beam_emu.c:3189 | |
#12 0x000000000049da93 in sched_thread_func (vesdp=<value optimised out>) | |
at beam/erl_process.c:3566 | |
#13 0x00000000005a465a in thr_wrapper (vtwd=<value optimised out>) | |
at pthread/ethread.c:106 | |
#14 0x00007f7ce9337971 in start_thread (arg=<value optimised out>) | |
at pthread_create.c:304 | |
#15 0x00007f7ce8e8b92d in clone () | |
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 | |
#16 0x0000000000000000 in ?? () | |
(gdb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment