php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #471 httpd exits on signal 11
Submitted: 1998-06-21 03:38 UTC Modified: 1998-06-25 17:46 UTC
From: banb at j-link dot or dot jp 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: banb at j-link dot or dot jp
New email:
PHP Version: OS:

 

 [1998-06-21 03:38 UTC] banb at j-link dot or dot jp
In refer to Bug#460,
Apache-1.3.0 with PHP3.0 DSO module on FreeBSD-2.2-stable
exits with signal 11.

This is because the libc(.so: dynamic link module)
in FreeBSD has the function named 'hash_destroy' that is
not identical to hash.o module in php3 source.
So, when mod_php3 calls 'hash_destroy',
the function of LIBC version is (loaded and) executed,
then crash.

I've resolved that problem in a simple way.
I changed the name 'hash_destroy' to 'hash_cleanup'
on all of the PHP3 source, and made the executable.

There might be better choises, but I hope the CVS will
make the changes. :)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-06-25 17:46 UTC] rasmus
This has been fixed in CVS by Zeev
 [2023-04-21 12:13 UTC] git@php.net
Automatic comment on behalf of saundefined
Revision: https://github.com/php/doc-ru/commit/470e42487b01f1304901944de16b8c5e1d4e78c0
Log: Исправление опечатки
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 14:01:37 2025 UTC