Boost logo

Boost Users :

From: Paul Giaccone (paulg_at_[hidden])
Date: 2006-02-09 12:49:31


I wonder if this is bzip-related. If you comment out the bzip line, the
program throws an exception:

Exception thrown:

    First-chance exception at 0x7c59bbf3 in IostreamsTest.exe: Microsoft
C++ exception: boost::archive::xml_archive_exception @ 0x0012fad0.

Breaks at:

    this->restore()

in:

    ios_flags_saver::~ios_flags_saver()

Call stack:

     KERNEL32.DLL!7c59bbf3()
     KERNEL32.DLL!7c59bbf3()
> IostreamsTest.exe!boost::io::ios_flags_saver::~ios_flags_saver()
Line 44 + 0xf C++
     
IostreamsTest.exe!boost::archive::basic_xml_grammar<char>::my_parse(std::basic_istream<char,std::char_traits<char>
> & is={...}, const
boost::spirit::rule<boost::spirit::scanner<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>::iterator,boost::spirit::scanner_policies<boost::spirit::iteration_policy,boost::spirit::match_policy,boost::spirit::action_policy>
>,boost::spirit::nil_t,boost::spirit::nil_t> & rule_={...}, char
delimiter='t') Line 176 + 0x20 C++

Paul Giaccone wrote:

> Robert Ramey wrote:
>
>> Paul Giaccone wrote:
>>
>>
>>> * is_complete() returns true when the source is a non-existent file
>>> * the constructor for xml_iarchive hangs when it is given a stream
>>> that has a non-existent file as its source
>>>
>>> Is this correct behaviour or a bug?
>>


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