php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2592 Segmentation fault when using mysql_connect
Submitted: 1999-10-23 17:55 UTC Modified: 2000-08-06 09:46 UTC
From: tfa at ez dot no Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0.12 OS: RedHat Linux 6.0/sparc
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: tfa at ez dot no
New email:
PHP Version: OS:

 

 [1999-10-23 17:55 UTC] tfa at ez dot no
Using mysql_connect() makes the child apache process SEGV. Stack backtrace shows mysql_init_once() in the mysql API as the offending function. This has been posted previously on php-dev list with version 3.0.7 of php3.

From apache error_log :

[Sat Oct 23 23:55:12 1999] [notice] Apache/1.3.6 (Unix)  (Red Hat/Linux) PHP/3.0.12 configured -- resuming normal operations
[Sat Oct 23 23:55:55 1999] [notice] child pid 25977 exit signal Segmentation fault (11)

MySQL is version 3.22.27. The database server used in the connection is not localhost.
 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-10-26 03:44 UTC] tfa at ez dot no
Re installing shared libraries and install apache 1.3.9 solved the problem.
 [2000-08-06 09:46 UTC] rasmus@php.net
User reports problem as solved - closing
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Fri Jul 03 22:00:01 2026 UTC