From:             danil dot megrabjan at gmail dot com
Operating system: reproducible
PHP version:      5.2.4RC1
PHP Bug Type:     Reproducible crash
Bug description:  Segmentation fault after php script proccessing end

Description:
------------
After proccessing php-script i have my total result in browser, but in
apache logs i see that "[Wed Aug 15 11:16:11 2007] [notice] child pid 8922
exit signal Segmentation fault (11)"
I use gdb so that i have any details about this problem.

I think, that main problem consist in php garbage collector whe it try  to
free...

Reproduce code:
---------------
Very many code... i dont`n now how i may send this big code. Just as i
don't know how i can this code made is shorten in 20 lines.

Actual result:
--------------
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1213375712 (LWP 9388)]
0xb7cc7f49 in free () from /lib/libc.so.6
(gdb) bt
#0  0xb7cc7f49 in free () from /lib/libc.so.6
#1  0xb79302c1 in free_zend_constant (c=0x804a9bd7) at
/usr/src/debug/php-5.2.3/Zend/zend_constants.c:35
#2  0xb7949ae5 in zend_hash_apply_deleter (ht=0x4ab08800, p=0x804a9ba0) at
/usr/src/debug/php-5.2.3/Zend/zend_hash.c:805
#3  0xb7949bee in zend_hash_reverse_apply (ht=0x800b7068,
apply_func=0xb792f240 <clean_non_persistent_constant>)
    at /usr/src/debug/php-5.2.3/Zend/zend_hash.c:954
#4  0xb7930138 in clean_non_persistent_constants () at
/usr/src/debug/php-5.2.3/Zend/zend_constants.c:231
#5  0xb7931ab4 in shutdown_executor () at
/usr/src/debug/php-5.2.3/Zend/zend_execute_API.c:303
#6  0xb793eecf in zend_deactivate () at
/usr/src/debug/php-5.2.3/Zend/zend.c:941
#7  0xb78f579d in php_request_shutdown (dummy=0x0) at
/usr/src/debug/php-5.2.3/main/main.c:1323
#8  0xb79c541c in php_handler (r=0x8048fd38) at
/usr/src/debug/php-5.2.3/sapi/apache2handler/sapi_apache2.c:467
#9  0x8002f94d in ap_run_handler (r=0x8048fd38) at config.c:157
#10 0x80033227 in ap_invoke_handler (r=0x8048fd38) at config.c:372
#11 0x8003f084 in ap_internal_redirect (new_uri=0x8048fd18
"/infin.php?query=start/1/666666", r=0x80486f48)
    at http_request.c:477
#12 0xb756ec10 in ?? () from /usr/lib/apache2-prefork/mod_rewrite.so
#13 0x8048fd18 in ?? ()
#14 0x80486f48 in ?? ()
#15 0xb757367f in ?? () from /usr/lib/apache2-prefork/mod_rewrite.so
#16 0x8048fc50 in ?? ()
#17 0x00000000 in ?? ()

-- 
Edit bug report at http://bugs.php.net/?id=42305&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=42305&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=42305&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=42305&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=42305&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=42305&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=42305&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=42305&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=42305&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=42305&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=42305&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=42305&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=42305&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=42305&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=42305&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=42305&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=42305&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=42305&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=42305&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=42305&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=42305&r=mysqlcfg

Reply via email to