RDMA client can segfault if no SASL mech specified.
----------------------------------------------------

                 Key: QPID-3171
                 URL: https://issues.apache.org/jira/browse/QPID-3171
             Project: Qpid
          Issue Type: Bug
          Components: C++ Client
            Reporter: michael j. goulish
            Assignee: michael j. goulish


Using the following scripts to start the broker and to run a perftest client ( 
using RDMA ) I get a client segv about 3% of the time.

broker start script:

#! /bin/bash

export LD_LIBRARY_PATH=$TRUNK/qpid/cpp/src/.libs

QPID_SRC=$TRUNK/qpid/cpp/src
QPIDD=${QPID_SRC}/.libs/qpidd

echo $QPIDD

rm -rf /tmp/mick
mkdir /tmp/mick

$QPIDD                                        \
  --no-module-dir                             \
  --load-module ${QPID_SRC}/.libs/rdma.so     \
  --data-dir /tmp/mick/data_1                 \
  --auth=yes                                  \
  --mgmt-enable=yes                           \
  --port 5813                                 \
  --log-enable info+                          \
  --log-to-file /tmp/mick/qpidd_1.log         \
  --log-source yes                            \
  --sasl-config=${QPID_SRC}/tests/sasl_config \
  -d

echo "started broker from $QPIDD"



client run script:

#! /bin/bash

rm core.*

count=0
while [ $count -lt 10000 ]
do
  echo "==========================================="
  echo "TEST $count"
  echo "==========================================="
  core_files=`ls -l core.* | wc -l`
  echo "core files:  ${core_files}"

  if [ ${core_files} -gt 0 ]; then
    echo "core files found!"
    exit 1
  else
    echo "no core files found."
  fi
  ./qpid-perftest --username zig --password zig --protocol rdma --broker 
20.0.40.14 --port 5813 --qt 4 --count 10  
  count=$(( $count + 1 ))
done




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to