activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Schwartz (JIRA)" <>
Subject [jira] [Created] (AMQCPP-600) Segfault in MutexProperties after shutdownLibrary was called and returned
Date Tue, 26 Jul 2016 18:44:20 GMT
Josh Schwartz created AMQCPP-600:

             Summary: Segfault in MutexProperties after shutdownLibrary was called and returned
                 Key: AMQCPP-600
             Project: ActiveMQ C++ Client
          Issue Type: Bug
          Components: Decaf
    Affects Versions: 3.9.1, 3.8.4
         Environment: $ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.8 (Santiago)

$ cat /proc/version
Linux version 2.6.32-642.el6.x86_64 ( (gcc version
4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) ) #1 SMP Wed Apr 13 00:51:26 EDT 2016
            Reporter: Josh Schwartz
            Assignee: Timothy Bish

During shutdown of our application there seem to still be ActiveMQ-CPP threads running which
rarely cause a segfault.  Attached is an analysis of the core file from one of these instances.
 The stack trace of the thread which caused the segfault was:

Program terminated with signal 11, Segmentation fault.
#0  0x0000003619689adf in memcpy () from /lib64/
#0  0x0000003619689adf in memcpy () from /lib64/
#1  0x0000003624a9dadc in std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::append(std::basic_string<char, std::char_traits<char>, std::allocator<char>
> const&) () from /usr/lib64/
#2  0x00002ba8ca62d152 in MutexProperties (this=0x2ba8d81ffb40) at decaf/util/concurrent/Mutex.cpp:50
#3  decaf::util::concurrent::Mutex::Mutex (this=0x2ba8d81ffb40) at decaf/util/concurrent/Mutex.cpp:78
#4  0x00002ba8ca63c3ee in AbstractCollection (this=0x22bd960) at ./decaf/util/AbstractCollection.h:65
#5  AbstractList (this=0x22bd960) at ./decaf/util/AbstractList.h:341
#6  AbstractSequentialList (this=0x22bd960) at ./decaf/util/AbstractSequentialList.h:59
#7  LinkedList (this=0x22bd960) at ./decaf/util/LinkedList.h:91
#8  decaf::util::concurrent::ExecutorKernel::WorkerKiller::run (this=0x22bd960) at decaf/util/concurrent/ThreadPoolExecutor.cpp:248
#9  0x00002ba8ca6270c2 in decaf::util::TimerImpl::run (this=0x23b32a0) at decaf/util/Timer.cpp:156
#10 0x00002ba8ca5a612f in (anonymous namespace)::runCallback (arg=0x226a890) at decaf/internal/util/concurrent/Threading.cpp:268
#11 0x00002ba8ca5a5ea4 in (anonymous namespace)::threadEntryMethod (arg=0x226a890) at decaf/internal/util/concurrent/Threading.cpp:256
#12 0x000000361a207aa1 in start_thread () from /lib64/
#13 0x00000036196e8aad in clone () from /lib64/

This message was sent by Atlassian JIRA

View raw message