Re: [Boost-bugs] [Boost C++ Libraries] #812: Crash on RH machine with gcc < 3.4

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #812: Crash on RH machine with gcc < 3.4
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-08-13 16:53:27


#812: Crash on RH machine with gcc < 3.4
-------------------------------+--------------------------------------------
  Reporter: nobody | Owner: johnmaddock
      Type: Support Requests | Status: closed
 Milestone: | Component: regex
   Version: None | Severity: Problem
Resolution: worksforme | Keywords:
-------------------------------+--------------------------------------------
Changes (by johnmaddock):

  * status: assigned => closed
  * resolution: None => worksforme
  * severity: => Problem

Old description:

> {{{
> The following code crshes with Seg.Fault while running on RH machine
> (kernel 7.1, compiler gcc-3.3.2)
>
> #include <boost/regex.hpp>
> #include <string>
> #include <stdlib.h>
>
> int main()
> {
> boost::regex expression("abc");
> boost::match_results<std::string::const_iterator> what;
> boost::match_flag_type flags = boost::match_default;
> std::string str("abcabc");
>
> if (regex_search(
> str,
> what,
> expression,
> flags) == true)
> {
> printf ("FOUND\n");
> }
>
> return 0;
> }
>
> Is it a known issue?
>
> Thanks,
> Genia
> }}}

New description:

 {{{
 The following code crshes with Seg.Fault while running on RH machine
 (kernel 7.1, compiler gcc-3.3.2)

 #include <boost/regex.hpp>
 #include <string>
 #include <stdlib.h>

 int main()
 {
     boost::regex expression("abc");
     boost::match_results<std::string::const_iterator> what;
     boost::match_flag_type flags = boost::match_default;
     std::string str("abcabc");

     if (regex_search(
         str,
         what,
         expression,
         flags) == true)
     {
             printf ("FOUND\n");
     }

 return 0;
 }

 Is it a known issue?

 Thanks,
 Genia
 }}}

Comment:

 With apologies for the delay, I've finally got around to dealing with some
 of the backlog of issues.

 I can't reproduce this, is this still a problem?

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/812#comment:1>
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:56 UTC