Boost C++ Libraries: Ticket #11812: Access violation error basic_binary_oprimitive https://svn.boost.org/trac10/ticket/11812 <p> Hi receiving below error while trying to initialize binary_oarchive boost::archive::binary_oarchive oa(writer); </p> <p> Unhandled Exception: System.<a class="missing wiki">AccessViolationException</a>: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. </p> <blockquote> <p> at boost.archive.basic_binary_oprimitive&lt;boost::archive::binary_oarchive,char,std::char_traits&lt;char&gt; &gt;.init(basic_binary_oprimitive&lt;boost::archive::binary_oarchive\,char\,std::c </p> </blockquote> <p> har_traits&lt;char&gt; &gt;* ) </p> <blockquote> <p> at boost.archive.binary_oarchive_impl&lt;boost::archive::binary_oarchive,char,std::char_traits&lt;char&gt; &gt;.init(binary_oarchive_impl&lt;boost::archive::binary_oarchive\,char\,std::char_tr </p> </blockquote> <p> aits&lt;char&gt; &gt;* , UInt32 flags) in c:\local\boost_1_55_0\boost\archive\binary_oarchive_impl.hpp:line 58 </p> <blockquote> <p> at boost.archive.binary_oarchive_impl&lt;boost::archive::binary_oarchive,char,std::char_traits&lt;char&gt; &gt;.{ctor}(binary_oarchive_impl&lt;boost::archive::binary_oarchive\,char\,std::char_ </p> </blockquote> <p> traits&lt;char&gt; &gt;* , basic_ostream&lt;char\,std::char_traits&lt;char&gt; &gt;* os, UInt32 flags) in c:\local\boost_1_55_0\boost\archive\binary_oarchive_impl.hpp:line 86 </p> <blockquote> <p> at boost.archive.binary_oarchive.{ctor}(binary_oarchive* , basic_ostream&lt;char\,std::char_traits&lt;char&gt; &gt;* os, UInt32 flags) in c:\local\boost_1_55_0\boost\archive\binary_oarchive </p> </blockquote> <p> .hpp:line 45 </p> <blockquote> <p> at ins_rec(basic_string&lt;char\,std::char_traits&lt;char&gt;\,std::allocator&lt;char&gt; &gt;* fn, basic_string&lt;char\,std::char_traits&lt;char&gt;\,std::allocator&lt;char&gt; &gt;* fpth, Mat* m_bow) in c:\user </p> </blockquote> <p> s\dipak\documents\visual studio 2013\projects\cvtestapp\cvtestapp\cvtestapp.cpp:line 258 </p> <blockquote> <p> at main(String[] args) in c:\users\dipak\documents\visual studio 2013\projects\cvtestapp\cvtestapp\cvtestapp.cpp:line 203 at mainCRTStartupStrArray(String[] arguments) in f:\dd\vctools\crt\crtw32\msilcrt\mcrtexe.cpp:line 301 </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11812 Trac 1.4.3 viboes Sat, 21 Nov 2015 20:31:45 GMT component changed; owner set https://svn.boost.org/trac10/ticket/11812#comment:1 https://svn.boost.org/trac10/ticket/11812#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Robert Ramey</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">serialization</span> </li> </ul> Ticket Robert Ramey Fri, 15 Jan 2016 16:27:46 GMT <link>https://svn.boost.org/trac10/ticket/11812#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11812#comment:2</guid> <description> <p> I can't reproduce this. I'd have to see a small test case. Also the compiler version you're using would be useful. </p> </description> <category>Ticket</category> </item> <item> <author>mallick.dipak@…</author> <pubDate>Sat, 16 Jan 2016 14:39:40 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11812#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11812#comment:3</guid> <description> <p> Thanks for looking at it... it's solved by installing windows binary now it's working fine... thanks again and please close the ticket </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Sat, 16 Jan 2016 16:13:34 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/11812#comment:4 https://svn.boost.org/trac10/ticket/11812#comment:4 <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">invalid</span> </li> </ul> Ticket