Edit report at http://bugs.php.net/bug.php?id=53333&edit=1
ID: 53333
Updated by: felipe@php.net
Reported by: pajoye@php.net
Summary: Random crash
-Status: Open
+Status: Assigned
Type: Bug
Package: MySQLi related
Operating System: *
PHP Version: 5.3.3
-Assigned To:
+Assigned To: mysql
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2010-11-20 13:45:02] pajoye@php.net
Can reproduce the crash with 5.3.4RC1 as well. It happens while
switching apps (new DB connection with different credential). Updated
bt:
php5ts!_zend_mm_free_int+0x57
[d:\php-sdk\snap_5_3\vc9\x86\php-5.3.4rc1\zend\zend_alloc.c @ 2018]
php5ts!_efree+0x2e
[d:\php-sdk\snap_5_3\vc9\x86\php-5.3.4rc1\zend\zend_alloc.c @ 2351]
php5ts!zend_hash_destroy+0x27
[d:\php-sdk\snap_5_3\vc9\x86\php-5.3.4rc1\zend\zend_hash.c @ 529]
php5ts!zend_object_std_dtor+0x2b
[d:\php-sdk\snap_5_3\vc9\x86\php-5.3.4rc1\zend\zend_objects.c @ 46]
php_mysqli!mysqli_result_free_storage+0x3f
[d:\php-sdk\snap_5_3\vc9\x86\php-5.3.4rc1\ext\mysqli\mysqli.c @ 270]
php5ts!zend_objects_store_del_ref_by_handle_ex+0x1c1
[d:\php-sdk\snap_5_3\vc9\x86\php-5.3.4rc1\zend\zend_objects_api.c @
220]
php5ts!zend_objects_store_del_ref+0x1a
[d:\php-sdk\snap_5_3\vc9\x86\php-5.3.4rc1\zend\zend_objects_api.c @
173]
php5ts!_zval_dtor_func+0x7f
[d:\php-sdk\snap_5_3\vc9\x86\php-5.3.4rc1\zend\zend_variables.c @ 60]
php5ts!_zval_ptr_dtor+0x56
[d:\php-sdk\snap_5_3\vc9\x86\php-5.3.4rc1\zend\zend_execute_api.c @
443]
php5ts!zend_leave_helper_SPEC+0x6c
[d:\php-sdk\snap_5_3\vc9\x86\php-5.3.4rc1\zend\zend_vm_execute.h @ 160]
php5ts!ZEND_RETURN_SPEC_TMP_HANDLER+0xa3
[d:\php-sdk\snap_5_3\vc9\x86\php-5.3.4rc1\zend\zend_vm_execute.h @
4970]
php5ts!execute+0x2e8
[d:\php-sdk\snap_5_3\vc9\x86\php-5.3.4rc1\zend\zend_vm_execute.h @ 107]
php5ts!zend_call_function+0x8c9
[d:\php-sdk\snap_5_3\vc9\x86\php-5.3.4rc1\zend\zend_execute_api.c @
964]
php5ts!zif_call_user_func_array+0x63
[d:\php-sdk\snap_5_3\vc9\x86\php-5.3.4rc1\ext\standard\basic_functions.c
@ 4796]
php5ts!zend_do_fcall_common_helper_SPEC+0x920
[d:\php-sdk\snap_5_3\vc9\x86\php-5.3.4rc1\zend\zend_vm_execute.h @ 316]
php5ts!ZEND_DO_FCALL_SPEC_CONST_HANDLER+0x11a
[d:\php-sdk\snap_5_3\vc9\x86\php-5.3.4rc1\zend\zend_vm_execute.h @
1606]
php5ts!execute+0x2e8
[d:\php-sdk\snap_5_3\vc9\x86\php-5.3.4rc1\zend\zend_vm_execute.h @ 107]
php5ts!zend_execute_scripts+0xfe
[d:\php-sdk\snap_5_3\vc9\x86\php-5.3.4rc1\zend\zend.c @ 1195]
php5ts!php_execute_script+0x24c
[d:\php-sdk\snap_5_3\vc9\x86\php-5.3.4rc1\main\main.c @ 2265]
------------------------------------------------------------------------
[2010-11-18 01:26:55] pajoye@php.net
Description:
------------
See the backtrace here http://pastie.org/1307118
The crash is hard to reproduce but happens regularly in our tests (using
mediawiki, wordpress or other apps).
Does it ring a bell to one of you (mysql devs :)?
It could also be a GC bug. I can send the memory dump if one of you like
to do a post morterm debugging.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53333&edit=1