php.net |  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
 [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 \
	--enable-debug

gmake
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 05:01:29 2024 UTC