php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33462 mysqli crash apache with Segmentation fault
Submitted: 2005-06-24 11:41 UTC Modified: 2005-06-24 11:44 UTC
From: judas at mailchile dot com Assigned:
Status: Not a bug Package: MySQLi related
PHP Version: 5.0.3 OS: SUSE Linux 9.3
Private report: No CVE-ID: None
 [2005-06-24 11:41 UTC] judas at mailchile dot com
Description:
------------
Trying to run phpmyadmin using the mysqli extension result in a Segmentation fault.

enabled modules:

ctype,gd,mbstring,mysql,sqlite,dom,gettext,mcrypt,openssl  xmlrpc,bz2,exif,iconv,mhash,pgsql,xsl,calendar,ftp,ldap     mysqli,sockets,zlib


Apache version:

apache2-prefork-2.0.53-9

PHP version: 5.0.3

AMD64 arch.


Reproduce code:
---------------
install phpmyadmin (latest stable,or CVS same result)and try to run it using the mysqli extension.

Expected result:
----------------
apache child should not die.

Actual result:
--------------
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912514400672 (LWP 27386)]
0x00002aaaacc285e0 in zend_object_store_get_object () from /usr/lib64/apache2/libphp5.so
(gdb) bt
#0  0x00002aaaacc285e0 in zend_object_store_get_object () from /usr/lib64/apache2/libphp5.so
#1  0x00002aaaafffa824 in php_mysqli_fetch_into_hash () from /usr/lib64/php5/extensions/mysqli
#2  0x00002aaab00039cf in zif_mysqli_fetch_array () from /usr/lib64/php5/extensions/mysqli
#3  0x00002aaaacc400f4 in zend_do_fcall_common_helper () from /usr/lib64/apache2/libphp5.so
#4  0x00002aaaacc40305 in zend_do_fcall_handler () from /usr/lib64/apache2/libphp5.so
#5  0x00002aaaacc49f66 in execute () from /usr/lib64/apache2/libphp5.so
#6  0x00002aaaacc3fc29 in zend_do_fcall_common_helper () from /usr/lib64/apache2/libphp5.so
#7  0x00002aaaacc40305 in zend_do_fcall_handler () from /usr/lib64/apache2/libphp5.so
#8  0x00002aaaacc49f66 in execute () from /usr/lib64/apache2/libphp5.so
#9  0x00002aaaacc3fc29 in zend_do_fcall_common_helper () from /usr/lib64/apache2/libphp5.so
#10 0x00002aaaacc404f1 in zend_do_fcall_by_name_handler () from /usr/lib64/apache2/libphp5.so
#11 0x00002aaaacc49f66 in execute () from /usr/lib64/apache2/libphp5.so
#12 0x00002aaaacc3fc29 in zend_do_fcall_common_helper () from /usr/lib64/apache2/libphp5.so
#13 0x00002aaaacc40305 in zend_do_fcall_handler () from /usr/lib64/apache2/libphp5.so
#14 0x00002aaaacc49f66 in execute () from /usr/lib64/apache2/libphp5.so
#15 0x00002aaaacc3fc29 in zend_do_fcall_common_helper () from /usr/lib64/apache2/libphp5.so
#16 0x00002aaaacc404f1 in zend_do_fcall_by_name_handler () from /usr/lib64/apache2/libphp5.so
#17 0x00002aaaacc49f66 in execute () from /usr/lib64/apache2/libphp5.so
#18 0x00002aaaacc3ae71 in zend_include_or_eval_handler () from /usr/lib64/apache2/libphp5.so
#19 0x00002aaaacc49f66 in execute () from /usr/lib64/apache2/libphp5.so
#20 0x00002aaaacc11a2d in zend_execute_scripts () from /usr/lib64/apache2/libphp5.so
#21 0x00002aaaacbd93cf in php_execute_script () from /usr/lib64/apache2/libphp5.so
#22 0x00002aaaacc4a6f4 in php_ap2_register_hook () from /usr/lib64/apache2/libphp5.so
#23 0x0000000000427221 in ap_run_handler ()
#24 0x000000000042a249 in ap_invoke_handler ()
#25 0x00000000004250ca in ap_process_request ()
#26 0x000000000041fff8 in _start ()
#27 0x0000000000431431 in ap_run_process_connection ()
#28 0x0000000000431542 in ap_process_connection ()
#29 0x00000000004260f5 in ap_graceful_stop_signalled ()
#30 0x00000000004262b9 in ap_graceful_stop_signalled ()
#31 0x00000000004263a4 in ap_graceful_stop_signalled ()
#32 0x0000000000426a72 in ap_mpm_run ()
#33 0x000000000042cb5f in main ()


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-06-24 11:44 UTC] tony2001@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 07:01:28 2024 UTC