php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4578 segfault with mod_auth_mysql and PHP4
Submitted: 2000-05-24 18:42 UTC Modified: 2000-07-26 00:47 UTC
From: josepht at cstone dot net Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.0 Release OS: FreeBSD 3.4-RELEASE
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: josepht at cstone dot net
New email:
PHP Version: OS:

 

 [2000-05-24 18:42 UTC] josepht at cstone dot net
Server Version: Apache/1.3.12 (Unix) PHP/4.0.0 AuthMySQL/2.20 mod_ssl/2.6.4 OpenSSL/0.9.5

Accessing a site with mysql authentication crashes the child process. (works with PHP3.x)

gdb backtrace:
Program received signal SIGBUS, Bus error.
0x81369bc in run_method ()
(gdb) bt
#0  0x81369bc in run_method ()
#1  0x8136ab8 in ap_run_fixups ()
#2  0x8149f69 in process_request_internal ()
#3  0x8149ff4 in ap_process_request ()
#4  0x81418a1 in child_main ()
#5  0x8141a44 in make_child ()
#6  0x8141b9f in startup_children ()
#7  0x8142150 in standalone_main ()
#8  0x81429c3 in main ()
#9  0x807af3d in _start ()

without the .htaccess file (i.e. no mysql auth) works fine.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-26 00:47 UTC] zak@php.net
If you are using mod_mysql_auth, ensure that you do not use the default mysql support.

Please try a new release of php - it will have instructions on how to compile php without using the built-in mysql support.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 15:01:28 2024 UTC