Boost C++ Libraries: Ticket #3005: boost serialization crashes on deserializing, when upgrading from 1.34 to 1.37 https://svn.boost.org/trac10/ticket/3005 <p> We recently upgraded from 1.34 to 1.37 and have encountered issues with deserializing existing data. </p> <p> We get a segfault when trying to reopen the data that was created from the previous release, with this error message in addition to the seg fault: Wind/U Error (130) : Function <a class="missing wiki">LocalAlloc</a>, could not allocate memory. </p> <p> It only occurs on our Linux machines. Windows works fine with the same data. Machine and compiler info: </p> <blockquote> <p> Red Hat Enterprise Linux WS release 4 (Nahant Update /gcc/gcc-4.1.2-rhel4 </p> </blockquote> <p> The stack trace is attached. </p> <p> Additional comments: </p> <ol><li> opening the data in windows, saving, then reopening it on Linux works. </li></ol><p> Please advise if there is more information that we can/should provide. </p> <p> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3005 Trac 1.4.3 david.tien@… Fri, 08 May 2009 19:56:07 GMT attachment set https://svn.boost.org/trac10/ticket/3005 https://svn.boost.org/trac10/ticket/3005 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">pubstack.log</span> </li> </ul> <p> stack trace </p> Ticket Robert Ramey Sat, 16 May 2009 21:43:16 GMT <link>https://svn.boost.org/trac10/ticket/3005#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3005#comment:1</guid> <description> <p> "Additional comments: 1. opening the data in windows, saving, then reopening it on Linux works." </p> <p> Looking at this here is an idea. </p> <p> a) take a file that crashes when loading from linux. b) Loaded it with windows and save it to another file c) Verify that it can now be loaded with linux d) Now diff the two files. This should highlight where the difference is. It will likely show some error in the way the data was serialized for the linux machine in the previous version. e) To verify that the problem has since been fixed, Load the file with linux and save it to a THIRD file. Verify that the Third file is in fact idenitical to the second file. </p> <p> Robert Ramey </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Thu, 09 Jul 2009 14:55:31 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3005#comment:2 https://svn.boost.org/trac10/ticket/3005#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> <p> I'm marking this "wont fix" because I don't know what to do about this. </p> Ticket