From: Boris Gubenko (Boris.Gubenko_at_[hidden])
Date: 2007-10-02 23:45:40
test_actions crashes when std::string is trying to dereference _C_data
member which happens to be zero. It happens inside regex_match().
Attached slightly reduced reproducer.
test_symbols.cpp has a similar call to regex_match() and I'm sure it
crashes for the same reason.
Just rearranging the code in RW library <string> header makes the
crash disappear which may be indicative of a code generation problem.
And everything is fine when compiling with g++ 4.2.1.
I suggest, unless you have a reason to believe that it may be some
code in xpressive that is causing the problem, we treat these test
failures as aC++ code generation problem at this point. We'll
investigate it and report back.
extern "C" int puts(const char*);
namespace xp = boost::xpressive;
using namespace boost::xpressive;
std::string str("foo bar");
sregex rx = (+_w)[ xp::ref(result) += _ ] >> *(' ' >> (+_w)[ xp::ref(result)
+= ',' + _ ]);
----- Original Message -----
From: "Eric Niebler" <eric_at_[hidden]>
To: "Boost mailing list" <boost_at_[hidden]>
Sent: Tuesday, October 02, 2007 4:01 PM
Subject: [boost] [xpressive] HP-UX_ia64_aCC problem ... care to help?
> Two of xpressive's tests are crashing on the HP-UX_ia64_aCC platform. Is
> there anybody with access to this platform that would like to help me
> track it down? Just run xpressive's "test_actions" test and send me a
> backtrace of the crash. Whoever helps gets a gold star. :-)
> Eric Niebler
> Boost Consulting
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk