[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-dev
Subject:    [jira] Resolved: (AMQCPP-170) SEGV in
From:       "Timothy Bish (JIRA)" <jira () apache ! org>
Date:       2008-02-26 0:37:17
Message-ID: 746357584.1203986237816.JavaMail.jira () brutus
[Download RAW message or body]


     [ https://issues.apache.org/activemq/browse/AMQCPP-170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Timothy Bish resolved AMQCPP-170.
---------------------------------

    Resolution: Fixed

Resolved in trunk rev. 631049

> SEGV in activemq::connector::openwire::OpenWireConnector::createProducer
> ------------------------------------------------------------------------
> 
> Key: AMQCPP-170
> URL: https://issues.apache.org/activemq/browse/AMQCPP-170
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: Openwire
> Affects Versions: 2.1, 2.1.1, 2.1.2, 2.1.3
> Environment: Linux 2.6.9-42.ELsmp #1 SMP Sat Aug 12 09:39:11 CDT 2006 i686 i686 \
>                 i386 GNU/Linux
> Reporter: Ismail Mehdi
> Assignee: Timothy Bish
> Fix For: 2.2
> 
> Attachments: OpenWireConnector.cpp
> 
> 
> Client setup is a JMS client sending messages to a C++ process with a timeout. \
> Under heavy load the C++ process does not reply fast enough and the  java client \
> gives-up. If the connection is dropped while the C++ is inside of \
> OpenWireConnector::createProducer, an exception is thrown and the cleanup code \
> causes a segv in: activemq/connector/openwire/OpenWireConnector.cpp:752
> (this is for CMS 2.1)
> reproduced for 2.1.3 as well. line 679 for 2.1.3
> Fix is pretty straightforward, do not delete the producerInfo twice. The first time \
> it is done in producer should be sufficient.  Alternatively, I imagine setting \
> producerInfo to 0 once it is deleted would avoid the crash as well.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic