Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2005-05-20 22:26:38


I presume you're building with the VC 7.1 IDE. Double check the compiler
settings. Check them against the vc7 project files that are included with
the library. Check the NDEBUG switch and also the intrinsic wide char
switch and make sure you've got /Zm 800 .

Robert Ramey

Zrubavel Zodikovich wrote:
> I'm having trouble with debug builds of the boost serialization (1.32)
> library.
> The release configuration works fine, but debug build crashes with
> access violation on binary_iarchive instantiation. call stack is
> attached.
>
> Any suggestions ?
>
>
> msvcp71.dll!std::locale::locale(const std::locale & _Right={...})
> Line
> 235 + 0x7 C++
> msvcp71.dll!std::ios_base::getloc() Line 382 + 0xf C++
>
msvcp71.dll!std::num_put<char,std::ostreambuf_iterator<char,std::char_traits
<char>
> > >::_Iput(std::ostreambuf_iterator<char,std::char_traits<char> >
> _Dest={...}, std::ios_base & _Iosbase={...}, char _Fill='', char *
> _Buf=0x02b3ec18, unsigned int _Count=8) Line 1193 + 0xf C++
>
msvcp71.dll!std::num_put<char,std::ostreambuf_iterator<char,std::char_traits
<char>
> > >::do_put(std::ostreambuf_iterator<char,std::char_traits<char> >
> _Dest={...}, std::ios_base & _Iosbase={...}, char _Fill='', const
> void
> * _Val=0x00000005) Line 1032 C++
> msvcp71d.dll!std::codecvt_base::always_noconv() Line 566 C++
> msvcp71d.dll!std::basic_filebuf<char,std::char_traits<char>
> >::_Initcvt(std::codecvt<char,char,int> * _Newpcvt=0x027538a0) Line
> 483 + 0x8 C++
> msvcp71d.dll!std::basic_filebuf<char,std::char_traits<char>
> >::imbue(const std::locale & _Loc={...}) Line 413 C++
> msvcp71.dll!std::basic_streambuf<unsigned
> short,std::char_traits<unsigned short> >::pubimbue(const std::locale &
> _Newlocale={...}) Line 79 C++
> msvcp71.dll!std::basic_ios<unsigned short,std::char_traits<unsigned
> short> >::imbue(const std::locale & _Loc={...}) Line 96 + 0xc C++
>
ImageTransformTest.dll!boost::archive::basic_binary_iprimitive<boost::archiv
e::binary_iarchive,std::basic_istream<char,std::char_traits<char>
> >
>
>::basic_binary_iprimitive<boost::archive::binary_iarchive,std::basic_istrea
m<char,std::char_traits<char>
> > >(std::basic_istream<char,std::char_traits<char> > & is_={...},
> bool
> no_codecvt=false) Line 139 + 0x25 C++
>
ImageTransformTest.dll!boost::archive::binary_iarchive_impl<boost::archive::
binary_iarchive>::binary_iarchive_impl<boost::archive::binary_iarchive>(std:
:basic_istream<char,std::char_traits<char>
> > & is={...}, unsigned int flags=0) Line 56 + 0x35 C++
>
ImageTransformTest.dll!boost::archive::binary_iarchive::binary_iarchive(std:
:basic_istream<char,std::char_traits<char>
> > & is={...}, unsigned int flags=0) Line 78 + 0x17 C++


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net