[Boost-bugs] [Boost C++ Libraries] #7606: u32regex causes bus error

Subject: [Boost-bugs] [Boost C++ Libraries] #7606: u32regex causes bus error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-30 11:43:49


#7606: u32regex causes bus error
----------------------------------------+-----------------------------------
 Reporter: a.sanders@… | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: regex
  Version: Boost 1.51.0 | Severity: Problem
 Keywords: |
----------------------------------------+-----------------------------------
 The Unicode regular expression

    boost::make_u32regex ("[pq]\\.\\.[xy]");

 causes a Bus Error. The same r.e. as a boost::regex is fine.

 The r.e. "[pq][.][.][xy]" seems to be okay, so it looks like the repeated
 "\\." is at least part of the problem.

 The following program Bus Errors on Solaris 10 with gcc 4.6.1 and Boost
 1.51. (and all previous versions of Boost as far as I can tell.)

 ------
 # include <boost/regex/icu.hpp>

 int main (int, char**)
 {
   const boost::u32regex re = boost::make_u32regex ("[pq]\\.\\.[xy]");
   return 0;
 }
 -------

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7606>
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:50:11 UTC