Boost logo

Boost Users :

Subject: [Boost-users] [spirit::qi] assertion during parsing
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2010-10-19 12:54:30


Hello *,

I have a strange problem. When parsing some output boost::spirit::qi parser
aborts the application stating the following error message:
/local/include/boost/spirit/home/support/char_encoding/ascii.hpp:256: static
int boost::spirit::char_encoding::ascii::isspace(int): Assertion
`isascii_(ch)' failed.

Indeed my input sequence is:
~B"þ¯Þº~N

But is it really a reason to assert the parser and crash the app? This input
would not match my grammar, so from my point of view (as library user) it is
just fine: not to match the input, without any assertions. And I should be
able to decide what to do next.

I use boost 1.44 with gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-11)

Many thanks for support,
Ovanes



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