#1015: regex001(ghci,threaded1) seg-faults under Solaris
---------------------------------+------------------------------------------
Reporter: [email protected] | Owner: benl
Type: bug | Status: closed
Priority: normal | Milestone: _|_
Component: Compiler | Version: 6.6
Severity: normal | Resolution: fixed
Keywords: | Difficulty: Unknown
Testcase: | Os: Solaris
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Changes (by benl):
* status: assigned => closed
* resolution: => fixed
Comment:
Mon Apr 6 15:35:13 EST 2009 [email protected]
* Fix #1015: Don't free the buffers of regexes who's compile fails.
The SunOS 5.10 man page says that if regcomp fails then the regex
buffer becomes "undefined". Trying to free it causes a segv under
x86 and SPARC.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1015#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs