|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #511 PHP with apxs segfaults on startup in hash_destroy()
Submitted: 1998-07-05 21:07 UTC Modified: 1998-07-28 01:19 UTC
From: gordonb at airmail dot net Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0 Final Release OS: FreeBSD 2.2.6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
20 + 37 = ?
Subscribe to this entry?

 [1998-07-05 21:07 UTC] gordonb at airmail dot net
./configure --with-mysql --with-apxs=/usr/local/sbin/apxs \
	--enable-force-cgi-redirect --with-system-regex \

gmake install

httpd -X dies immediately on segmentation violation in
hash_destroy() called from php3_module_shutdown().
(Also dies without -X and/or without --enable-debug).
(Why is it calling php3_module_shutdown on startup?)

Commenting out AddModule directive (but not LoadModule)
avoids segfault.  Obviously, no PHP functionality.

Apache 1.3.0.  Crash 100% reproducable.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1998-07-28 01:19 UTC] rasmus
Working in Apache-1.3.1 w/ php3.0.2a (unsure of exact fix though)
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Dec 09 04:05:53 2022 UTC