[ https://issues.apache.org/jira/browse/DISPATCH-814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16171925#comment-16171925 ]
Alan Conway commented on DISPATCH-814: -------------------------------------- I can reproduce this easily with qpid-dispatch-0.8.0-3.fc26.src.rpm on fedora 26, script and stack trace below. I have not been able to reproduce it on master, and the 0.8 stack trace refers to functions that don't exist on master anyore (qd_server_pause) so I suspect it may be fixed already on master, unless someone has reproduced it there. {code} #!/bin/sh pkill qdrouterd while true; do qdrouterd& sleep .1 qdstat -c kill %% wait done {code} {code} Thread 5 (Thread 0x7fd029774700 (LWP 4435)): #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007fd0388c3e23 in __GI___pthread_mutex_lock (mutex=0x5587cdfc8480) at ../nptl/pthread_mutex_lock.c:80 #2 0x00007fd038d55659 in sys_mutex_lock () from /usr/lib/qpid-dispatch/libqpid-dispatch.so #3 0x00007fd038d6cb84 in thread_run () from /usr/lib/qpid-dispatch/libqpid-dispatch.so #4 0x00007fd0388c136d in start_thread (arg=0x7fd029774700) at pthread_create.c:456 #5 0x00007fd037b82bbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97 Thread 4 (Thread 0x7fd029fc5700 (LWP 4434)): #0 0x00007fd0388c8836 in futex_wait (private=<optimized out>, expected=<optimized out>, futex_word=0x5587cdfc62e0) at ../sysdeps/unix/sysv/linux/futex-internal.h:61 #1 futex_wait_simple (private=<optimized out>, expected=<optimized out>, futex_word=0x5587cdfc62e0) at ../sysdeps/nptl/futex-internal.h:135 #2 __condvar_acquire_lock (private=<optimized out>, cond=0x5587cdfc62c0) at pthread_cond_common.c:281 #3 __pthread_cond_broadcast (cond=0x5587cdfc62c0) at pthread_cond_broadcast.c:48 #4 0x00007fd038d557d9 in sys_cond_signal_all () from /usr/lib/qpid-dispatch/libqpid-dispatch.so #5 0x00007fd038d6c391 in qd_server_pause () from /usr/lib/qpid-dispatch/libqpid-dispatch.so #6 0x00005587cc5fe8ef in server_signal_handler () #7 0x00007fd038d6c7d8 in thread_run () from /usr/lib/qpid-dispatch/libqpid-dispatch.so #8 0x00007fd0388c136d in start_thread (arg=0x7fd029fc5700) at pthread_create.c:456 #9 0x00007fd037b82bbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97 Thread 3 (Thread 0x7fd02a816700 (LWP 4433)): #0 0x00007fd0388c790b in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5587cdfc62e8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x5587cdfc8480, cond=0x5587cdfc62c0) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x5587cdfc62c0, mutex=0x5587cdfc8480) at pthread_cond_wait.c:655 #3 0x00007fd038d55759 in sys_cond_wait () from /usr/lib/qpid-dispatch/libqpid-dispatch.so #4 0x00007fd038d6c9bb in thread_run () from /usr/lib/qpid-dispatch/libqpid-dispatch.so #5 0x00007fd0388c136d in start_thread (arg=0x7fd02a816700) at pthread_create.c:456 #6 0x00007fd037b82bbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97 Thread 2 (Thread 0x7fd02b482700 (LWP 4430)): #0 0x00007fd0388c790b in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5587cded00ec) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x5587cdfc8d80, cond=0x5587cded00c0) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x5587cded00c0, mutex=0x5587cdfc8d80) at pthread_cond_wait.c:655 #3 0x00007fd038d55759 in sys_cond_wait () from /usr/lib/qpid-dispatch/libqpid-dispatch.so #4 0x00007fd038d63345 in router_core_thread () from /usr/lib/qpid-dispatch/libqpid-dispatch.so #5 0x00007fd0388c136d in start_thread (arg=0x7fd02b482700) at pthread_create.c:456 #6 0x00007fd037b82bbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97 Thread 1 (Thread 0x7fd0391841c0 (LWP 4428)): #0 0x00007fd0388c8836 in futex_wait (private=<optimized out>, expected=<optimized out>, futex_word=0x5587cdfc62e0) at ../sysdeps/unix/sysv/linux/futex-internal.h:61 #1 futex_wait_simple (private=<optimized out>, expected=<optimized out>, futex_word=0x5587cdfc62e0) at ../sysdeps/nptl/futex-internal.h:135 #2 __condvar_acquire_lock (private=<optimized out>, cond=0x5587cdfc62c0) at pthread_cond_common.c:281 #3 __pthread_cond_broadcast (cond=0x5587cdfc62c0) at pthread_cond_broadcast.c:48 #4 0x00007fd038d557d9 in sys_cond_signal_all () from /usr/lib/qpid-dispatch/libqpid-dispatch.so #5 0x00007fd038d6c348 in qd_server_signal () from /usr/lib/qpid-dispatch/libqpid-dispatch.so #6 <signal handler called> #7 0x00007fd0388c8662 in futex_wait (private=<optimized out>, expected=5, futex_word=0x5587cdfc62d4) at ../sysdeps/unix/sysv/linux/futex-internal.h:61 #8 futex_wait_simple (private=<optimized out>, expected=5, futex_word=0x5587cdfc62d4) at ../sysdeps/nptl/futex-internal.h:135 #9 __condvar_quiesce_and_switch_g1 (private=<optimized out>, g1index=<synthetic pointer>, wseq=<optimized out>, cond=0x5587cdfc62c0) at pthread_cond_common.c:413 #10 __pthread_cond_broadcast (cond=0x5587cdfc62c0) at pthread_cond_broadcast.c:73 #11 0x00007fd038d557d9 in sys_cond_signal_all () from /usr/lib/qpid-dispatch/libqpid-dispatch.so #12 0x00007fd038d6c348 in qd_server_signal () from /usr/lib/qpid-dispatch/libqpid-dispatch.so #13 <signal handler called> #14 0x00007fd0388c7909 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5587cdfc62ec) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #15 __pthread_cond_wait_common (abstime=0x0, mutex=0x5587cdfc8480, cond=0x5587cdfc62c0) at pthread_cond_wait.c:502 #16 __pthread_cond_wait (cond=0x5587cdfc62c0, mutex=0x5587cdfc8480) at pthread_cond_wait.c:655 #17 0x00007fd038d55759 in sys_cond_wait () from /usr/lib/qpid-dispatch/libqpid-dispatch.so #18 0x00007fd038d6c9bb in thread_run () from /usr/lib/qpid-dispatch/libqpid-dispatch.so #19 0x00007fd038d6d380 in qd_server_run () from /usr/lib/qpid-dispatch/libqpid-dispatch.so #20 0x00005587cc5fea1b in main_process () #21 0x00005587cc5fe713 in main () {code} > Killing qdrouterd process takes a long time > ------------------------------------------- > > Key: DISPATCH-814 > URL: https://issues.apache.org/jira/browse/DISPATCH-814 > Project: Qpid Dispatch > Issue Type: Bug > Components: Routing Engine > Environment: This test runs in fedora 26 container. > Reporter: Irina Boverman > > Often killing router fails to complete: > ++ ps -C qdrouterd -o pid= > + pid=' 1455' > + kill 1455 > + set +e > + wait 1455 > Build timed out (after 30 minutes). Marking the build as failed. > Build was aborted -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org