Ken Giusti created DISPATCH-1840:
------------------------------------

             Summary: HTTP1: shutdown crash when HTTP1 connection activated
                 Key: DISPATCH-1840
                 URL: https://issues.apache.org/jira/browse/DISPATCH-1840
             Project: Qpid Dispatch
          Issue Type: Bug
          Components: Protocol Adaptors
    Affects Versions: 1.15.0
            Reporter: Ken Giusti
            Assignee: Ken Giusti
             Fix For: 1.15.0


Core thread attempts to reference freed HTTP1 adaptor:

 

Core was generated by `qdrouterd -c INT.A.conf -I 
/home/kgiusti/work/dispatch/qpid-dispatch/python'. 
Program terminated with signal SIGSEGV, Segmentation fault. 
#0 0x00007f8c0d9c6ac5 in qdr_activate_connections_CT (core=0x13431c0) 
 at 
/home/kgiusti/work/dispatch/qpid-dispatch/src/router_core/router_core_thread.c:89
 
89 
conn->protocol_adaptor->activate_handler(conn->protocol_adaptor->user_context, 
conn); 
[Current thread is 1 (Thread 0x7f8bff25e700 (LWP 1161854))] 
Missing separate debuginfos, use: dnf debuginfo-install 
glibc-2.30-13.fc31.x86_64 libnghttp2-1.41.0-1.fc31.x86_64 
libselinux-2.9-6.fc31.x86_64 li\
buv-1.40.0-1.fc31.x86_64 libxcrypt-4.4.17-1.fc31.x86_64 
pcre2-10.35-7.fc31.x86_64 python3-libs-3.7.9-1.fc31.x86_64 
(gdb) bt 
#0 0x00007f8c0d9c6ac5 in qdr_activate_connections_CT (core=0x13431c0) 
 at 
/home/kgiusti/work/dispatch/qpid-dispatch/src/router_core/router_core_thread.c:89
 
#1 0x00007f8c0d9c73f4 in router_core_thread (arg=0x13431c0) 
 at 
/home/kgiusti/work/dispatch/qpid-dispatch/src/router_core/router_core_thread.c:253
 
#2 0x00007f8c0d99b1f0 in _thread_init (arg=0x1315050) at 
/home/kgiusti/work/dispatch/qpid-dispatch/src/posix/threading.c:172 
#3 0x00007f8c0d87b4e2 in start_thread () from /lib64/libpthread.so.0 
#4 0x00007f8c0d3ae6c3 in clone () from /lib64/libc.so.6 
(gdb) p conn 
$1 = (qdr_connection_t *) 0x142af50 
(gdb) p conn->protocol_adaptor 
$2 = (qdr_protocol_adaptor_t *) 0x13a5e50 
(gdb) p conn->protocol_adaptor->activate_handler 
$3 = (qdr_connection_activate_t) 0x9999999999999999 
(gdb) info threads 
 Id Target Id Frame 
* 1 Thread 0x7f8bff25e700 (LWP 1161854) 0x00007f8c0d9c6ac5 in 
qdr_activate_connections_CT (core=0x13431c0) 
 at 
/home/kgiusti/work/dispatch/qpid-dispatch/src/router_core/router_core_thread.c:89
 
 2 Thread 0x7f8c0cac92c0 (LWP 1161853) sys_atomic_sub (ref=0x12d3750, 
value=32652) 
 at /home/kgiusti/work/dispatch/qpid-dispatch/include/qpid/dispatch/atomic.h:84



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to