On 30 Mar 2005, at 10:14, Steve Langasek wrote:
Substituting in my server info and a table I'm allowed to read, I've
tested this snippet with the cli, apache1.3, and apache2.  No segfaults
whatsoever with php4 4.3.10-10.  You're sure you've restarted apache
after upgrading php4?

Sure I restarted Apache.

Here's a gdb backtrace of the crash, hope this helps a bit:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 18776)]
0x4022fc0f in strlen () from /lib/libc.so.6
(gdb) bt
#0 0x4022fc0f in strlen () from /lib/libc.so.6
#1 0x408e7eba in add_property_string_ex () from /usr/lib/apache/1.3/libphp4.so
#2 0x40b4ce31 in zif_mysql_fetch_field () from /usr/lib/php4/20020429/mysql.so
#3 0x408f5fc0 in execute () from /usr/lib/apache/1.3/libphp4.so
#4 0x408e5bd1 in zend_execute_scripts () from /usr/lib/apache/1.3/libphp4.so
#5 0x408b7cdf in php_execute_script () from /usr/lib/apache/1.3/libphp4.so
#6 0x408fa26e in apache_php_module_main () from /usr/lib/apache/1.3/libphp4.so
#7 0x408fae3c in apache_php_module_main () from /usr/lib/apache/1.3/libphp4.so
#8 0x408fb001 in apache_php_module_main () from /usr/lib/apache/1.3/libphp4.so
#9 0x080553c3 in ap_invoke_handler ()
#10 0x08068465 in ap_some_auth_required ()
#11 0x08068614 in ap_process_request ()
#12 0x08060bd2 in ap_child_terminate ()
#13 0x08060de7 in ap_child_terminate ()
#14 0x08060f10 in ap_child_terminate ()
#15 0x08061a9a in ap_child_terminate ()
#16 0x08061ff8 in main ()

Regards,
Philipp Kern
Debian Developer

Attachment: PGP.sig
Description: This is a digitally signed message part



Reply via email to