Ganesh Murthy created PROTON-2279: ------------------------------------- Summary: [proton-c] Router crash inside proactor_do_epoll Key: PROTON-2279 URL: https://issues.apache.org/jira/browse/PROTON-2279 Project: Qpid Proton Issue Type: Test Components: proton-c Affects Versions: proton-c-0.32.0 Reporter: Ganesh Murthy
The crash occurs when testing the HTTP2 adapter using the dev-protocol-adaptors branch of qpid-dispatch using qpid-proton-0.32.0 Here is the backtrace from the crash {noformat} (gdb) bt #0 pop_wake (ctx=0x15281b0) at /home/gmurthy/opensource/qpid-proton-0.32.0/c/src/proactor/epoll.c:381 #1 0x00007f704cb4019b in proactor_do_epoll (p=0xd5a190, can_block=true) at /home/gmurthy/opensource/qpid-proton-0.32.0/c/src/proactor/epoll.c:2691 #2 0x00007f704cc3b9ef in thread_run (arg=0xd35580) at /home/gmurthy/opensource/qpid-dispatch/src/server.c:1084 #3 0x00007f704cbf08f2 in _thread_init (arg=0xef6b10) at /home/gmurthy/opensource/qpid-dispatch/src/posix/threading.c:172 #4 0x00007f704caf9432 in start_thread () from /lib64/libpthread.so.0 #5 0x00007f704c7849d3 in clone () from /lib64/libc.so.6 (gdb) (gdb) thread apply all bt Thread 5 (Thread 0x7f703d32f700 (LWP 341424)): #0 0x00007f704caffe92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f704cb3faf3 in suspend (ts=0xb0f700, p=0xd5a190) at /home/gmurthy/opensource/qpid-proton-0.32.0/c/src/proactor/epoll.c:512 #2 proactor_do_epoll (p=0xd5a190, can_block=true) at /home/gmurthy/opensource/qpid-proton-0.32.0/c/src/proactor/epoll.c:2740 #3 0x00007f704cc3b9ef in thread_run (arg=0xd35580) at /home/gmurthy/opensource/qpid-dispatch/src/server.c:1084 #4 0x00007f704cbf08f2 in _thread_init (arg=0xef85d0) at /home/gmurthy/opensource/qpid-dispatch/src/posix/threading.c:172 #5 0x00007f704caf9432 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f704c7849d3 in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7f703e352700 (LWP 341422)): #0 0x00007f704caffe92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f704cbf06cd in sys_cond_wait (cond=0xe6bac0, held_mutex=0xe6bb80) at /home/gmurthy/opensource/qpid-dispatch/src/posix/threading.c:92 #2 0x00007f704cc1c6a0 in router_core_thread (arg=0xe6b5f0) at /home/gmurthy/opensource/qpid-dispatch/src/router_core/router_core_thread.c:224 #3 0x00007f704cbf08f2 in _thread_init (arg=0xe6bd90) at /home/gmurthy/opensource/qpid-dispatch/src/posix/threading.c:172 #4 0x00007f704caf9432 in start_thread () from /lib64/libpthread.so.0 #5 0x00007f704c7849d3 in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7f703cb2e700 (LWP 341425)): #0 0x00007f704caffe92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f704cb3faf3 in suspend (ts=0xd4ca20, p=0xd5a190) at /home/gmurthy/opensource/qpid-proton-0.32.0/c/src/proactor/epoll.c:512 #2 proactor_do_epoll (p=0xd5a190, can_block=true) at /home/gmurthy/opensource/qpid-proton-0.32.0/c/src/proactor/epoll.c:2740 #3 0x00007f704cc3b9ef in thread_run (arg=0xd35580) at /home/gmurthy/opensource/qpid-dispatch/src/server.c:1084 #4 0x00007f704cbf08f2 in _thread_init (arg=0xef8f10) at /home/gmurthy/opensource/qpid-dispatch/src/posix/threading.c:172 #5 0x00007f704caf9432 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f704c7849d3 in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7f704bbb42c0 (LWP 341421)): #0 0x00007f704caffe92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f704cb3faf3 in suspend (ts=0xb0f7b0, p=0xd5a190) at /home/gmurthy/opensource/qpid-proton-0.32.0/c/src/proactor/epoll.c:512 #2 proactor_do_epoll (p=0xd5a190, can_block=true) at /home/gmurthy/opensource/qpid-proton-0.32.0/c/src/proactor/epoll.c:2740 #3 0x00007f704cc3b9ef in thread_run (arg=0xd35580) at /home/gmurthy/opensource/qpid-dispatch/src/server.c:1084 #4 0x00007f704cc3cd54 in qd_server_run (qd=0xa23390) at /home/gmurthy/opensource/qpid-dispatch/src/server.c:1445 #5 0x0000000000402604 in main_process (config_path=0x7ffcacc08463 "etc/qdrouterd.conf", python_pkgdir=0x4042a0 "/home/gmurthy/opensource/qpid-dispatch/install/lib/qpid-dispatch/python", test_hooks=false, fd=2) at /home/gmurthy/opensource/qpid-dispatch/router/src/main.c:113 #6 0x00000000004030cf in main (argc=3, argv=0x7ffcacc07e78) at /home/gmurthy/opensource/qpid-dispatch/router/src/main.c:367 {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org