Opened 7 years ago

Closed 7 years ago

#11812 closed Bugs (invalid)

Access violation error basic_binary_oprimitive

Reported by: mallick.dipak@… Owned by: Robert Ramey
Milestone: To Be Determined Component: serialization
Version: Boost 1.57.0 Severity: Problem
Keywords: Cc:

Description

Hi receiving below error while trying to initialize binary_oarchive boost::archive::binary_oarchive oa(writer);

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

at boost.archive.basic_binary_oprimitive<boost::archive::binary_oarchive,char,std::char_traits<char> >.init(basic_binary_oprimitive<boost::archive::binary_oarchive\,char\,std::c

har_traits<char> >* )

at boost.archive.binary_oarchive_impl<boost::archive::binary_oarchive,char,std::char_traits<char> >.init(binary_oarchive_impl<boost::archive::binary_oarchive\,char\,std::char_tr

aits<char> >* , UInt32 flags) in c:\local\boost_1_55_0\boost\archive\binary_oarchive_impl.hpp:line 58

at boost.archive.binary_oarchive_impl<boost::archive::binary_oarchive,char,std::char_traits<char> >.{ctor}(binary_oarchive_impl<boost::archive::binary_oarchive\,char\,std::char_

traits<char> >* , basic_ostream<char\,std::char_traits<char> >* os, UInt32 flags) in c:\local\boost_1_55_0\boost\archive\binary_oarchive_impl.hpp:line 86

at boost.archive.binary_oarchive.{ctor}(binary_oarchive* , basic_ostream<char\,std::char_traits<char> >* os, UInt32 flags) in c:\local\boost_1_55_0\boost\archive\binary_oarchive

.hpp:line 45

at ins_rec(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* fn, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* fpth, Mat* m_bow) in c:\user

s\dipak\documents\visual studio 2013\projects\cvtestapp\cvtestapp\cvtestapp.cpp:line 258

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

Change History (4)

comment:1 by viboes, 7 years ago

Component: Noneserialization
Owner: set to Robert Ramey

comment:2 by Robert Ramey, 7 years ago

I can't reproduce this. I'd have to see a small test case. Also the compiler version you're using would be useful.

comment:3 by mallick.dipak@…, 7 years ago

Thanks for looking at it... it's solved by installing windows binary now it's working fine... thanks again and please close the ticket

comment:4 by Robert Ramey, 7 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.