Re: [Boost-bugs] [Boost C++ Libraries] #6985: regex_regress_threaded randomly crashes in ICU interface tests

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6985: regex_regress_threaded randomly crashes in ICU interface tests
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-06-14 19:41:33


#6985: regex_regress_threaded randomly crashes in ICU interface tests
--------------------------------------------+-------------------------------
  Reporter: Clifford Hung <chung@…> | Owner: johnmaddock
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: regex
   Version: Boost Development Trunk | Severity: Showstopper
Resolution: | Keywords:
--------------------------------------------+-------------------------------

Comment (by Clifford Hung <chung@…>):

 That seems to have resolved it on trunk using ICU 4.4 (both ones supplied
 by Ubuntu and compiled libraries).

 I mistakenly said that I had tried ICU versions 4.6 to 4.9 on trunk, that
 was actually on 1.48.0. On trunk, those ICU versions fail the has_icu_test
 as follows:

 {{{
 ../../../bin.v2/libs/regex/build/gcc-4.6.1/debug/has_icu_test.o: In
 function `main':
 /home/chung/dev/boost-
 trunk/libs/regex/test/../../../libs/regex/build/has_icu_test.cpp:24:
 undefined reference to `u_charFromName_49'
 }}}

 I used the same bjam command to build from boost/libs/regex/test on trunk
 as on 1.48.0, so I'm not sure why it is failing. Example:
 {{{
 ../../../bjam -a include=/home/chung/dev/icu-linux-4.9/source/common
 "linkflags=-L/home/chung/dev/icu-linux-4.9/build/lib"
 }}}

 I applied the diff of revision 78940 vs 78480 to Boost 1.48.0 and the
 regex test passes for ICU 4.4. However, for ICU 4.6, 4.8 and 4.9 I am
 getting an error about unexpected exceptions (std::bad_alloc). Here's an
 excerpt:

 {{{
 regress/test_sets.cpp:52: Error in test here:
   regress/test_icu.cpp:351:Received an unexpected std::exception:
 std::bad_alloc (While testing ICU interfaces)
 regress/test_sets.cppregress/test_sets.cpp:52: Error in test here:
   regress/test_icu.cpp:351:Received an unexpected std::exception:
 std::bad_alloc (While testing ICU interfaces)
 regress/test_sets.cpp:53: Error in test here:
   regress/test_icu.cpp:351:Received an unexpected std::exception:
 std::bad_alloc (While testing ICU interfaces)
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6985#comment:2>
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:09 UTC