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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: gordonb at airmail dot net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 18:01:35 2025 UTC