ID: 8369
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Duplicate
Status: Closed
Bug Type: Reproduceable crash
PHP Version: 4.0.4
Assigned To: 
Comments:

Fixed in CVS. Wait for 4.0.5


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

[2000-12-28 07:04:26] [EMAIL PROTECTED]
Duplicate of #8334

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

[2000-12-27 19:47:58] [EMAIL PROTECTED]
BTW  The gzip compression works great if its detected and started w/ output buffering 
in php before every script.

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

[2000-12-22 00:21:05] [EMAIL PROTECTED]
When we tried to use the new ob_gzhandler but php dies.  If we remove the handler line 
php 4.0.4 works great, but we are excited about using the gzip compression and would 
like this to work.  We compiled the default redhat zlib v1.1.3-12 rpm and we also 
tried downloading the zlib source and linking php to that.  PHP compiled fine, but 
crashed on both.

php configuration:
/configure --with-mysql --enable-track-vars --with-zlib --with-apache=$apachedir 
--with-gd=$gddir --with-jpeg-dir=$gddir 
--with-config-filepath=/common/globalconfig/php --enable-memory-limit

Below is the gdb backtrace:
his GDB was configured as "i386-redhat-linux"...
(gdb) run -X
Starting program: /usr/sbin/./httpd -X

Program received signal SIGSEGV, Segmentation fault.
0x80e2265 in call_user_function_ex (function_table=0x81f2330, object_pp=0x0, 
function_name=0x8223954, 
    retval_ptr_ptr=0x7ffff810, param_count=1, params=0x7ffff814, no_separation=1, 
symbol_table=0x0) at zend_execute_API.c:449
449                     ((zend_internal_function *) 
function_state.function)->handler(param_count, *retval_ptr_ptr, *object_pp, 1 ELS_CC);
(gdb) bt
#0  0x80e2265 in call_user_function_ex (function_table=0x81f2330, object_pp=0x0, 
function_name=0x8223954, 
    retval_ptr_ptr=0x7ffff810, param_count=1, params=0x7ffff814, no_separation=1, 
symbol_table=0x0) at zend_execute_API.c:449
#1  0x80cddbb in php_end_ob_buffer (send_buffer=1) at output.c:131
#2  0x80cdf99 in php_end_ob_buffers (send_buffer=1) at output.c:191
#3  0x80f3d0d in apache_php_module_main (r=0x8229bb4, display_source_mode=0) at 
sapi_apache.c:95
#4  0x807c904 in send_php ()
#5  0x807c939 in send_parsed_php ()
#6  0x812327b in ap_invoke_handler ()
#7  0x8136cfb in process_request_internal ()
#8  0x8136d5c in ap_process_request ()
#9  0x812e48d in child_main ()
#10 0x812e638 in make_child ()
#11 0x812e7ac in startup_children ()
#12 0x812edec in standalone_main ()
#13 0x812f607 in main ()
#14 0x2abbafd1 in __libc_start_main (main=0x812f270 <main>, argc=2, ubp_av=0x7ffffb24, 
init=0x8064c2c <_init>, 
    fini=0x8162fdc <_fini>, rtld_fini=0x2aab9254 <_dl_fini>, stack_end=0x7ffffb1c) at 
../sysdeps/generic/libc-start.c:118
(gdb) 

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



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8369&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to