Segfault (shutdown_executor) Where to look when debugging?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Our CMS segfaults on certain pages. It's a lot of code to debug so I wonder 
if someone can point in me in de right direction where to look.

The GDB backtrace points out that the segfault occurs on shutdown. 
(shutdown_executor). Then I see a reference to 
zend_objects_free_object_storage? Has this something to do with refcounting? 
Or should I look to __destruct() methods?

I'm running PHP 5.2.8 on Gentoo. Also tested it on Fedora, same segfault.

Thanks for your help!

Regards,
AJ

#0  0x00002aaaae44eb96 in _zval_ptr_dtor (zval_ptr=0x2aaab14de7c7, 
__zend_filename=0x2aaaae7983b0 
"/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/Zend/zend_variables.c", 
__zend_lineno=175)
    at 
/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/Zend/zend_execute_API.c:412
#1  0x00002aaaae45fd04 in _zval_ptr_dtor_wrapper (zval_ptr=0x2aaab14de7c7) 
at 
/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/Zend/zend_variables.c:175
#2  0x00002aaaae4708e0 in zend_hash_destroy (ht=0x2aaab152c4d0) at 
/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/Zend/zend_hash.c:526
#3  0x00002aaaae4876c0 in zend_object_std_dtor (object=0x2aaab1215540) at 
/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/Zend/zend_objects.c:45
#4  0x00002aaaae487b97 in zend_objects_free_object_storage 
(object=0x2aaab1215540) at 
/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/Zend/zend_objects.c:122
#5  0x00002aaaae48c5b2 in zend_objects_store_del_ref_by_handle (handle=655) 
at 
/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/Zend/zend_objects_API.c:206
#6  0x00002aaaae48c39d in zend_objects_store_del_ref 
(zobject=0x2aaab14e0aa0) at 
/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/Zend/zend_objects_API.c:168
#7  0x00002aaaae45f948 in _zval_dtor_func (zvalue=0x2aaab14e0aa0, 
__zend_filename=0x2aaaae7970e0 
"/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/Zend/zend_variables.h", 
__zend_lineno=35)
    at 
/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/Zend/zend_variables.c:52
#8  0x00002aaaae44e93b in _zval_dtor (zvalue=0x2aaab14e0aa0, 
__zend_filename=0x2aaaae797038 
"/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/Zend/zend_execute_API.c", 
__zend_lineno=414)
    at 
/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/Zend/zend_variables.h:35
#9  0x00002aaaae44ebc1 in _zval_ptr_dtor (zval_ptr=0x2aaab14df1e8, 
__zend_filename=0x2aaaae7983b0 
"/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/Zend/zend_variables.c", 
__zend_lineno=175)
    at 
/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/Zend/zend_execute_API.c:414
#10 0x00002aaaae45fd04 in _zval_ptr_dtor_wrapper (zval_ptr=0x2aaab14df1e8) 
at 
/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/Zend/zend_variables.c:175
#11 0x00002aaaae4708e0 in zend_hash_destroy (ht=0x2aaab126f208) at 
/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/Zend/zend_hash.c:526
#12 0x00002aaaae4876c0 in zend_object_std_dtor (object=0x2aaab14de740) at 
/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/Zend/zend_objects.c:45
#13 0x00002aaaae487b97 in zend_objects_free_object_storage 
(object=0x2aaab14de740) at 
/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/Zend/zend_objects.c:122
#14 0x00002aaaae48c0c1 in zend_objects_store_free_object_storage 
(objects=0x2aaaae9e5c60) at 
/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/Zend/zend_objects_API.c:89
#15 0x00002aaaae44e778 in shutdown_executor () at 
/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/Zend/zend_execute_API.c:299
#16 0x00002aaaae4615d9 in zend_deactivate () at 
/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/Zend/zend.c:860
#17 0x00002aaaae3fccb6 in php_request_shutdown (dummy=0x0) at 
/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/main/main.c:1492
#18 0x00002aaaae4ea808 in php_apache_request_dtor (r=0x893fa8) at 
/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/sapi/apache2handler/sapi_apache2.c:472
#19 0x00002aaaae4eb0b6 in php_handler (r=0x893fa8) at 
/var/tmp/portage/dev-lang/php-5.2.8-r2/work/php-5.2.8/sapi/apache2handler/sapi_apache2.c:644
#20 0x00000000004310fc in ap_run_handler ()
#21 0x0000000000431527 in ap_invoke_handler ()
#22 0x000000000043d1e5 in ap_process_request ()
#23 0x000000000043ab3c in ?? ()
#24 0x000000000043756a in ap_run_process_connection ()
#25 0x00000000004410c6 in ?? ()
#26 0x000000000044125a in ?? ()
#27 0x0000000000441801 in ap_mpm_run ()
#28 0x000000000041fb77 in main ()



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux