Menu

#206 crash in pcre_free

segfault
closed-fixed
regexp (7)
5
2004-05-06
2004-05-05
No

./clisp -q -norc -K full -i ../tests/tests -x
'(run-test "pcre/test")'

will crash when it calls pcre_free()
in PCRE-FREE via FINALIZE to release
a pcre* pointer

$ gcc --version
gcc (GCC) 3.3.1 (cygming special)
$ uname -a
CYGWIN_NT-5.0 winsteingoldlap 1.5.9(0.112/4/2)
2004-03-18 23:05 i686 unknown unknown Cygwin

Discussion

  • Sam Steingold

    Sam Steingold - 2004-05-06
    • assigned_to: haible --> sds
    • status: open --> closed-fixed
     
  • Sam Steingold

    Sam Steingold - 2004-05-06

    Logged In: YES
    user_id=5735

    the workaround - I can hardly call it a "fix" -
    is to reset pcre_malloc to malloc() and pcre_free to free()
    in module__pcre__init_function_2()

     

Log in to post a comment.