Bug 459263 - AsynchIO.cpp does not handle "No route to host" error (RHEL4)
Summary: AsynchIO.cpp does not handle "No route to host" error (RHEL4)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 1.0
Hardware: All
OS: Linux
urgent
medium
Target Milestone: 1.0.1
: ---
Assignee: messaging-bugs
QA Contact: Kim van der Riet
URL:
Whiteboard:
Depends On: 457913
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-15 13:35 UTC by Gordon Sim
Modified: 2008-10-06 18:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-06 18:59:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0867 0 normal SHIPPED_LIVE Red Hat Enterprise MRG bug fix and enhancement update 2008-10-06 18:58:51 UTC

Description Gordon Sim 2008-08-15 13:35:04 UTC
+++ This bug was initially created as a clone of Bug #457913 +++

I think this is from the broker...

terminate called after throwing an instance of 'qpid::Exception'
  what():  No route to host (qpid/sys/posix/AsynchIO.cpp:305)

This is from my program...

2008-aug-04 02:16:55 error Exception in client dispatch thread: Connection closed by broker
terminate called after throwing an instance of 'qpid::ConnectionException'
  what():  Connection closed by broker

And this is from the broker...

[1]+  Aborted                 (core dumped) ~condor/qpid.INSTALL/sbin/qpidd --no-data-dir --no-module-dir --auth no --port 15672
Aborted

Seems AsynchIO.cpp is not handling all the errors it should.

--- Additional comment from gsim on 2008-08-05 08:29:06 EDT ---

Fixed by r682685 on trunk and r682688 on qpid.0-10

--- Additional comment from jross on 2008-08-05 16:46:10 EDT ---

Here's another error that went to the bottom of that if ladder:

 Aug  5 16:19:50 mrg2 qpidd[10116]: 2008-aug-05 16:19:50 critical Daemon startup failed: Connection timed out (qpid/sys/posix/AsynchIO.cpp:298) 

Line 298 is the QPID_POSIX_CHECK(rc) line at rev 676581.  I was using the 1.0 rpms.

This is reproducible by setting up a client listening on a queue on a broker, then cutting the network out and waiting, presumably, for the timeout.

Note that this problem *is* apparently addressed by the change at 682688.

--- Additional comment from mfarrellee on 2008-08-05 16:56:00 EDT ---

I believe I hit this by connecting to the broker with qpid-tool over the VPN and then having the VPN disconnect (overnight). So a similar situation to what Justin encountered.

Comment 2 Frantisek Reznicek 2008-09-16 13:58:26 UTC
RHTS test MRG_Messaging/qpid_asynchio_fails_on_network_failure_bz457913 proves that No route to host issue is solved now (->VERIFIED)

Comment 4 errata-xmlrpc 2008-10-06 18:59:17 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-2008-0867.html


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