php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33729 Crash with app with many classes and when using DOM
Submitted: 2005-07-16 20:50 UTC Modified: 2005-07-26 01:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: rick dot martinez at gmail dot com Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 5CVS-2005-07-16 (dev) OS: RHE Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: rick dot martinez at gmail dot com
New email:
PHP Version: OS:

 

 [2005-07-16 20:50 UTC] rick dot martinez at gmail dot com
Description:
------------
I've been trying to fix this for a loong time now. Unfortunately, I am not able to reproduce this error with using a mass amount of classes or a large PHP application so I can't submit 10-20 lines of reproduce code.

I've tried this with multiple version of PHP including 5.0.4, CVS, and 5.1/

Here's the backtrace:

(gdb) run -X
Starting program: /usr/local/apache2/bin/httpd -X
[Thread debugging using libthread_db enabled]
[New Thread -1085276032 (LWP 17346)]
Detaching after fork from child process 17349.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1085276032 (LWP 17346)]
0xbf43dfd5 in zend_get_property_info (zobj=0x10, member=0x83550e8, silent=0) at /usr/src/php5cvs/Zend/zend_object_handlers.c:208
208             if (zend_hash_quick_find(&zobj->ce->properties_info, Z_STRVAL_P(member), Z_STRLEN_P(member)+1, h, (void **) &property_info)==SUCCESS) {
(gdb) bt
#0  0xbf43dfd5 in zend_get_property_info (zobj=0x10, member=0x83550e8, silent=0)
    at /usr/src/php5cvs/Zend/zend_object_handlers.c:208
#1  0xbf43d269 in zend_std_unset_property (object=0xbfffd4b0, member=0x83550e8) at /usr/src/php5cvs/Zend/zend_object_handlers.c:541
#2  0xbf44cb00 in zend_unset_dim_obj_handler (execute_data=0xbfffd2b0, opline=0x83550b8, op_array=0x831b90c)
    at /usr/src/php5cvs/Zend/zend_execute.c:3757
#3  0xbf4483ce in execute (op_array=0x831b90c) at /usr/src/php5cvs/Zend/zend_execute.c:1437
#4  0xbf425669 in zend_call_function (fci=0xbfffd420, fci_cache=0xbfffd400) at /usr/src/php5cvs/Zend/zend_execute_API.c:873
#5  0xbf438fbc in zend_call_method (object_pp=0xbfffd4ac, obj_ce=0x82b5c7c, fn_proxy=0x0, function_name=0xbf4b42e9 "__destruct", 
    function_name_len=10, retval_ptr_ptr=0x0, param_count=7, arg1=0x0, arg2=0x0) at /usr/src/php5cvs/Zend/zend_interfaces.c:86
#6  0xbf43c42a in zend_objects_destroy_object (object=0x8318b0c, handle=7) at /usr/src/php5cvs/Zend/zend_objects.c:78
#7  0xbf43e229 in zend_objects_store_call_destructors (objects=0xbf4fed54) at /usr/src/php5cvs/Zend/zend_objects_API.c:54
#8  0xbf42450f in shutdown_destructors () at /usr/src/php5cvs/Zend/zend_execute_API.c:190
#9  0xbf42d3fd in zend_call_destructors () at /usr/src/php5cvs/Zend/zend.c:809
#10 0xbf3ffe2c in php_request_shutdown (dummy=0x0) at /usr/src/php5cvs/main/main.c:1195
#11 0xbf451398 in php_handler (r=0x82089c0) at /usr/src/php5cvs/sapi/apache2handler/sapi_apache2.c:565
#12 0x0808338e in ap_run_handler (r=0x82089c0) at config.c:153
#13 0x080838a6 in ap_invoke_handler (r=0x82089c0) at config.c:364
#14 0x0806cdbc in ap_internal_redirect (new_uri=0x82089b0 "/index.php", r=0x8203808) at http_request.c:465
#15 0x0807cf08 in handler_redirect (r=0x8203808) at mod_rewrite.c:1735
#16 0x0808338e in ap_run_handler (r=0x8203808) at config.c:153
#17 0x080838a6 in ap_invoke_handler (r=0x8203808) at config.c:364
#18 0x0806c897 in ap_process_request (r=0x8203808) at http_request.c:249
#19 0x08068951 in ap_process_http_connection (c=0x81fd658) at http_core.c:251
#20 0x0808c62e in ap_run_process_connection (c=0x81fd658) at connection.c:43
#21 0x08081f07 in child_main (child_num_arg=7) at prefork.c:610
#22 0x080820b2 in make_child (s=0x80c09f8, slot=0) at prefork.c:650
#23 0x0808210b in startup_children (number_to_start=5) at prefork.c:722
#24 0x08082819 in ap_mpm_run (_pconf=0x80bc0a8, plog=0x80f4188, s=0x80c09f8) at prefork.c:941
#25 0x080877f2 in main (argc=2, argv=0xbfffe2a4) at main.c:618
(gdb) quit

THANKS A LOT for your help in advance!! :)

Expected result:
----------------
No segmentation fault

Actual result:
--------------
Segmentation fault (signal 11)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-07-18 02:32 UTC] sniper@php.net
You really need to come up with reproducing script. Without one we can't do anything. (if you can't come up with one, don't reopen this report)

 [2005-07-26 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 22:01:33 2024 UTC