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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 15:01:29 2024 UTC