[Boost-bugs] [Boost C++ Libraries] #11147: boost serialization terminates with EXC_BAD_ACCESS on Mac OSX 10.10.2

Subject: [Boost-bugs] [Boost C++ Libraries] #11147: boost serialization terminates with EXC_BAD_ACCESS on Mac OSX 10.10.2
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-03-27 05:25:44


#11147: boost serialization terminates with EXC_BAD_ACCESS on Mac OSX 10.10.2
----------------------------------------------+---------------------------
 Reporter: Jason Ramapuram <loderunner88@…> | Owner: ramey
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
  Version: Boost 1.57.0 | Severity: Problem
 Keywords: |
----------------------------------------------+---------------------------
 I forked boost from git @ boostorg/boost & pulled the 'boost-1.57.0' tag.
 I then proceeded to build boost with c++11 & as a static library.

 I then built the attached program with 'g++ -O0 -g -std=gnu++0x
 boost_serialization_test.cpp -I boost/include -L boost/lib
 boost/lib/libboost_serialization.a && lldb ./a.out' & it dies as follows
 [stacktrace from lldb]:

 * thread #1: tid = 0x347a1, 0x0000000100000c89 a.out`main + 25 at
 boost_serialization_test.cpp:22, queue = 'com.apple.main-thread', stop
 reason = EXC_BAD_ACCESS (code=2, address=0x7fff5d472128)
     frame #0: 0x0000000100000c89 a.out`main + 25 at
 boost_serialization_test.cpp:22
    19 }
    20
    21 int main()
 -> 22 {
    23 float pRand[SZ];
    24 generateRandom(pRand, SZ);
    25 std::vector<float> test(pRand, pRand + SZ);

 Note: truncating a zero from SZ causes this to have no issues, i.e
 '#define SZ 10368000
 ' --> '#define SZ 1036800'

 I did not have this issue with boost-1.55.0

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11147>
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:18 UTC