Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10167: Wide char tests fail with input stream error on QNX
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-07-02 17:05:21
#10167: Wide char tests fail with input stream error on QNX
------------------------------------------+---------------------------
Reporter: Niklas Angare <li51ckf02@â¦> | Owner: ramey
Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
------------------------------------------+---------------------------
Comment (by ramey):
OK, I've got you sucked into the maelstrom.
Here's some information about text_wiarchive.
Both the xml_wiarchive as well as text_wiarchive depend on codecvt facets
to read characters. the xml one depends on utf8_codecvt where as the text
one depends upon codecvt_null. This might be an important distinction.
The program throws an exception in basic_text_iprimitive.hpp:86 . This is
sort of interesting since the same module is used by both xml and text
archives. Again this points to codecvt facet. Clearly, the statement at
basic_text_iprimitive.hpp:84 is returning false or zero.
What I would suggest is to use the debugger to set a breakpoint at
basic_text_iprimitive.hpp:84 and then start stepping into the code. This
should reveal what is happening.
If you want to know what should happen, you could run the xml_wiarchive
version of the test, set the same breakpoint and step into the code there.
The difference between the two code paths should reveal the source of the
problem.
Thanks in advance for your help in this matter. Addressing this issue
would make the test matrix for the serialization library almost all green.
Robert Ramey
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10167#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC