Boost C++ Libraries: Ticket #685: Deserialization broken for Windows MingW. https://svn.boost.org/trac10/ticket/685 <pre class="wiki">I'm attemptting to deserialize a piece of XML, using the following code: stringstream ss(stringstream::in | stringstream::out); ss &lt;&lt; beliefsParam; assert(ss.good()); try { boost::archive::xml_iarchive ia(ss); ia.register_type(static_cast&lt;BBSettings *&gt;(NULL)); ia &gt;&gt; BOOST_SERIALIZATION_NVP(b); } catch( boost::archive::archive_exception e ) { cout &lt;&lt; "DESERIALIZATION ERROR: " &lt;&lt; e.what(); exit(0); } This works great under OS-X and Ubuntu, but under Windows (MingW environment) I get a SIGTRAP: Program received signal SIGTRAP, Trace/breakpoint trap. 0x7c901231 in ?? () (gdb) bt #0 0x7c901231 in ?? () #1 0x7c96cd80 in ?? () #2 0x7c96df66 in ?? () #3 0x7c94a5d0 in ?? () #4 0x7c9268ad in ?? () #5 0x77bfc2de in _libkernel32_a_iname () #6 0x6f6494a5 in _libwsock32_a_iname () #7 0x6f696148 in _libwsock32_a_iname () #8 0x6f696e17 in _libwsock32_a_iname () #9 0x6f6590b8 in _libwsock32_a_iname () #10 0x6f664eb1 in _libwsock32_a_iname () #11 0x0049321e in boost::archive::detail::iserializer&lt;boost::archive::xml_iarchi ve, std::vector&lt;std::string, std::allocator&lt;std::string&gt; &gt; &gt;::load_object_data(b oost::archive::detail::basic_iarchive&amp;, void*, unsigned) const (this=0x4e165c, ar=@0x22fc60, x=0x22f414, file_version=0) at D:/Boost/include/boost-1_33_1/boost/archive/detail/iserializer.hpp:96 #12 0x6f642362 in _libwsock32_a_iname () #13 0x00491517 in boost::archive::detail::iserializer&lt;boost::archive::xml_iarchi ve, Employee&gt;::load_object_data(boost::archive::detail::basic_iarchive&amp;, void*, unsigned) const (this=0x4e1608, ar=@0x22fc60, x=0x22f3c0, file_version=0) at D:/Boost/include/boost-1_33_1/boost/serialization/nvp.hpp:54 #14 0x6f642362 in _libwsock32_a_iname () #15 0x00492d49 in boost::archive::detail::iserializer&lt;boost::archive::xml_iarchi ---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit--- ve, std::vector&lt;Employee, std::allocator&lt;Employee&gt; &gt; &gt;::load_object_data(boost:: archive::detail::basic_iarchive&amp;, void*, unsigned) const (this=0x4e1650, ar=@0x22fc60, x=0x22fd7c, file_version=0) at D:/Boost/include/boost-1_33_1/boost/archive/detail/iserializer.hpp:145 #16 0x6f642362 in _libwsock32_a_iname () #17 0x00482579 in void SchedulerBeliefs::serialize&lt;boost::archive::xml_iarchive&gt; (boost::archive::xml_iarchive&amp;, unsigned) (this=0x22fd50, ar=@0x22fc60, version=0) at D:/Boost/include/boost-1_33_1/boost/archive/detail/iserializer.hpp:145 #18 0x0049004f in boost::archive::detail::iserializer&lt;boost::archive::xml_iarchi ve, SchedulerBeliefs&gt;::load_object_data(boost::archive::detail::basic_iarchive&amp;, void*, unsigned) const (this=0x4e15e4, ar=@0x22fc60, x=0x22fd50, file_version=0) at D:/Boost/include/boost-1_33_1/boost/serialization/serialization.hpp:74 #19 0x6f642362 in _libwsock32_a_iname () #20 0x00406438 in main (argc=2, argv=0x3d2880) at D:/Boost/include/boost-1_33_1/boost/archive/detail/iserializer.hpp:145 (gdb) </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/685 Trac 1.4.3 Robert Ramey Fri, 22 Sep 2006 17:48:13 GMT <link>https://svn.boost.org/trac10/ticket/685#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/685#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=396141 Hmm - should work ok as far as I can tell. I can't see any problem. Note that mingw is tested in a regular basis. Sorry I can't be of more help. Robert Ramey </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Fri, 22 Sep 2006 17:48:14 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/685#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/685#comment:2</guid> <description> <pre class="wiki">Logged In: YES user_id=396141 Thank you for submitting a bug report to BOOST </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>sf-robot</dc:creator> <pubDate>Sat, 07 Oct 2006 02:20:07 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/685#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/685#comment:3</guid> <description> <pre class="wiki">Logged In: YES user_id=1312539 This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>sf-robot</dc:creator> <pubDate>Sat, 07 Oct 2006 02:20:08 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/685#comment:4 https://svn.boost.org/trac10/ticket/685#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> Ticket