ID:               20985
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: Redhat Linux 7.3 & 8
 PHP Version:      4.3.0RC3
 New Comment:

This is a fairly big script and I cannot even run it fully because I am
missing over a dosen various includes your script requires. Is there
any way you could reduce this to a single, preferably short script that
could be used to replicate the memory leak you are seeing?


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

[2002-12-15 13:21:15] [EMAIL PROTECTED]

The files has been sent to [EMAIL PROTECTED]

If none of my scripts has errors I can not get SIGSEGV. But I get "Last
leak repeated X times". Have a look at
http://test.webalogic.net/bugs/error_log-no_SIGSEGV and the other files
at http://test.webalogic.net/

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

[2002-12-14 23:37:19] [EMAIL PROTECTED]

Could you provide copies of the list.phtml & info.phtml scripts?

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

[2002-12-14 16:22:39] [EMAIL PROTECTED]

By starting Apache, with built in Php-4.3.0RC3, with 'gdb
/usr/local/apache/bin/httpd' I can not make it crash.
But if I start Apache normally I get a Segmentation fault in the
error_log. Please see the bottom of
http://test.webalogic.net/bugs/error_log_php4-3 (2mb)

What can I do to help you further?

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

[2002-12-14 13:59:11] [EMAIL PROTECTED]

I'll now start testing Php-4.3.0RC3

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

[2002-12-14 13:51:02] [EMAIL PROTECTED]

This is what I get every time with Php 4.2.3 compiled into Apache.
More info @ http://test.webalogic.net/bugs/
I think the bug is happening when Apache is trying to kill children, as
the SIGSEGV is happening when the stress tool is finished.

(gdb) run -X
Starting program: /usr/local/apache/bin/httpd -X

Program received signal SIGSEGV, Segmentation fault.
0x4207c46c in memcpy () from /lib/i686/libc.so.6
(gdb) bt
#0  0x4207c46c in memcpy () from /lib/i686/libc.so.6
#1  0x081041d0 in _mem_block_check ()
#2  0x08104197 in _mem_block_check ()
#3  0x081034a1 in _efree ()
#4  0x0811283c in _zval_dtor ()
#5  0x08109bac in free_zend_constant ()
#6  0x08118c29 in zend_hash_del_key_or_index ()
#7  0x081194a6 in zend_hash_reverse_apply ()
#8  0x08109fb4 in clean_non_persistent_constants ()
#9  0x0810a780 in shutdown_executor ()
#10 0x0811387f in zend_deactivate ()
#11 0x08078500 in php_request_shutdown ()
#12 0x0811f192 in apache_php_module_main ()
#13 0x080761cc in php_restore_umask ()
#14 0x08076237 in php_restore_umask ()
#15 0x08140990 in ap_invoke_handler ()
#16 0x08154d86 in ap_some_auth_required ()
#17 0x08154de6 in ap_process_request ()
#18 0x0814c0aa in ap_child_terminate ()
#19 0x0814c24a in ap_child_terminate ()
#20 0x0814c3b1 in ap_child_terminate ()
#21 0x0814c9de in ap_child_terminate ()
#22 0x0814d1fc in main ()
---Type <return> to continue, or q <return> to quit---
#23 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) frame 5
#5  0x08109bac in free_zend_constant ()
(gdb) list
1       <unknown>: No such file or directory.
        in <unknown>
(gdb) p
The history is empty.
(gdb)

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/20985

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

Reply via email to