activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AMQCPP-298) Example code crashes in 3.2.0 on MacOSX
Date Mon, 31 Jan 2011 14:01:11 GMT

     [ https://issues.apache.org/jira/browse/AMQCPP-298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Timothy Bish resolved AMQCPP-298.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.3.0
                   3.2.5

Testing seems to indicate the latest Thread class patches resolve this issue.

> Example code crashes in 3.2.0 on MacOSX
> ---------------------------------------
>
>                 Key: AMQCPP-298
>                 URL: https://issues.apache.org/jira/browse/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
>             Fix For: 3.2.5, 3.3.0
>
>
> 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 __dyld__ZN4dyld5_mainEPK12macho_headermiPPKcS5_S5_ ()
> #11 0x00007fff5fc016d2 in __dyld__ZN13dyldbootstrap5startEPK12macho_headeriPPKcl ()
> #12 0x00007fff5fc01052 in __dyld__dyld_start ()

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message