php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38748 crash / malloc / dealloc error
Submitted: 2006-09-08 06:11 UTC Modified: 2006-09-08 06:20 UTC
From: lampacz at gmail dot com Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.1.6 OS: Debian unstable/testin i86/amd64
Private report: No CVE-ID: None
 [2006-09-08 06:11 UTC] lampacz at gmail dot com
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-08 06:20 UTC] bjori@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Endless recursion.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 18:01:31 2024 UTC