logo       

[ ghc-Bugs-802692 ] SIGSEGV in Text.Regex: msg#00030

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-802692 ] SIGSEGV in Text.Regex

Bugs item #802692, was opened at 2003-09-08 19:40
Message generated for change (Comment added) made by simonmar
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=802692&group_id=8032

Category: hslibs/text
Group: 6.0.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Remi Turk (remit)
Assigned to: Nobody/Anonymous (nobody)
Summary: SIGSEGV in Text.Regex

Initial Comment:
Hi all,

while writing a little download-some-weblog-program I
encountered what appears to be a memory management
bug in Text.Regex of ghc-6.0.1.

Both 6.0 and 6.0.1 crash. I didn't try other versions yet.

possible interesting information can be found at:

http://home.wanadoo.nl/remi.turk/tmp/LJGet/core.bz2
http://home.wanadoo.nl/remi.turk/tmp/LJGet/grepHref.bz2
http://home.wanadoo.nl/remi.turk/tmp/LJGet/grepHref.hs

If I need to provide additional information or isolate
the problem into a smaller code-fragment, please let me
know.

Happy hacking,
Remi

some gdb-info:

{- gdb copyright info... -}
Program terminated with signal 11, Segmentation fault.
{- reading symbols from... -}
#0 chunk_free (ar_ptr=0x0, p=0x4045cbf8) at malloc.c:3049
3049 malloc.c: No such file or directory.
(gdb) info stack
#0 chunk_free (ar_ptr=0x0, p=0x4045cbf8) at malloc.c:3049
#1 0x400f883e in __libc_free (mem=0x4045cc00) at
malloc.c:3023
#2 0x40132fd2 in __regfree (preg=0x40205058) at
regex.c:5866
#3 0x805720f in s686_info ()
#4 0x805a4f0 in s4zy_ret ()
#5 0x4c58308 in ?? ()
Cannot access memory at address 0x99548be

----------------------------------------------------------------------

>Comment By: Simon Marlow (simonmar)
Date: 2003-09-09 08:58

Message:
Logged In: YES
user_id=48280

Strange - I thought I fixed this bug between 6.0 and 6.0.1.
You're absolutely certain it happens with 6.0.1?

The URLs in your bug report don't work.


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=802692&group_id=8032


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise