Boost logo

Boost Users :

Subject: [Boost-users] Abort error with simple Boost regexp
From: V A (gmanony_at_[hidden])
Date: 2011-09-15 17:42:13


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/
#1 0x6192c525 in abort () from /usr/lib32/compat/
#2 0x6187d8c8 in __default_terminate () from /home/y/lib/
#3 0x6187d8e5 in __terminate () from /home/y/lib/
#4 0x6187e1c0 in throw_helper (eh=0x61893c60, pc=0x1002865,
    offset_p=0xffffdbec) from /home/y/lib/
#5 0x6187e375 in __throw () from /home/y/lib/
#6 0x01002a4b in main (argc=1, argv=0xffffdd24) at

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at