activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sidney Fong (JIRA)" <>
Subject [jira] Created: (AMQCPP-298) Example code crashes in 3.2.0 on MacOSX
Date Mon, 28 Jun 2010 14:18:51 GMT
Example code crashes in 3.2.0 on MacOSX

                 Key: AMQCPP-298
             Project: ActiveMQ C++ Client
          Issue Type: Bug
          Components: CMS Impl, Example Code
    Affects Versions: 3.2.0
         Environment: MacOSX Snow Leopard
            Reporter: Sidney Fong
            Assignee: Timothy Bish

This happens for all programs in src/examples. The examples in 3.1.3 runs fine without this

~/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 ...........

(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 __dyld__ZN4dyld5_mainEPK12macho_headermiPPKcS5_S5_ ()
#11 0x00007fff5fc016d2 in __dyld__ZN13dyldbootstrap5startEPK12macho_headeriPPKcl ()
#12 0x00007fff5fc01052 in __dyld__dyld_start ()

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

View raw message