|
Boost Users : |
Subject: [Boost-users] Abort error with simple Boost regexp
From: V A (gmanony_at_[hidden])
Date: 2011-09-15 17:42:13
Hi,
While running the following program using boost 1.26.0, I get an abort
error. Any idea why?
Thank you.
test program
------
int main( int argc, char **argv )
{
string yexp = ".*{";
boost::regex expression( yexp.c_str() );
return 0;
} // main()
Here is the gdb trace:
------
#0 0x618e7ecc in kill () from /usr/lib32/compat/libc.so.4
#1 0x6192c525 in abort () from /usr/lib32/compat/libc.so.4
#2 0x6187d8c8 in __default_terminate () from /home/y/lib/libstdc++.so.2.10
#3 0x6187d8e5 in __terminate () from /home/y/lib/libstdc++.so.2.10
#4 0x6187e1c0 in throw_helper (eh=0x61893c60, pc=0x1002865,
my_udata=0xffffdbf0,
offset_p=0xffffdbec) from /home/y/lib/libstdc++.so.2.10
#5 0x6187e375 in __throw () from /home/y/lib/libstdc++.so.2.10
#6 0x01002a4b in main (argc=1, argv=0xffffdd24) at testBoost.cc:18
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