php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69605 [abrt] a crash has been detected again‏
Submitted: 2015-05-08 16:26 UTC Modified: 2021-10-24 04:22 UTC
Votes:5
Avg. Score:4.6 ± 0.8
Reproduced:5 of 5 (100.0%)
Same Version:0 (0.0%)
Same OS:4 (80.0%)
From: arif at datomato dot com Assigned: cmb (profile)
Status: No Feedback Package: Scripting Engine problem
PHP Version: 5.5.24 OS: CentOS 6.6 x64
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2015-05-08 16:26 UTC] arif at datomato dot com
Description:
------------
(gdb) bt
#0 0x00000000007b8bab in do_register_internal_class (orig_class_entry=0x7fff8efb3870,
ce_flags=0) at /home/cpeasyapache/src/php-5.5.24/Zend/zend_API.c:2496
#1 0x00000000007b8d29 in zend_register_internal_class_ex (class_entry=0x7fff8efb3870,
parent_ce=0x16e80c0, parent_name=<value optimized out>)
at /home/cpeasyapache/src/php-5.5.24/Zend/zend_API.c:2537
#2 0x000000000067058b in spl_register_sub_class (ppce=0xe71730, parent_ce=0x16e80c0,
class_name=0xa533b8 "RecursiveCallbackFilterIterator", obj_ctor=0x672940,
function_list=0xe33040)
at /home/cpeasyapache/src/php-5.5.24/ext/spl/spl_functions.c:61
#3 0x00000000006719f9 in zm_startup_spl_iterators (type=<value optimized out>,
module_number=<value optimized out>)
at /home/cpeasyapache/src/php-5.5.24/ext/spl/spl_iterators.c:3708
#4 0x000000000066d308 in zm_startup_spl (type=1, module_number=32)
at /home/cpeasyapache/src/php-5.5.24/ext/spl/php_spl.c:946
#5 0x00000000007b59f4 in zend_startup_module_ex (module=0x15fc840)
at /home/cpeasyapache/src/php-5.5.24/Zend/zend_API.c:1759
#6 0x00000000007beec5 in zend_hash_apply (ht=0xe78860,
apply_func=0x7b58f0 <zend_startup_module_ex>)
at /home/cpeasyapache/src/php-5.5.24/Zend/zend_hash.c:716
#7 0x00000000007b900a in zend_startup_modules ()
at /home/cpeasyapache/src/php-5.5.24/Zend/zend_API.c:1886
#8 0x0000000000754625 in php_module_startup (sf=<value optimized out>,
additional_modules=<value optimized out>,
num_additional_modules=<value optimized out>)
at /home/cpeasyapache/src/php-5.5.24/main/main.c:2233
#9 0x0000000000861dc5 in php_cgi_startup (sapi_module=<value optimized out>)
at /home/cpeasyapache/src/php-5.5.24/sapi/cgi/cgi_main.c:939
#10 0x0000000000862595 in main (argc=2, argv=0x7fff8efb54c8)
at /home/cpeasyapache/src/php-5.5.24/sapi/cgi/cgi_main.c:1915

Test script:
---------------
[18:22:05 blue root@6457487 /var/spool/abrt/ccpp-2015-05-08-12:12:46-555098]cPs# file coredump
coredump: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/php /home/natun/public_html/index.php'
[18:22:19 blue root@6457487 /var/spool/abrt/ccpp-2015-05-08-12:12:46-555098]cPs# gdb /usr/bin/php coredump


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-05-11 17:32 UTC] cmb@php.net
-Status: Open +Status: Feedback
 [2015-05-11 17:32 UTC] cmb@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.

Furthermore: why do you assume this is GD related?
 [2015-05-21 03:53 UTC] arif at datomato dot com
-Status: Feedback +Status: Open
 [2015-05-21 03:53 UTC] arif at datomato dot com
Hello,

Thank you for reply. I don't know how to make a reproducing script. The website is http://www.24bdtimes.com/ which is causing PHP crash very often. Please let me know how to create the reproducing script.

Respectfully,
Arif
 [2015-05-21 11:39 UTC] cmb@php.net
Ideally, you could offer a minimal test script (i.e. as short as
possible) that triggers the crash. If that is not possible, it
might be impossible to find the cause of the crash.
 [2016-07-23 17:46 UTC] cmb@php.net
-Package: GD related +Package: Scripting Engine problem
 [2021-10-11 11:10 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-10-11 11:10 UTC] cmb@php.net
Is this still an issue with any of the actively supported PHP
versions[1]?

[1] <https://www.php.net/supported-versions.php>
 [2021-10-24 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Dec 09 00:05:53 2022 UTC