ID: 9661
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: Reproduceable crash
Description: PHP sometimes dumps core
I have tried with the CVS snapshot from 09/03/2001, but can try with a newer snapshot
if you need it.
I use MySQL version 3.22
Previous Comments:
---------------------------------------------------------------------------
[2001-03-10 19:59:08] [EMAIL PROTECTED]
ehm..sorry, I just noticed that you had tried with
latest CVS. Or have you? Could you please try and update
your checkout?
--Jani
---------------------------------------------------------------------------
[2001-03-10 19:58:04] [EMAIL PROTECTED]
What is the mysql version you are using?
And have you tried the latest CVS snapshot from http://snaps.php.net/ as I can't
reproduce this with
latest CVS.
--Jani
---------------------------------------------------------------------------
[2001-03-09 18:50:38] [EMAIL PROTECTED]
Sorry, I forgot the configure line. It's:
--enable-track-vars --with-mysql=/usr/local/mysql --with-mhash --with-mcrypt
--with-apxs=/usr/local/apache/bin/apxs
---------------------------------------------------------------------------
[2001-03-09 18:44:56] [EMAIL PROTECTED]
What was the configure line used for PHP 4 ?
--Jani
---------------------------------------------------------------------------
[2001-03-09 13:34:52] [EMAIL PROTECTED]
When I run .php files under Apache (1.3.19) PHP sometimes crash. I can run the same
file several times, and only sometimes is crashes PHP. I have found out that it only
happens when the PHP file is accessing a MySQL database.
This is what is recorded in the apache log (a lot of them):
[Fri Mar 9 19:24:51 2001] [notice] child pid 22845 exit signal Segmentation fault
(11)
I have generated a backtrace (sorry, apache is not compiled with debug information -
only PHP):
Starting program: /usr/local/apache/bin/httpd -f /usr/local/apache/conf/httpd.conf -X
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x400da4c1 in free () from /lib/libc.so.6
(gdb) bt
#0 0x400da4c1 in free () from /lib/libc.so.6
#1 0x400da343 in free () from /lib/libc.so.6
#2 0x401982cc in shutdown_memory_manager (silent=1, clean_cache=0)
at zend_alloc.c:478
#3 0x401c1845 in php_request_shutdown (dummy=0x0) at main.c:665
#4 0x401bf26b in php_apache_request_shutdown (dummy=0x0) at mod_php4.c:290
#5 0x8095d19 in run_cleanups ()
#6 0x80943a5 in ap_clear_pool ()
#7 0x8094427 in ap_destroy_pool ()
#8 0x80a4fc3 in child_main ()
#9 0x80a5141 in make_child ()
#10 0x80a52bc in startup_children ()
#11 0x80a592c in standalone_main ()
#12 0x80a617c in main ()
#13 0x40086dcc in __libc_start_main () from /lib/libc.so.6
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the
comments, please view the bug report online.
Full Bug description available at: http://bugs.php.net/?id=9661
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]