Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2007-01-14 10:01:42

Support Requests item #1635211, was opened at 2007-01-14 07:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: regex
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: John Maddock (johnmaddock)
Summary: Crash on RH machine with gcc < 3.4

Initial Comment:
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(
        flags) == true)
            printf ("FOUND\n");

return 0;

Is it a known issue?



You can respond by visiting:

Take Surveys. Earn Cash. Influence the Future of IT
Join's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at