activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: The Decaf Threading API is in a Shutdown State. Exception
Date Wed, 16 Nov 2011 20:45:30 GMT
On Wed, 2011-11-16 at 12:33 -0800, mrdiesel wrote:
> you are right!!. i commented out shutdown library and I dont get that
> exception anymore. But now I get segmentation fault..:(( 
> 

My advice would be to look at the examples in the source package and see
how the code is organized such that the library is started and stopped
correctly and the CMS resources are free'd 

> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -188941408 (LWP 28796)]
> 0xf7d7e255 in decaf::util::concurrent::Lock::lock (this=0xf4bcf0c0) at
> decaf/util/concurrent/Lock.cpp:54
> 54      decaf/util/concurrent/Lock.cpp: No such file or directory.
>         in decaf/util/concurrent/Lock.cpp
> Current language:  auto; currently c++
> 
> (gdb) backtrace
> #0  0xf7d7e255 in decaf::util::concurrent::Lock::lock (this=0xf4bcf0c0) at
> decaf/util/concurrent/Lock.cpp:54
> #1  0xf7d7e4db in Lock (this=0x313a, object=0xf40021b0, intiallyLocked=true)
> at decaf/util/concurrent/Lock.cpp:32
> #2  0xf794dfeb in activemq::core::ActiveMQConsumer::clearMessagesInProgress
> (this=0xf4002178) at activemq/core/ActiveMQConsumer.cpp:1112
> #3  0xf795ad7e in activemq::core::ActiveMQConsumer::dispatch
> (this=0xf4002178, dispatch=@0xf4bcf240) at
> activemq/core/ActiveMQConsumer.cpp:991
> #4  0xf79832cd in activemq::core::ActiveMQSessionExecutor::dispatch
> (this=0xf4001f08, dispatch=@0xf4bcf240) at
> activemq/core/ActiveMQSessionExecutor.cpp:129
> #5  0xf79835d0 in activemq::core::ActiveMQSessionExecutor::iterate
> (this=0xf4001f08) at activemq/core/ActiveMQSessionExecutor.cpp:166
> #6  0xf79dcc75 in activemq::threads::DedicatedTaskRunner::run
> (this=0x86b1558) at activemq/threads/DedicatedTaskRunner.cpp:111
> #7  0xf7d35392 in (anonymous namespace)::threadWorker (arg=0x87e9138) at
> decaf/lang/Thread.cpp:135
> #8  0x008f53cc in start_thread () from /lib/tls/libpthread.so.0
> #9  0x0080af0e in clone () from /lib/tls/libc.so.6
> 
> 
> now how can i resolve this?
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/The-Decaf-Threading-API-is-in-a-Shutdown-State-Exception-tp4077689p4077794.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.



Mime
View raw message