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

List:       activemq-dev
Subject:    [jira] Commented: (AMQCPP-294) RemoveInfo Segmentation Fault
From:       "Timothy Bish (JIRA)" <jira () apache ! org>
Date:       2011-01-28 22:02:46
Message-ID: 25141103.275941296252166233.JavaMail.jira () thor
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/AMQCPP-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988266#action_12988266 \
] 

Timothy Bish commented on AMQCPP-294:
-------------------------------------

Added a fix in trunk, will start testing it on Mac and Windows when I can.  Fixed \
such that there's no reported leaks on Linux because a non-detached thread was not \
joined.  

Easily back ports of 3.2.x fixes if you want to try it there.

Needs lots of testing to ensure nothing breaks.

> RemoveInfo Segmentation Fault
> -----------------------------
> 
> Key: AMQCPP-294
> URL: https://issues.apache.org/jira/browse/AMQCPP-294
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Affects Versions: 3.1.2
> Environment: Mac OS/X 10.5
> Reporter: Steve Pietrowicz
> Assignee: Timothy Bish
> Priority: Critical
> 
> We're running a pretty complex software stack that uses ActiveMQCPP 3.1.2 on Mac \
> OS/X 10.5, and seeing the following when we run tests against a remote broker \
> (version 5.3.2).   The same tests run property under Linux.   It appears this is \
> occurring because the broker isn't responding promptly, but it's hard for me to \
> tell.   Tests done locally (under Linux) to the same broker pass without error. No \
> valid response received for command: Begin Class = RemoveInfo Value of \
> RemoveInfo::ID_REMOVEINFO = 12 Value of ObjectId is Below:
> Begin Class = ConnectionId
> Value of ConnectionId::ID_CONNECTIONID = 120
> Value of Value = 704fedd0-1e65-2300-3503-bb2230cd0086
> No Data for Class BaseDataStructure
> End Class = ConnectionId
> Value of LastDeliveredSequenceId = 0
> Begin Class = BaseCommand
> No Data for Class BaseDataStructure
> Response Required = 1
> Command Id = 6
> End Class = BaseCommand
> End Class = RemoveInfo
> , check broker.
> 	FILE: activemq/transport/correlator/ResponseCorrelator.cpp, LINE: 168
> 	FILE: activemq/transport/correlator/ResponseCorrelator.cpp, LINE: 176
> 	FILE: activemq/core/ActiveMQConnection.cpp, LINE: 629
> 	FILE: activemq/core/ActiveMQConnection.cpp, LINE: 348
> 	FILE: activemq/core/ActiveMQConnection.cpp, LINE: 255
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_INVALID_ADDRESS at address: 0xb0185048
> [Switching to process 6402 thread 0x11b]
> 0x9148dc7f in pthread_mutex_lock ()
> (gdb) bt
> #0  0x9148dc7f in pthread_mutex_lock ()
> #1  0x9148eb90 in _keymgr_get_and_lock_processwide_ptr_2 ()
> #2  0x914d9451 in _keymgr_get_and_lock_processwide_ptr ()
> #3  0x97b4ceea in _Unwind_Find_FDE ()
> #4  0x97b4a21e in _Unwind_GetIPInfo ()
> #5  0x97b4b729 in _Unwind_RaiseException ()
> #6  0x90049254 in __cxa_throw ()
> #7  0x00b1aade in decaf::net::SocketInputStream::read ()
> #8  0x00afaf89 in decaf::io::BufferedInputStream::bufferData ()
> #9  0x00afb5f1 in decaf::io::BufferedInputStream::read ()
> #10 0x00b05488 in decaf::io::DataInputStream::readInt ()
> #11 0x008e5da8 in activemq::wireformat::openwire::OpenWireFormat::unmarshal ()
> #12 0x0087b8f9 in activemq::transport::IOTransport::run ()
> #13 0x00b163be in decaf::lang::ThreadProperties::runCallback ()
> #14 0x00b142f2 in (anonymous namespace)::threadWorker ()
> #15 0x914b7155 in _pthread_start ()
> #16 0x914b7012 in thread_start ()
> (gdb) 

-- 
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