Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1840

HTTP1: shutdown crash when HTTP1 connection activated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.15.0
    • 1.15.0
    • Protocol Adaptors

    Description

      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

      Attachments

        Activity

          People

            kgiusti Ken Giusti
            kgiusti Ken Giusti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: