php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59311 apc_bin_dump() crashes PHP
Submitted: 2010-07-15 11:43 UTC Modified: 2010-07-22 08:51 UTC
From: php-bugs at majkl578 dot cz Assigned:
Status: Closed Package: APC (PECL)
PHP Version: 5.3.2 OS: Linux Debian
Private report: No CVE-ID: None
 [2010-07-15 11:43 UTC] php-bugs at majkl578 dot cz
Description:
------------
Executing apc_bin_dump() crashes PHP.

Reproduce code:
---------------
<?php

apc_bin_dump();

Actual result:
--------------
Backtrace:
#0  0xb66aa546 in apc_flip_hash () from /usr/lib/php5/20090626+lfs/apc.so
#1  0xb66bc46f in apc_bin_dump () from /usr/lib/php5/20090626+lfs/apc.so
#2  0xb66ac2fb in zif_apc_bin_dump () from /usr/lib/php5/20090626+lfs/apc.so
#3  0xb71baddb in execute_internal (execute_data_ptr=0x95f6b7c, 
    return_value_used=0) at /tmp/buildd/php5-5.3.2/Zend/zend_execute.c:1260
#4  0xb66d1cb4 in xdebug_execute_internal (current_execute_data=0x95f6b7c, 
    return_value_used=0)
    at /build/buildd-xdebug_2.1.0-1-i386-E0mHTc/xdebug-2.1.0/build-php5/xdebug.c:1339
#5  0xb2d81ed3 in ?? () from /usr/lib/php5/20090626+lfs/suhosin.so
#6  0xb71e6a18 in zend_do_fcall_common_helper_SPEC (execute_data=0xd)
    at /tmp/buildd/php5-5.3.2/Zend/zend_vm_execute.h:315
#7  0xb71bd77e in execute (op_array=0x95b2bec)
    at /tmp/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#8  0xb66d1963 in xdebug_execute (op_array=0x95b2bec)
    at /build/buildd-xdebug_2.1.0-1-i386-E0mHTc/xdebug-2.1.0/build-php5/xdebug.c:1272
#9  0xb2d82334 in ?? () from /usr/lib/php5/20090626+lfs/suhosin.so
#10 0xb71938e6 in zend_execute_scripts (type=8, retval=0x0, file_count=3)
    at /tmp/buildd/php5-5.3.2/Zend/zend.c:1266
#11 0xb7137ff4 in php_execute_script (primary_file=0xbf92a9b4)
    at /tmp/buildd/php5-5.3.2/main/main.c:2288
#12 0xb7225d9b in php_handler (r=0x95edb88)
    at /tmp/buildd/php5-5.3.2/sapi/apache2handler/sapi_apache2.c:674
#13 0x0807cb96 in ap_run_handler ()
#14 0x08080311 in ap_invoke_handler ()
#15 0x0808e390 in ap_process_request ()
#16 0x0808b3a0 in ?? ()
#17 0x080846e6 in ap_run_process_connection ()
#18 0x080930f8 in ?? ()
#19 0x0809344b in ?? ()
#20 0x0809423c in ap_mpm_run ()
#21 0x080696a4 in main ()

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-07-22 08:51 UTC] gopalv82 at yahoo dot com
This bug has been fixed in SVN.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.

odd little bug.

http://news.php.net/php.pecl.cvs/14442

Fixed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 01 06:01:32 2024 UTC