(Periodic) Segmentation faults when using regex-compat-0.92

Simon Peyton-Jones simonpj at microsoft.com
Tue Jul 13 03:13:34 EDT 2010


Don's right.  If it's reproducible please file a Trac ticket.  

Simon

| -----Original Message-----
| From: libraries-bounces at haskell.org [mailto:libraries-bounces at haskell.org] On
| Behalf Of Don Stewart
| Sent: 13 July 2010 00:36
| To: Kathleen Fisher
| Cc: TextRegexLazy at personal.mightyreason.com; libraries at haskell.org
| Subject: Re: (Periodic) Segmentation faults when using regex-compat-0.92
| 
| kathleen.fisher:
| > I am getting periodic (although frequent) segmentation faults when loading
| the following code into ghci (version 6.13.20100309) and then asking for the
| value of re_results1:
| >
| > > module Examples.RegExpTest where
| > >
| > > import qualified Text.Regex as RE
| > >
| > > re = RE.mkRegexWithOpts "^a+" True True
| > > re_results1 = RE.matchRegexAll re "aaaab"
| >
| > Is this a known problem?  Are there known work arounds?
| 
| That sounds very scary. There should never be a segfault in code like
| this. It may point to a compiler bug in the GHC head.
| 
| I wonder if you can upgrade to regex-compat 0.93.1 ?
| 
|     http://hackage.haskell.org/package/regex-compat
| 
| Forwarding to the maintainer, Chris Kuklewicz.
| 
| -- Don
| 
| _______________________________________________
| Libraries mailing list
| Libraries at haskell.org
| http://www.haskell.org/mailman/listinfo/libraries



More information about the Libraries mailing list