Block causes segfault

Sufur

Joined: 2003-11-24
Posts: 4
Posted: Mon, 2004-02-02 22:23

Well this is the strangest thing. I just added this block and all of a sudden it's throwing segfaults, but only sometimes. I noticed it because I could load my site fine but a friend couldn't. I'm running Debian Unstable with Apache/1.3.29 and PHP Version 4.3.3 (full phpinfo). Here's the backtrace I get from the crash:

#0  0x4041cf1e in _efree () from /usr/lib/apache/1.3/libphp4.so
#1  0x403fded6 in php_printf () from /usr/lib/apache/1.3/libphp4.so
#2  0x403fe731 in php_html_puts () from /usr/lib/apache/1.3/libphp4.so
#3  0x4042c8fb in zend_error () from /usr/lib/apache/1.3/libphp4.so
#4  0x4041d119 in _erealloc () from /usr/lib/apache/1.3/libphp4.so
#5  0x40410561 in php_ob_get_length () from /usr/lib/apache/1.3/libphp4.so
#6  0x4040f8af in php_end_ob_buffer () from /usr/lib/apache/1.3/libphp4.so
#7  0x4040fbfe in php_end_ob_buffers () from /usr/lib/apache/1.3/libphp4.so
#8  0x403ff33a in php_request_shutdown () from /usr/lib/apache/1.3/libphp4.so
#9  0x4043f43f in apache_php_module_main () from /usr/lib/apache/1.3/libphp4.so
#10 0x4044002c in apache_php_module_main () from /usr/lib/apache/1.3/libphp4.so
#11 0x404401f1 in apache_php_module_main () from /usr/lib/apache/1.3/libphp4.so

I'll be investigating a bit more tonight to see if I can pinpoint the error and maybe forward this to php-dev.[/url]