ID:               43397
 User updated by:  phajdan dot jr at gmail dot com
 Reported By:      phajdan dot jr at gmail dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Scripting Engine problem
 Operating System: Linux (Gentoo 2007.0)
 PHP Version:      5.3CVS-2007-11-25
 Assigned To:      dmitry
 New Comment:

Well, I wrote this earlier: I couldn't reduce the set of failing code
enough to be usable. I tried again. At some point the problem
disappears. It seems to be caused by a big amount of
allocation/deallocation, so would be difficult to reproduce in a short
script.

Please note that the bug has been *introduced* with Zend MM. In earlier
versions of PHP it's just not present. That may help finding the cause.

I can also try to help reproduce the issue some other way, if you can
provide me with some instructions or directions.


Previous Comments:
------------------------------------------------------------------------

[2008-02-20 14:50:41] [EMAIL PROTECTED]

It is not possible to reproduce and fix the bug, without "bad" code.

------------------------------------------------------------------------

[2008-02-13 18:49:14] phajdan dot jr at gmail dot com

Please take a look at my original report - I was unable to extract a
simple fragment which is causing the problem. Yet I'm still able to
debug the issue in some other way.

One thing is worth noting: I'm almost sure it's something withe the new
Zend MM introduced in some recent version of PHP. This crash didn't
happen earlier (I tested it again with older version just to make sure),
and with debug build it also does not happen.

------------------------------------------------------------------------

[2008-02-13 18:45:01] [EMAIL PROTECTED]

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.



------------------------------------------------------------------------

[2007-11-26 17:55:30] phajdan dot jr at gmail dot com

I can confirm the bug with latest CVS snapshot. GDB backtrace:

#0  0xb77f4b79 in _zend_mm_free_int () from
/usr/lib/apache2/modules/libphp5.so
#1  0xb7810087 in _zval_dtor_func () from
/usr/lib/apache2/modules/libphp5.so
#2  0xb7803cc9 in _zval_ptr_dtor () from
/usr/lib/apache2/modules/libphp5.so
#3  0xb781a866 in zend_hash_destroy () from
/usr/lib/apache2/modules/libphp5.so
#4  0xb78297e3 in zend_object_std_dtor () from
/usr/lib/apache2/modules/libphp5.so
#5  0xb7829812 in zend_objects_free_object_storage () from
/usr/lib/apache2/modules/libphp5.so
#6  0xb782cc17 in zend_objects_store_del_ref_by_handle () from
/usr/lib/apache2/modules/libphp5.so
#7  0xb782cc57 in zend_objects_store_del_ref () from
/usr/lib/apache2/modules/libphp5.so
#8  0xb7803cc9 in _zval_ptr_dtor () from
/usr/lib/apache2/modules/libphp5.so
#9  0xb781a866 in zend_hash_destroy () from
/usr/lib/apache2/modules/libphp5.so
#10 0xb7810087 in _zval_dtor_func () from
/usr/lib/apache2/modules/libphp5.so
#11 0xb7803cc9 in _zval_ptr_dtor () from
/usr/lib/apache2/modules/libphp5.so
#12 0xb781a866 in zend_hash_destroy () from
/usr/lib/apache2/modules/libphp5.so
#13 0xb7810087 in _zval_dtor_func () from
/usr/lib/apache2/modules/libphp5.so
#14 0xb7803cc9 in _zval_ptr_dtor () from
/usr/lib/apache2/modules/libphp5.so
#15 0xb781aa56 in zend_hash_clean () from
/usr/lib/apache2/modules/libphp5.so
#16 0xb7807b75 in zend_cleanup_op_array_data () from
/usr/lib/apache2/modules/libphp5.so
#17 0xb7807b97 in zend_cleanup_function_data_full () from
/usr/lib/apache2/modules/libphp5.so
#18 0xb781a73c in zend_hash_apply () from
/usr/lib/apache2/modules/libphp5.so
#19 0xb7807a09 in zend_cleanup_class_data () from
/usr/lib/apache2/modules/libphp5.so
#20 0xb781a73c in zend_hash_apply () from
/usr/lib/apache2/modules/libphp5.so
#21 0xb78040f9 in shutdown_executor () from
/usr/lib/apache2/modules/libphp5.so
#22 0xb78105fd in zend_deactivate () from
/usr/lib/apache2/modules/libphp5.so
#23 0xb77cce79 in php_request_shutdown () from
/usr/lib/apache2/modules/libphp5.so
#24 0xb7893f9d in php_handler () from
/usr/lib/apache2/modules/libphp5.so
#25 0x08079037 in ap_run_handler ()
#26 0x0807c1b7 in ap_invoke_handler ()
#27 0x08087068 in ap_process_request ()
#28 0x080842cf in ap_process_http_connection ()
#29 0x0807ff67 in ap_run_process_connection ()
#30 0x0808b1a4 in child_main ()
#31 0x0808b409 in make_child ()
#32 0x0808c177 in ap_mpm_run ()
#33 0x08066908 in main ()

------------------------------------------------------------------------

[2007-11-25 17:28:12] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.3-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.3-win32-installer-latest.msi



------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/43397

-- 
Edit this bug report at http://bugs.php.net/?id=43397&edit=1

Reply via email to