Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.2.0
-
None
-
MacOSX Snow Leopard
-
Regression
Description
This happens for all programs in src/examples. The examples in 3.1.3 runs fine without this problem.
~/devel/activemq-cpp-library-3.2.0/src/examples> gdb ./.libs/chat
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ........... done
(gdb) r
Starting program: activemq-cpp-library-3.2.0/src/examples/.libs/chat
Reading symbols for shared libraries .++++++++++.. done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xfffffffffffffff8
0x00007fff85f4c0aa in std::string::_Rep::_M_grab ()
(gdb) bt
#0 0x00007fff85f4c0aa in std::string::_Rep::_M_grab ()
#1 0x00007fff85f4c171 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string ()
#2 0x000000010001e475 in Level [inlined] () at decaf/util/logging/Handler.cpp:31
#3 0x000000010001e475 in Level [inlined] () at activemq-cpp-library-3.2.0/src/main/decaf/util/logging/Level.h:56
#4 0x000000010001e475 in _static_initialization_and_destruction_0 (_initialize_p=<value temporarily unavailable, due to optimizations>, __priority=<value temporarily unavailable, due to optimizations>) at decaf/util/logging/Handler.cpp:31
#5 0x00007fff5fc0d500 in _dyld_ZN16ImageLoaderMachO18doModInitFunctionsERKN11ImageLoader11LinkContextE ()
#6 0x00007fff5fc0bcec in _dyld_ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEj ()
#7 0x00007fff5fc0bc9d in _dyld_ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEj ()
#8 0x00007fff5fc0bda6 in _dyld_ZN11ImageLoader15runInitializersERKNS_11LinkContextE ()
#9 0x00007fff5fc0210e in _dyld_ZN4dyld24initializeMainExecutableEv ()
#10 0x00007fff5fc06981 in _dyldZN4dyld5_mainEPK12macho_headermiPPKcS5_S5 ()
#11 0x00007fff5fc016d2 in _dyld_ZN13dyldbootstrap5startEPK12macho_headeriPPKcl ()
#12 0x00007fff5fc01052 in _dyld_dyld_start ()
Attachments
Issue Links
- is duplicated by
-
AMQCPP-294 RemoveInfo Segmentation Fault
- Resolved
- is related to
-
AMQCPP-369 dynamic library segfaults on load under Mac OS/X
- Resolved