[Boost-bugs] [Boost C++ Libraries] #2854: Boost assertion fails inconsistently

Subject: [Boost-bugs] [Boost C++ Libraries] #2854: Boost assertion fails inconsistently
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-03-13 08:37:14

#2854: Boost assertion fails inconsistently
 Reporter: dineshkherajani_at_[hidden] | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: regex
  Version: Boost 1.35.0 | Severity: Problem
 Keywords: |
 I have a code that matches URI with a pattern using regex_match. This code
 fails sometimes, mostly when a lot of threads (50 and above) call this
 function simultaneously. I have read the boost:regex is thread-safe. Here
 is the stack

 [1] __lwp_kill(0x0, 0x6, 0x0, 0x6, 0xffbffeff, 0x0), at 0xff0caa58

 [2] raise(0x6, 0x0, 0x0, 0x6, 0x82bf8, 0x6), at 0xff065a5c

 [3] abort(0xf88f9e78, 0x2, 0x0, 0xfcb78, 0xff1413d8, 0x1), at 0xff04194c

 [4] __assert(0x1f7544, 0x1f7557, 0x1ed, 0x1c00, 0xfc894, 0x1b41ac), at

> >::get_traits(0x4e4130, 0xffff0000, 0x0, 0x1f75ed, 0x0, 0x1f7400), at

 [6] boost::regex_match<const char*,std::allocator<boost::sub_match<const
 char*> >,char,boost::regex_traits<char,boost::cpp_regex_traits<char> >
>(0x2212e30, 0x2212e6e, 0xf88fa368, 0x4e4130, 0x0, 0x7ffffc00), at 0xc7664

 [7] URL::parseUrl(0xf88fa4cc, 0x1fc21c, 0x2212e30, 0x56e500, 0xf88fa4d0,
 0xf88fa368), at 0xcef5c

Ticket URL: <https://svn.boost.org/trac/boost/ticket/2854>
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:49:59 UTC