Bug 501789 - segfault in clusters ErrorCheck::delivered()
Summary: segfault in clusters ErrorCheck::delivered()
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 1.1.1
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: 1.1.2
: ---
Assignee: Alan Conway
QA Contact: Jan Sarenik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-20 17:54 UTC by Gordon Sim
Modified: 2009-06-12 17:39 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-06-12 17:39:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
reproducer (2.04 KB, text/x-c++src)
2009-05-20 17:54 UTC, Gordon Sim
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:1097 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Messaging bug fixing update 2009-06-12 17:38:48 UTC

Description Gordon Sim 2009-05-20 17:54:12 UTC
Created attachment 344853 [details]
reproducer

Description of problem:

Cluster nodes crash, apparently after an application error has been signalled (on all nodes).

Version-Release number of selected component (if applicable):

qpidd-0.5.752581-5.el5 (and qpidd-0.5.752581-6.el5)

How reproducible:

100% with attached reproducer

Steps to Reproduce:
1. start multi-node cluster
2. run attached test program against one of nodes
  
Actual results:

segfaults on all nodes

Expected results:

no segfaults on any nodes

Additional info:

Comment 2 Alan Conway 2009-05-21 12:02:42 UTC
Yes.

Comment 3 Jan Sarenik 2009-05-26 07:41:17 UTC
These are steps to reproduce/verify:

---------------------------------------------------------------
# yum install qpidd-devel qpidd-cluster
# edit /etc/ais/openais.conf - networkaddr

echo -n "Compiling sender.cpp... "
g++ -I/usr/include/qpid-boost -lqpidclient sender.cpp -o sender \
  && echo "done"

service openais restart
setenforce 0
qpidd -t -p 12345 --cluster-name=jasan \
  --data-dir=/tmp/qpidd --auth=no &> qpidd.log &
qpidd -t -p 12346 --cluster-name=jasan \
  --data-dir=/tmp/qpidd2 --auth=no &> qpidd2.log &

./sender localhost 12345 &> sender.log &

let i=1
echo -n "Running: "
while pgrep qpidd &> /dev/null
do
  echo -n "*"
  if [ $i -eq 100 ]
  then
    break
  fi
  let i++
  sleep 1
done
echo

pkill sender
pkill qpidd
---------------------------------------------------------------

Comment 4 Jan Sarenik 2009-05-26 08:30:54 UTC
Reproduced on
  qpidd-cluster-0.5.752581-5.el5

Verified on
  qpidd-cluster-0.5.752581-7.el5

RHEL5.3 i386 and x86_64

Comment 6 errata-xmlrpc 2009-06-12 17:39:00 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-1097.html


Note You need to log in before you can comment on or make changes to this bug.