You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by duttaab <ab...@actiance.com> on 2018/02/22 04:16:27 UTC

Active MQ-CPP library core dumps

Hi, 

Hope not braking the sanctity of this Dev forum by posting it and not in
User forum, as I believe dev folks can identify the bt clearly.
  
I am getting the following core/crash dump while using the AcitveMQ-CPP
(C++) library. What I observe is if I disable the Inactivity Monitor this
crash occurs, even if my application is idle. 

This is the configuration - 
            <transportConnector name="openwire"
uri="tcp://0.0.0.0:61616?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600&amp;transport.useInactivityMonitor=false"/>
  
Any help in this regard will be appreciated. 

(gdb) bt 
#0  0x00007f32ada79989 in raise () from /lib64/libc.so.6 
#1  0x00007f32ada7b098 in abort () from /lib64/libc.so.6 
#2  0x00007f32ae37d9d5 in __gnu_cxx::__verbose_terminate_handler() () from
/lib64/libstdc++.so.6 
#3  0x00007f32ae37b946 in ?? () from /lib64/libstdc++.so.6 
#4  0x00007f32ae37b973 in std::terminate() () from /lib64/libstdc++.so.6 
#5  0x00007f32ae37c4df in __cxa_pure_virtual () from /lib64/libstdc++.so.6 
#6  0x00007f32afe6b81d in decaf::util::concurrent::Lock::~Lock
(this=0x7f31e6ffcbf0, __in_chrg=<optimized out>) at
decaf/util/concurrent/Lock.cpp:45 
#7  0x00007f32afc88d30 in activemq::threads::CompositeTaskRunner::wakeup
(this=<optimized out>) at activemq/threads/CompositeTaskRunner.cpp:154 
#8  0x00007f32afce9ae5 in
activemq::transport::inactivity::InactivityMonitor::readCheck
(this=0x7f31ac00c130) 
    at activemq/transport/inactivity/InactivityMonitor.cpp:400 
#9  0x00007f32afe66abd in decaf::util::TimerImpl::run (this=0x7f31ac00c890)
at decaf/util/Timer.cpp:156 
#10 0x00007f32afde23d2 in (anonymous namespace)::runCallback
(arg=0x7f31ac002050) at decaf/internal/util/concurrent/Threading.cpp:268 
#11 0x00007f32afde2c0c in (anonymous namespace)::threadEntryMethod
(arg=0x7f31ac002050) at decaf/internal/util/concurrent/Threading.cpp:256 
#12 0x00007f32b06b7df3 in start_thread () from /lib64/libpthread.so.0 
#13 0x00007f32adb3a3dd in clone () from /lib64/libc.so.6 


Thanks 
Abhi



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html

Re: Active MQ-CPP library core dumps

Posted by Timothy Bish <ta...@gmail.com>.
Please direct questions to the users list, the dev list is for 
discussion of ongoing ActiveMQ development.

On 02/21/2018 11:16 PM, duttaab wrote:
> Hi,
>
> Hope not braking the sanctity of this Dev forum by posting it and not in
> User forum, as I believe dev folks can identify the bt clearly.
>    
> I am getting the following core/crash dump while using the AcitveMQ-CPP
> (C++) library. What I observe is if I disable the Inactivity Monitor this
> crash occurs, even if my application is idle.
>
> This is the configuration -
>              <transportConnector name="openwire"
> uri="tcp://0.0.0.0:61616?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600&amp;transport.useInactivityMonitor=false"/>
>    
> Any help in this regard will be appreciated.
>
> (gdb) bt
> #0  0x00007f32ada79989 in raise () from /lib64/libc.so.6
> #1  0x00007f32ada7b098 in abort () from /lib64/libc.so.6
> #2  0x00007f32ae37d9d5 in __gnu_cxx::__verbose_terminate_handler() () from
> /lib64/libstdc++.so.6
> #3  0x00007f32ae37b946 in ?? () from /lib64/libstdc++.so.6
> #4  0x00007f32ae37b973 in std::terminate() () from /lib64/libstdc++.so.6
> #5  0x00007f32ae37c4df in __cxa_pure_virtual () from /lib64/libstdc++.so.6
> #6  0x00007f32afe6b81d in decaf::util::concurrent::Lock::~Lock
> (this=0x7f31e6ffcbf0, __in_chrg=<optimized out>) at
> decaf/util/concurrent/Lock.cpp:45
> #7  0x00007f32afc88d30 in activemq::threads::CompositeTaskRunner::wakeup
> (this=<optimized out>) at activemq/threads/CompositeTaskRunner.cpp:154
> #8  0x00007f32afce9ae5 in
> activemq::transport::inactivity::InactivityMonitor::readCheck
> (this=0x7f31ac00c130)
>      at activemq/transport/inactivity/InactivityMonitor.cpp:400
> #9  0x00007f32afe66abd in decaf::util::TimerImpl::run (this=0x7f31ac00c890)
> at decaf/util/Timer.cpp:156
> #10 0x00007f32afde23d2 in (anonymous namespace)::runCallback
> (arg=0x7f31ac002050) at decaf/internal/util/concurrent/Threading.cpp:268
> #11 0x00007f32afde2c0c in (anonymous namespace)::threadEntryMethod
> (arg=0x7f31ac002050) at decaf/internal/util/concurrent/Threading.cpp:256
> #12 0x00007f32b06b7df3 in start_thread () from /lib64/libpthread.so.0
> #13 0x00007f32adb3a3dd in clone () from /lib64/libc.so.6
>
>
> Thanks
> Abhi
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html
>

-- 
Tim Bish
twitter: @tabish121
blog: http://timbish.blogspot.com/