Uploaded image for project: 'AMQ Interconnect'
  1. AMQ Interconnect
  2. ENTMQIC-1948

With 2 brokers x 2 routers using waypoints / autolinks, enabling http: yes on both routers causes RouterB segfault

XMLWordPrintable

    • Compatibility/Configuration, User Experience
    • Hide
      • Using attached configuration file, qdrouterd_waypoint_whttp.conf, and launch the router:
        qdrouterd -c ./qdrouterd_waypoint_whttp.conf
      • Wait for segfault
      Show
      Using attached configuration file, qdrouterd_waypoint_whttp.conf, and launch the router: qdrouterd -c ./qdrouterd_waypoint_whttp.conf Wait for segfault

      Utilizing a slightly modified configuration file from ENTMQIC-1947 to enable the console via http: yes causes the router to segfault less than a minute after starting:

      [rkieley@ic0 attachments]$ qdrouterd -c ./qdrouterd_waypoint_whttp.conf                                                                                                                                                                        
      Wed Aug  9 10:56:28 2017 HTTP (info) Initial logging level 7
      Wed Aug  9 10:56:28 2017 HTTP (info) Libwebsockets version: 2.1.0 unknown-build-hash
      Wed Aug  9 10:56:28 2017 HTTP (info) IPV6 not compiled in
      Wed Aug  9 10:56:28 2017 HTTP (info) libev support not compiled in
      Wed Aug  9 10:56:28 2017 HTTP (info) libuv support not compiled in
      Wed Aug  9 10:56:28 2017 HTTP (info)  Threads: 1 each 1024 fds
      Wed Aug  9 10:56:28 2017 HTTP (info)  mem: platform fd map:  8192 bytes
      Wed Aug  9 10:56:28 2017 HTTP (info)  Compiled with OpenSSL support
      Wed Aug  9 10:56:28 2017 HTTP (info)  mem: per-conn:          512 bytes + protocol rx buf
      Wed Aug  9 10:56:28 2017 SERVER (info) Container Name: RouterA
      Wed Aug  9 10:56:28 2017 ROUTER (info) Router started in Interior mode, area=0 id=RouterA
      Wed Aug  9 10:56:28 2017 ROUTER_CORE (info) Allow Unsettled Multicast: no
      Wed Aug  9 10:56:28 2017 ROUTER_CORE (info) Router Core thread running. 0/RouterA
      Wed Aug  9 10:56:28 2017 ROUTER_CORE (info) In-process subscription M/$management
      Wed Aug  9 10:56:28 2017 ROUTER_CORE (info) In-process subscription L/$management
      Wed Aug  9 10:56:28 2017 ROUTER_CORE (info) In-process subscription L/qdrouter
      Wed Aug  9 10:56:28 2017 ROUTER_CORE (info) In-process subscription L/qdrouter.ma
      Wed Aug  9 10:56:28 2017 ROUTER_CORE (info) In-process subscription T/qdrouter
      Wed Aug  9 10:56:28 2017 ROUTER_CORE (info) In-process subscription T/qdrouter.ma
      Wed Aug  9 10:56:28 2017 ROUTER_CORE (info) In-process subscription L/qdhello
      Wed Aug  9 10:56:28 2017 ROUTER (info) Router Engine Instantiated: id=RouterA instance=1502285188 max_routers=128
      Wed Aug  9 10:56:28 2017 AGENT (info) Activating management agent on $_management_internal
      Wed Aug  9 10:56:28 2017 ROUTER_CORE (info) In-process subscription L/$_management_internal
      Wed Aug  9 10:56:28 2017 CONN_MGR (info) Configured Listener: 0.0.0.0:2009 proto=any, role=normal
      Wed Aug  9 10:56:28 2017 CONN_MGR (info) Configured Listener: 0.0.0.0:2010 proto=any, role=inter-router
      Wed Aug  9 10:56:28 2017 CONN_MGR (info) Configured Listener: 192.168.2.208:5675 proto=any, role=normal, http
      Wed Aug  9 10:56:28 2017 HTTP (info) Creating Vhost 'vhost0' port -2, 3 protocols, IPv6 off
      Wed Aug  9 10:56:28 2017 HTTP (info)    mounting file:///usr/share/qpid-dispatch/console/stand-alone to /
      Wed Aug  9 10:56:28 2017 CONN_MGR (info) Configured Connector: localhost:5672 proto=any, role=route-container 
      Wed Aug  9 10:56:29 2017 POLICY (info) Policy configured maxConnections: 65535, policyDir: '', access rules enabled: 'false'
      Wed Aug  9 10:56:29 2017 POLICY (info) Policy fallback defaultVhost is defined: '$default'
      Wed Aug  9 10:56:29 2017 SERVER (info) Operational, 4 Threads Running
      Wed Aug  9 10:56:48 2017 HTTP (info) lws_protocol_init
      Segmentation fault (core dumped)
      

      From /var/log/messages

      Aug  9 10:56:48 ic0 kernel: qdrouterd[2094]: segfault at 60 ip 00007ff3275aa000 sp 00007ffca443c808 error 4 in libqpid-dispatch.so[7ff327564000+5c000]
      

      See attached for associated configuration file and coredump. Note that at the point in time of the segfault RouterA was live and both brokers had just been brought up.

              gmurthy@redhat.com Ganesh Murthy
              rhn-support-rkieley Roderick Kieley
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: