Re: httpd core dumps in regfree on shutdown

From: Jon Noack (noackjr_at_alumni.rice.edu)
Date: 03/31/04

  • Next message: Jacques A. Vidrine: "Re: nss_ldap broken"
    Date: Wed, 31 Mar 2004 09:49:03 -0600
    To: Sean McNeil <sean@mcneil.com>
    
    

    On 3/31/2004 7:10 AM, Sean McNeil wrote:
    > I have been getting core dumps on shutdown for quite some time now. I
    > finally took a look at it and this is what I see:
    >
    > #0 0x285dab30 in ?? ()
    > #1 0x0806deff in regex_cleanup ()
    > #2 0x2834192d in run_cleanups () from
    > /usr/local/lib/apache2/libapr-0.so.9
    > #3 0x2834119c in apr_pool_destroy () from
    > /usr/local/lib/apache2/libapr-0.so.9
    > #4 0x2834118b in apr_pool_destroy () from
    > /usr/local/lib/apache2/libapr-0.so.9
    > #5 0x0806b561 in destroy_and_exit_process ()
    > #6 0x0806c4de in main ()
    > #7 0x0805d0b9 in _start ()
    >
    > It looks like somehow one of my processes is, perhaps, trying to free
    > something twice. I think this might be my SSL process but I am not
    > certain of it.

    Apache Bug #28086 (vote for this!):
    http://nagoya.apache.org/bugzilla/show_bug.cgi?id=28086

    PR #64904:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/64904

    See also "Bogus" PHP Bug #27735:
    http://bugs.php.net/bug.php?id=27735

    With PHP 4.3.5, the issue was traced to using the bundled version of
    PCRE (version 4.5). Reverting to the version bundled with PHP 4.3.4
    (PCRE 4.3) seems to resolve the problem. To do this, simply replace the
    ext/pcre directory in PHP 4.3.5 with the one from 4.3.4 and recompile.
    Alternatively, deselect PCRE from the options menu.

    Either the bundled version of PCRE 4.5 is buggy or (most likely) it
    unmasks a bug in Apache.

    Jon

    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Jacques A. Vidrine: "Re: nss_ldap broken"

    Relevant Pages

    • Re: php extensions compile error - another compile bug?
      ... Re: php extensions compile error - another compile bug?: ... Is not triviality is a matter of perspective? ... AFFECTS: users of PHP ... and shared extensions to allow more flexibility and add new features. ...
      (freebsd-questions)
    • Re: [Full-Disclosure] How secure is PHP ?
      ... > quick look at security focus, searching the vuln db for PHP, nothing more ... Looking at the Official PHP Bug list I am ... The PROGRAMMER is always supposed to validate user supplied ... validate the input it feeds to file system functions it is programmer error. ...
      (Full-Disclosure)
    • Re: Undefined Index notices
      ... I didn't say that it was a bug.. ... These are the first 3 lines of the script that gets posted to.. ... there is nothing but good php there. ... working with a n00b.. ...
      (comp.lang.php)
    • Re: List Fails on some computers - www missing in url
      ... Yes it is - for any domain issued - denying that simple fact allows PHP ... Why is this a security bug, whereas a user being able to erase his ... session cookie at any time and start a new session ISN'T just as ... NS records pointing at the DNS hosting company the domain owner is ...
      (comp.lang.php)
    • Re: Novice needs help :)
      ... you might want to either learn PHP or hire a consultant to give you a hand. ... Also, here on Usenet, we help people - but those people also need to be helping themselves. ... I don't have the several hours it could take to chase down a bug in that large of a chunk of code, and I doubt many people here do. ... I'd have to recreate your database, load it with data, then start testing. ...
      (comp.lang.php)