#38748 [NEW]: crash / malloc / dealloc error
| From: | lampacz at gmail dot com | Date: | Fri, 08 Sep 2006 06:11:58 +0000 |
| Subject: | #38748 [NEW]: crash / malloc / dealloc error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-101859@lists.php.net to get a copy of this message | ||
From: lampacz at gmail dot com
Operating system: Debian unstable/testin i86/amd64
PHP version: 5.1.6
PHP Bug Type: Reproducible crash
Bug description: crash / malloc / dealloc error
Description:
------------
this script ends with sigseg
tested on amd64 and
Reproduce code:
---------------
http://lampa.naut.cz/lib_db.phps
Expected result:
----------------
i don't know but anything instead crash (error message)
Actual result:
--------------
#0 0xb7b61c1f in free () from /lib/tls/libc.so.6
#1 0xb7b63c4f in malloc () from /lib/tls/libc.so.6
#2 0x0820cb31 in _emalloc (size=3082990784) at
/root/src/php-5.1.5/Zend/zend_alloc.c:182
#3 0x082274f4 in zend_is_callable_check_func (check_flags=4,
zobj_ptr_ptr=0xbf185148, ce_org=0x0, callable=0x90ad5ec,
ce_ptr=0xbf185154, fptr_ptr=0xbf18514c) at
/root/src/php-5.1.5/Zend/zend_operators.h:200
#4 0x082277fa in zend_is_callable_ex (callable=0x90ad5ec,
check_flags=<value optimized out>, callable_name=0xbf185230,
callable_name_len=0xbf185158, ce_ptr=0xbf185154, fptr_ptr=0xbf18514c,
zobj_ptr_ptr=0xbf185148)
at /root/src/php-5.1.5/Zend/zend_API.c:2150
#5 0x08227b97 in zend_is_callable (callable=0x90ad5ec, check_flags=0,
callable_name=0xbf185230) at /root/src/php-5.1.5/Zend/zend_API.c:2248
#6 0x08176c55 in zif_array_map (ht=2, return_value=0x90ad77c,
return_value_ptr=0x0, this_ptr=0x0, return_value_used=1) at
/root/src/php-5.1.5/ext/standard/array.c:4237
#7 0x0823d48d in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf1858a0) at
/root/src/php-5.1.5/Zend/zend_vm_execute.h:200
#8 0x0823e848 in execute (op_array=0x856d154) at
/root/src/php-5.1.5/Zend/zend_vm_execute.h:92
#9 0x0823ce23 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf185e00) at
/root/src/php-5.1.5/Zend/zend_vm_execute.h:234
#10 0x0823e848 in execute (op_array=0x856871c) at
/root/src/php-5.1.5/Zend/zend_vm_execute.h:92
last two lines repeats many times
--
Edit bug report at http://bugs.php.net/?id=38748&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38748&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38748&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38748&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38748&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38748&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38748&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38748&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38748&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38748&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38748&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38748&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38748&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38748&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38748&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38748&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38748&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38748&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38748&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38748&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38748&r=mysqlcfg