Bug#347642: [php-maint] Bug#347642: php5-5.1.1-1 segfaults

Christian Kujau evil at g-house.de
Thu Jan 12 09:22:40 UTC 2006


On Thu, January 12, 2006 04:31, Adam Conrad wrote:
>
> If you can get me a GDB backtrace, that would be great:

here's the bt, and it seems like libmysqlclient.so.12 is to blame?

root at sheep:~# gdb apache2
GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) run -X
Starting program: /usr/sbin/apache2 -X
(no debugging symbols found)
(no debugging symbols found)
[.....these messages repeat 20 times or so]

[ now pointing the browser to the index.php....]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1215121184 (LWP 6378)]
0xb79054cf in vio_in_addr () from /usr/lib/libmysqlclient.so.12
(gdb) bt
#0  0xb79054cf in vio_in_addr () from /usr/lib/libmysqlclient.so.12
#1  0xb77bad4a in mysql_real_connect () from /usr/lib/libmysqlclient.so.15
#2  0xb6c9d431 in zif_mysql_field_name () from
/usr/lib/php5/20051025/mysql.so
#3  0xb72030be in execute () from /usr/lib/apache2/modules/libphp5.so
#4  0xb72026d8 in execute () from /usr/lib/apache2/modules/libphp5.so
#5  0xb7202b79 in execute () from /usr/lib/apache2/modules/libphp5.so
#6  0xb72026d8 in execute () from /usr/lib/apache2/modules/libphp5.so
#7  0xb7202b79 in execute () from /usr/lib/apache2/modules/libphp5.so
#8  0xb72026d8 in execute () from /usr/lib/apache2/modules/libphp5.so
#9  0xb7202b79 in execute () from /usr/lib/apache2/modules/libphp5.so
#10 0xb72026d8 in execute () from /usr/lib/apache2/modules/libphp5.so
#11 0xb72089bf in zend_get_zval_ptr () from
/usr/lib/apache2/modules/libphp5.so
#12 0xb72026d8 in execute () from /usr/lib/apache2/modules/libphp5.so
#13 0xb71da17e in zend_execute_scripts () from
/usr/lib/apache2/modules/libphp5.so
#14 0xb7199a8e in php_execute_script () from
/usr/lib/apache2/modules/libphp5.so
#15 0xb7278ea8 in zend_get_zval_ptr () from
/usr/lib/apache2/modules/libphp5.so
#16 0x08077336 in ap_run_handler ()
#17 0x08077732 in ap_invoke_handler ()
#18 0x080696fd in ap_process_request ()
#19 0x08064b19 in _start ()
(gdb)

-- 
make bzImage, not war





More information about the pkg-php-maint mailing list