qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Ross (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-6415) Core dump in ha_tests and interlink_tests with proton 0.9
Date Thu, 26 Feb 2015 20:36:04 GMT

    [ https://issues.apache.org/jira/browse/QPID-6415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14339120#comment-14339120
] 

Justin Ross commented on QPID-6415:
-----------------------------------

Reviewed by Ken.  Approved for 0.32.

> Core dump in ha_tests and interlink_tests with proton 0.9
> ---------------------------------------------------------
>
>                 Key: QPID-6415
>                 URL: https://issues.apache.org/jira/browse/QPID-6415
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Client
>    Affects Versions: 0.30
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>            Priority: Blocker
>             Fix For: 0.32
>
>         Attachments: test.sh
>
>
> The qpid-send and qpid-receive clients dump core in 
>     ha_tests.LongTests.test_failover_send_receive
> The python test driver process dumps core in interlink_tests
> In both cases there is a double free during connection clean-up as part of a reconnect.
It is not clear if this is a bug in the c++ qpid messaging client or in proton.
> {noformat}
> ==20092== Invalid read of size 8
> ==20092==    at 0x5ABACF5: pn_connection_unbound (engine.c:167)
> ==20092==    by 0x5ABE1CB: pn_transport_unbind (transport.c:636)
> ==20092==    by 0x5ABE247: pn_transport_finalize (transport.c:519)
> ==20092==    by 0x5AAF527: pn_class_decref (object.c:97)
> ==20092==    by 0x5ABA204: pn_connection_finalize (engine.c:463)
> ==20092==    by 0x5AAF527: pn_class_decref (object.c:97)
> ==20092==    by 0x4C5A8C6: qpid::messaging::amqp::ConnectionContext::reset() (ConnectionContext.cpp:547)
> ==20092==    by 0x4C5AD4C: qpid::messaging::amqp::ConnectionContext::checkDisconnected()
(ConnectionContext.cpp:572)
> ==20092==    by 0x4C5A99D: qpid::messaging::amqp::ConnectionContext::check() (ConnectionContext.cpp:559)
> ==20092==    by 0x4C5AF4B: qpid::messaging::amqp::ConnectionContext::wait() (ConnectionContext.cpp:593)
> ==20092==    by 0x4C5B0C2: qpid::messaging::amqp::ConnectionContext::wait(boost::shared_ptr<qpid::messaging::amqp::SessionContext>,
boost::shared_ptr<qpid::messaging::amqp::SenderContext>) (ConnectionContext.cpp:612)
> ==20092==    by 0x4C59DAD: qpid::messaging::amqp::ConnectionContext::send(boost::shared_ptr<qpid::messaging::amqp::SessionContext>,
boost::shared_ptr<qpid::messaging::amqp::SenderContext>, qpid::messaging::Message const&,
bool) (ConnectionContext.cpp:462)
> ==20092==    by 0x4C79D80: qpid::messaging::amqp::SenderHandle::send(qpid::messaging::Message
const&, bool) (SenderHandle.cpp:42)
> ==20092==    by 0x4CD4399: qpid::messaging::Sender::send(qpid::messaging::Message const&,
bool) (Sender.cpp:40)
> ==20092==    by 0x40E45B: main (qpid-send.cpp:413)
> ==20092==  Address 0x5fee1b0 is 192 bytes inside a block of size 272 free'd
> ==20092==    at 0x4A07577: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==20092==    by 0x5AAF545: pn_class_decref (object.c:103)
> ==20092==    by 0x5AAF527: pn_class_decref (object.c:97)
> ==20092==    by 0x5AAF527: pn_class_decref (object.c:97)
> ==20092==    by 0x5AAF527: pn_class_decref (object.c:97)
> ==20092==    by 0x5ABACF4: pn_connection_unbound (engine.c:168)
> ==20092==    by 0x5ABE1CB: pn_transport_unbind (transport.c:636)
> ==20092==    by 0x5ABE247: pn_transport_finalize (transport.c:519)
> ==20092==    by 0x5AAF527: pn_class_decref (object.c:97)
> ==20092==    by 0x5ABA204: pn_connection_finalize (engine.c:463)
> ==20092==    by 0x5AAF527: pn_class_decref (object.c:97)
> ==20092==    by 0x4C5A8C6: qpid::messaging::amqp::ConnectionContext::reset() (ConnectionContext.cpp:547)
> ==20092==    by 0x4C5AD4C: qpid::messaging::amqp::ConnectionContext::checkDisconnected()
(ConnectionContext.cpp:572)
> ==20092==    by 0x4C5A99D: qpid::messaging::amqp::ConnectionContext::check() (ConnectionContext.cpp:559)
> ==20092==    by 0x4C5AF4B: qpid::messaging::amqp::ConnectionContext::wait() (ConnectionContext.cpp:593)
> ==20092==    by 0x4C5B0C2: qpid::messaging::amqp::ConnectionContext::wait(boost::shared_ptr<qpid::messaging::amqp::SessionContext>,
boost::shared_ptr<qpid::messaging::amqp::SenderContext>) (ConnectionContext.cpp:612)
> ==20092==    by 0x4C59DAD: qpid::messaging::amqp::ConnectionContext::send(boost::shared_ptr<qpid::messaging::amqp::SessionContext>,
boost::shared_ptr<qpid::messaging::amqp::SenderContext>, qpid::messaging::Message const&,
bool) (ConnectionContext.cpp:462)
> ==20092==    by 0x4C79D80: qpid::messaging::amqp::SenderHandle::send(qpid::messaging::Message
const&, bool) (SenderHandle.cpp:42)
> ==20092==    by 0x4CD4399: qpid::messaging::Sender::send(qpid::messaging::Message const&,
bool) (Sender.cpp:40)
> ==20092==    by 0x40E45B: main (qpid-send.cpp:413)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message