Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-935

qpid::messaging c++ client seqfault w/ A-MQ 6.2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JBoss A-MQ 6.2
    • JBoss A-MQ 6.2
    • amqp
    • Hide

      1.) A-MQ installation&setup:

      1. wget https://repository.jboss.org/nexus/content/repositories/ea/org/jboss/amq/jboss-a-mq/6.2.0.redhat-064/jboss-a-mq-6.2.0.redhat-064.zip
      2. unzip jboss-a-mq-6.2.0.redhat-064.zip
      3. cd jboss-a-mq-6.2.0.redhat-064
      4. diff etc/broker_orig.xml etc/broker.xml (allow anonymous access and AMQP transport connector)
        57a58
        > <simpleAuthenticationPlugin anonymousAccessAllowed="true"/>
        75c76
        < <transportConnector name="openwire" uri="tcp://${bindAddress}:${bindPort}"/>

        > <transportConnector name="amqp" uri="amqp://0.0.0.0:5672"/>
      1. export JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk.x86_64/
      2. bin/amq

      2.) send a message using qpid::messaging c++ client (amqp1.0) towards the A-MQ 6.2 broker

      1. qpid-send --connection-options " {protocol:'amqp1.0'}

        " -a "test-queue"
        Segmentation fault (core dumped)

      Show
      1.) A-MQ installation&setup: wget https://repository.jboss.org/nexus/content/repositories/ea/org/jboss/amq/jboss-a-mq/6.2.0.redhat-064/jboss-a-mq-6.2.0.redhat-064.zip unzip jboss-a-mq-6.2.0.redhat-064.zip cd jboss-a-mq-6.2.0.redhat-064 diff etc/broker_orig.xml etc/broker.xml (allow anonymous access and AMQP transport connector) 57a58 > <simpleAuthenticationPlugin anonymousAccessAllowed="true"/> 75c76 < <transportConnector name="openwire" uri="tcp://${bindAddress}:${bindPort}"/> — > <transportConnector name="amqp" uri="amqp://0.0.0.0:5672"/> export JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk.x86_64/ bin/amq 2.) send a message using qpid::messaging c++ client (amqp1.0) towards the A-MQ 6.2 broker qpid-send --connection-options " {protocol:'amqp1.0'} " -a "test-queue" Segmentation fault (core dumped)

      It's possible to send/receive messages via qpid:messaging C++ api towards/from A-MQ 6.1, but there is a client segmentation fault against A-MQ 6.2.

      With regard to that the same clients can send messages to A-MQ 6.1 and cannot send to A-MQ 6.2, I assume it may be an A-MQ broker regression.

        1. amq62-traffic.cap
          2 kB
        2. amq61-traffic.cap
          4 kB
        3. qpid_client_trace.log
          6 kB
        4. qpid_client_coredump.txt
          6 kB
        5. amq-62.log
          0.3 kB

              opiske Otavio Piske
              pematous Petr Matousek
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: