Re: RE: SEGFAULTs in apache

From: Date: Wed, 29 Aug 2001 15:49:28 +0000
Subject: Re: RE: SEGFAULTs in apache
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-64633@lists.php.net to get a copy of this message
Are you using sessions?  Output compression?  Your own output handler?
Cutting things down to something that reproduces the problem would be pretty essential here - the output buffering code is quite complex.

At 18:51 29-08-01, Wez Furlong wrote:
I've managed to get things to run without segfaults (--enable-debug) but noticed this in my error log: --------------------------------------- output.c(240) : Block 0x089807C0 status:
Beginning:      Overrun (magic=0x401945F8, expected=0x7312F8DC)
      End:      Unknown
This is also with latest CVS, and the scripts without output buffering are the ones that were unaffected by the segfaults earlier. --Wez. Program received signal SIGSEGV, Segmentation fault. chunk_alloc (ar_ptr=0x401942c0, nb=3856) at malloc.c:2878
2878    malloc.c: No such file or directory.
(gdb) bt #0 chunk_alloc (ar_ptr=0x401942c0, nb=3856) at malloc.c:2878 #1 0x4010883c in malloc () at malloc.c:2181 #2 0x40310b0d in _emalloc () at zend_alloc.c:330 #3 0x40310d27 in _erealloc () at zend_alloc.c:330 #4 0x40328fb2 in op_array_alloc_ops (op_array=0x8a3c024) at zend_opcode.c:48 #5 0x40329028 in init_op_array () at zend_opcode.c:48 #6 0x4030ab07 in compile_file () at zend_language_scanner.c:5085 #7 0x403246db in execute () at ./zend_execute.c:959 #8 0x4031ff42 in execute () at ./zend_execute.c:959 #9 0x4031ff42 in execute () at ./zend_execute.c:959 #10 0x40330abe in zend_execute_scripts () at zend.c:371 #11 0x4033f984 in php_execute_script () at main.c:1243 #12 0x4033b2fe in apache_php_module_main () at sapi_apache.c:100 #13 0x4033bec0 in send_php (r=0x86ce280, display_source_mode=0, filename=0x0)
    at mod_php4.c:575
#14 0x4033bf33 in send_parsed_php (r=0x86ce280) at mod_php4.c:590 #15 0x8054405 in ap_invoke_handler () #16 0x8063dcc in process_request_internal () #17 0x80640ef in ap_internal_redirect () #18 0x409f4d9e in XkbChangeEnabledControls () from /usr/X11R6/lib/libX11.so.6 #19 0x8054405 in ap_invoke_handler () #20 0x8063dcc in process_request_internal () #21 0x8063e31 in ap_process_request () #22 0x805d539 in child_main () #23 0x805d6cc in make_child () #24 0x805d7f1 in startup_children () #25 0x805dcc0 in standalone_main () #26 0x805e38f in main () #27 0x400cfa8e in __libc_start_main () at ../sysdeps/generic/libc-start.c:93 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
-- Zeev Suraski <zeev@zend.com> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/

Thread (4 messages)

« previous php.dev (#64633) next »