PHP 4.0 Bug #10117: mysql_pconnect() can cause segmentation fault
| From: | jules at acris dot co dot uk | Date: | Mon, 02 Apr 2001 17:00:28 +0000 |
| Subject: | PHP 4.0 Bug #10117: mysql_pconnect() can cause segmentation fault | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-50607@lists.php.net to get a copy of this message | ||
From: jules@acris.co.uk
Operating system: Linux 2.2.14
PHP version: 4.0.4pl1
PHP Bug Type: MySQL related
Bug description: mysql_pconnect() can cause segmentation fault
In the process of setting up a new site on my server, I set up a MySQL database for it and a new
MySQL user, but neglected to perform a 'mysqladmin reload' to process the new user's
password. The call to mysql_pconnect() failed and the page in question did not work, but subsequent
calls to the same page produced a segmentation fault in the httpd error log.
The problem did not clear up until I killed the server and restarted it, but now I cannot reproduce
it.
Other software details:
[root@fddth03-157-31 panet_demo]# httpd -V
Server version: Apache/1.3.6 (Unix)
Server built: Mar 7 2000 17:30:02
Server's Module Magic Number: 19990320:0
Server compiled with....
-D EAPI
-D BIG_SECURITY_HOLE
-D HAVE_MMAP
-D HAVE_SHMGET
-D USE_SHMGET_SCOREBOARD
-D USE_MMAP_FILES
-D USE_FCNTL_SERIALIZED_ACCEPT
-D HTTPD_ROOT="/etc/httpd"
-D SUEXEC_BIN="/usr/bin/suexec"
-D SHARED_CORE_DIR="/usr/lib/apache"
-D DEFAULT_PIDLOG="/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard"
-D DEFAULT_LOCKFILE="/var/run/httpd.lock"
-D DEFAULT_XFERLOG="/var/log/httpd/access_log"
-D DEFAULT_ERRORLOG="/var/log/httpd/error_log"
-D TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
-D ACCESS_CONFIG_FILE="conf/access.conf"
-D RESOURCE_CONFIG_FILE="conf/srm.conf"
Compiled-in modules:
http_core.c
mod_mmap_static.c
mod_env.c
mod_define.c
mod_log_config.c
mod_log_agent.c
mod_log_referer.c
mod_mime_magic.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_info.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_speling.c
mod_userdir.c
mod_proxy.c
mod_alias.c
mod_rewrite.c
mod_access.c
mod_auth.c
mod_auth_anon.c
mod_auth_db.c
mod_digest.c
mod_cern_meta.c
mod_expires.c
mod_headers.c
mod_usertrack.c
mod_example.c
mod_unique_id.c
mod_so.c
mod_setenvif.c
mod_ssl.c
mod_perl.c
mod_auth_pam.c
PHP was configured with the MySQL provided library
MySQL 3.23.33
--
Edit Bug report at: http://bugs.php.net/?id=10117&edit=1