[Boost-bugs] [Boost C++ Libraries] #9877: freelist test crashes on Linux/GCC/release/x86

Subject: [Boost-bugs] [Boost C++ Libraries] #9877: freelist test crashes on Linux/GCC/release/x86
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-04-13 10:33:02


#9877: freelist test crashes on Linux/GCC/release/x86
-------------------------------------+--------------------------
 Reporter: gjasny@… | Owner: timblechmann
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: lockfree
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------
 Hello,

 on a Redhat 6.5 system with GCC 4.4.7 I compiled the latest trunk with
 these parameters: ''toolset=gcc architecture=x86 address-model=32
 variant=release''

 I get the following error in the testsuite:
 {{{
 unknown location(0): fatal error in "fixed_size_freelist_test": memory
 access violation at address: 0x1c93bbed: no mapping at fault address
 freelist_test.cpp(113): last checkpoint
 }}}

 {{{
 (gdb) bt
 #0 0x0805d652 in boost::lockfree::queue<dummy*, boost::parameter::void_,
 boost::parameter::void_, boost::parameter::void_>::push(dummy* const&) ()
 #1 0x0805f1f2 in
 freelist_tester<boost::lockfree::detail::fixed_size_freelist<dummy,
 boost::lockfree::detail::runtime_sized_freelist_storage<dummy,
 std::allocator<dummy> > >, true>::allocate() ()
 #2 0x08054367 in boost::detail::thread_data<boost::_bi::bind_t<void,
 boost::_mfi::mf0<void,
 freelist_tester<boost::lockfree::detail::fixed_size_freelist<dummy,
 boost::lockfree::detail::runtime_sized_freelist_storage<dummy,
 std::allocator<dummy> > >, true> >,
 boost::_bi::list1<boost::_bi::value<freelist_tester<boost::lockfree::detail::fixed_size_freelist<dummy,
 boost::lockfree::detail::runtime_sized_freelist_storage<dummy,
 std::allocator<dummy> > >, true>*> > > >::run()
     ()
 #3 0x00125b26 in thread_proxy () from /uhome/gjasny/src/modular-
 boost/bin.v2/libs/thread/build/gcc-4.4.7/release/address-
 model-32/architecture-x86/threading-multi/libboost_thread.so.1.56.0
 #4 0x00cd1b39 in start_thread () from /lib/libpthread.so.0
 #5 0x00c14d6e in clone () from /lib/libc.so.6
 }}}

 I an **not** able to reproduce the crash in x86 debug mode or any x64
 mode.

 {{{
 [gjasny_at_drsbuild05.drs atomic]$ git describe
 fatal: No tags can describe '95c083ddfd990f7c848b785e5a0e9d282da5359b'.
 Try --always, or create some tags.


 [gjasny_at_drsbuild05.drs lockfree]$ git describe
 fatal: No tags can describe '8ffc9b3f26cd5802655ceb7d4188911f1cf7067d'.
 Try --always, or create some tags.
 }}}

 Thanks,
 Gregor

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9877>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC