ID:               36920
 User updated by:  ttmails at web dot de
 Reported By:      ttmails at web dot de
-Status:           Feedback
+Status:           Open
 Bug Type:         Reproducible crash
 Operating System: Linux/Gentoo 2.6.15-r7
 PHP Version:      5.1.2
 New Comment:

tried it..

still the same bug..


Previous Comments:
------------------------------------------------------------------------

[2006-03-30 10:58:54] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip



------------------------------------------------------------------------

[2006-03-30 10:51:10] ttmails at web dot de

Description:
------------
hi!

i have a problem with php-cgi segfaulting when calling an url. i am
running apache2. this whole script is too big to paste it here and it
consists of a lot of classes.

i have a protected function, i wanted to add some debug code and apache
said that the childs died. so php segfaulted.

when i do an "echo" or "print" it segfaults.
but not if i do a "printf"... sounds very confusing

hope you can help!

thanks in advance, tim

Actual result:
--------------
# normal debug
(gdb) run -X -D PHP5
Starting program: /usr/sbin/apache2 -X -D PHP5
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 10992)]
[Thu Mar 30 10:41:22 2006] [warn] NameVirtualHost *:80 has no
VirtualHosts

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 10992)]
0xb77c9b38 in zend_print_zval_r_ex () from
/usr/lib/apache2/modules/libphp5.so

# backtrace
(gdb) bt
#0  0xb77c9b38 in zend_print_zval_r_ex () from
/usr/lib/apache2/modules/libphp5.so
#1  0xb79be611 in php_tiff_bytes_per_format () from
/usr/lib/apache2/modules/libphp5.so
#2  0x00000006 in ?? ()
#3  0x08218a08 in ?? ()
#4  0x082c07cc in ?? ()
#5  0xbf87d0ec in ?? ()
#6  0xbf87d2d0 in ?? ()
#7  0x08287b1c in ?? ()
#8  0xb77cbcbd in zend_parse_parameters () from
/usr/lib/apache2/modules/libphp5.so
#9  0x00000001 in ?? ()
#10 0x082c07cc in ?? ()
#11 0xbf87d0ec in ?? ()
#12 0xb77c9a10 in zend_print_zval_r () from
/usr/lib/apache2/modules/libphp5.so
#13 0xb7790ab0 in php_request_shutdown () from
/usr/lib/apache2/modules/libphp5.so
#14 0x082c069c in ?? ()
#15 0x00000000 in ?? ()


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36920&edit=1

Reply via email to