qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gordon Sim (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DISPATCH-297) router goes into infinite loop
Date Wed, 27 Apr 2016 16:40:12 GMT
Gordon Sim created DISPATCH-297:
-----------------------------------

             Summary: router goes into infinite loop
                 Key: DISPATCH-297
                 URL: https://issues.apache.org/jira/browse/DISPATCH-297
             Project: Qpid Dispatch
          Issue Type: Bug
          Components: Container
    Affects Versions: 0.6
            Reporter: Gordon Sim


In assessing the reproducability of DISPATCH-296, one one occasion thr borker started succesfully
but I couldn't kill it. The router process was using 100% cpu. Successive pstack traces looked
pretty similar:

{noformat}
Thread 5 (Thread 0x7f2daee7d700 (LWP 18993)):
#0  0x00007f2dbc299b10 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2dbc71f33f in sys_cond_wait (cond=<optimized out>, held_mutex=0x24724a0)
at /home/gordon/projects/dispatch/src/posix/threading.c:107
#2  0x00007f2dbc729a1d in router_core_thread (arg=0x2472180) at /home/gordon/projects/dispatch/src/router_core/router_core_thread.c:54
#3  0x00007f2dbc29460a in start_thread () from /lib64/libpthread.so.0
#4  0x00007f2dbb7f9a4d in clone () from /lib64/libc.so.6
Thread 4 (Thread 0x7f2dae261700 (LWP 18994)):
#0  0x00007f2dbc299b10 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2dbc71f33f in sys_cond_wait (cond=<optimized out>, held_mutex=0x2312da0)
at /home/gordon/projects/dispatch/src/posix/threading.c:107
#2  0x00007f2dbc730f0d in qd_server_pause (qd=<optimized out>) at /home/gordon/projects/dispatch/src/server.c:1444
#3  0x000000000040190f in server_signal_handler (context=<optimized out>, signum=2)
at /home/gordon/projects/dispatch/router/src/main.c:63
#4  0x00007f2dbc731112 in handle_signals_LH (qd_server=0x2312b50) at /home/gordon/projects/dispatch/src/server.c:609
#5  thread_run (arg=0x248b9b0) at /home/gordon/projects/dispatch/src/server.c:791
#6  0x00007f2dbc29460a in start_thread () from /lib64/libpthread.so.0
#7  0x00007f2dbb7f9a4d in clone () from /lib64/libc.so.6
Thread 3 (Thread 0x7f2dada60700 (LWP 18995)):
#0  0x00007f2dbae0a7d8 in sasl_client_add_plugin () from /lib64/libsasl2.so.3
#1  0x00007f2dbae16656 in _sasl_load_plugins () from /lib64/libsasl2.so.3
#2  0x00007f2dbae0afa9 in sasl_client_init () from /lib64/libsasl2.so.3
#3  0x00007f2dbc4dccff in pni_init_client (transport=transport@entry=0x24f43d0) at /home/gordon/projects/proton/proton-c/src/sasl/cyrus_sasl.c:115
#4  0x00007f2dbc4dc87e in pn_do_mechanisms (transport=0x24f43d0, frame_type=<optimized
out>, channel=<optimized out>, args=<optimized out>, payload=<optimized
out>) at /home/gordon/projects/proton/proton-c/src/sasl/sasl.c:703
#5  0x00007f2dbc4c7b26 in pni_dispatch_action (payload=0x7f2dada5f360, args=0x24e3d70, channel=0,
frame_type=1 '\001', lcode=<optimized out>, transport=0x24f43d0) at /home/gordon/projects/proton/proton-c/src/dispatcher/dispatcher.c:74
#6  pni_dispatch_frame (args=0x24e3d70, transport=0x24f43d0, frame=...) at /home/gordon/projects/proton/proton-c/src/dispatcher/dispatcher.c:116
#7  pn_dispatcher_input (transport=0x24f43d0, bytes=0x24fa5c8 "", available=0, batch=false,
halt=0x24f4554) at /home/gordon/projects/proton/proton-c/src/dispatcher/dispatcher.c:135
#8  0x00007f2dbc4cdbba in transport_consume (transport=transport@entry=0x24f43d0) at /home/gordon/projects/proton/proton-c/src/transport/transport.c:1751
#9  0x00007f2dbc4d10d2 in pn_transport_process (transport=transport@entry=0x24f43d0, size=<optimized
out>) at /home/gordon/projects/proton/proton-c/src/transport/transport.c:2860
#10 0x00007f2dbc71e8e3 in qdpn_connector_process (c=0x24e3ab0) at /home/gordon/projects/dispatch/src/posix/driver.c:761
#11 0x00007f2dbc731a91 in process_connector (cxtr=0x24e3ab0, qd_server=0x2312b50) at /home/gordon/projects/dispatch/src/server.c:683
#12 thread_run (arg=0x2474270) at /home/gordon/projects/dispatch/src/server.c:958
#13 0x00007f2dbc29460a in start_thread () from /lib64/libpthread.so.0
#14 0x00007f2dbb7f9a4d in clone () from /lib64/libc.so.6
Thread 2 (Thread 0x7f2dad25f700 (LWP 18996)):
#0  0x00007f2dbc299b10 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2dbc71f33f in sys_cond_wait (cond=<optimized out>, held_mutex=0x2312da0)
at /home/gordon/projects/dispatch/src/posix/threading.c:107
#2  0x00007f2dbc731165 in block_if_paused_LH (qd_server=0x2312b50) at /home/gordon/projects/dispatch/src/server.c:622
#3  thread_run (arg=0x2474240) at /home/gordon/projects/dispatch/src/server.c:800
#4  0x00007f2dbc29460a in start_thread () from /lib64/libpthread.so.0
#5  0x00007f2dbb7f9a4d in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7f2dbcb43180 (LWP 18992)):
#0  0x00007f2dbc299b10 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2dbc71f33f in sys_cond_wait (cond=<optimized out>, held_mutex=0x2312da0)
at /home/gordon/projects/dispatch/src/posix/threading.c:107
#2  0x00007f2dbc731165 in block_if_paused_LH (qd_server=0x2312b50) at /home/gordon/projects/dispatch/src/server.c:622
#3  thread_run (arg=0x248b9e0) at /home/gordon/projects/dispatch/src/server.c:800
#4  0x00007f2dbc731f60 in qd_server_run (qd=0x2214240) at /home/gordon/projects/dispatch/src/server.c:1354
#5  0x0000000000401ac7 in main_process (config_path=config_path@entry=0x7fff3b07514a "./etc/qpid-dispatch/multiconnect.conf",
python_pkgdir=python_pkgdir@entry=0x402468 "/home/gordon/projects/dispatch/installs/master/lib/qpid-dispatch/python",
fd=fd@entry=2) at /home/gordon/projects/dispatch/router/src/main.c:135
#6  0x00000000004017b7 in main (argc=3, argv=0x7fff3b073de8) at /home/gordon/projects/dispatch/router/src/main.c:335
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message