Bug #2592: Segmentation fault when using mysql_connect
| From: | tfa at ez dot no | Date: | Sat, 23 Oct 1999 21:55:00 +0000 |
| Subject: | Bug #2592: Segmentation fault when using mysql_connect | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11850@lists.php.net to get a copy of this message | ||
From: tfa@ez.no
Operating system: RedHat Linux 6.0/sparc
PHP version: 3.0.12
PHP Bug Type: Reproduceable crash
Bug description: Segmentation fault when using mysql_connect
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.