qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Giusti (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Reopened: (QPID-2132) qmf-agent crashes occasionally on Control-C
Date Thu, 08 Oct 2009 17:38:31 GMT

     [ https://issues.apache.org/jira/browse/QPID-2132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ken Giusti reopened QPID-2132:
------------------------------


Additional issue - the fix works, but only for the connection management thread (connThread).
  Same issue exists for publish thread (pubThread).  Less likely to hit due to the longer
timeouts, but I can occasionally hit it now that the connThread fix is in place.

Core was generated by `./qmf-agent 127.0.0.1 59736'.
Program terminated with signal 11, Segmentation fault.
[New process 11905]
[New process 11904]
[New process 11903]
#0  qpid::management::ManagementAgentImpl::PublishThread::run (this=0x2b47c8e74438) at qpid/agent/ManagementAgentImpl.cpp:915
915             agent.periodicProcessing();
(gdb) where
#0  qpid::management::ManagementAgentImpl::PublishThread::run (this=0x2b47c8e74438) at qpid/agent/ManagementAgentImpl.cpp:915
#1  0x00002b47c92db9ba in runRunnable (p=0x0) at qpid/sys/posix/Thread.cpp:35
#2  0x0000003ffcc064a7 in start_thread () from /lib64/libpthread.so.0
#3  0x0000003ffc0d3c2d in clone () from /lib64/libc.so.6
(gdb) quit

Will provide patch shortly....

> qmf-agent crashes occasionally on Control-C
> -------------------------------------------
>
>                 Key: QPID-2132
>                 URL: https://issues.apache.org/jira/browse/QPID-2132
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>            Reporter: Ken Giusti
>         Attachments: mgmtAgent.patch
>
>
> Reproducible on trunk.
> Run the qmf-agent (cpp/examples), hit control-C to interrupt it - segfaults about 1 or
2 times out of ten.
> Race condition on cleanup of ManagementAgentImpl class.  I'll post a patch shortly....

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


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message