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

 ID:               51405
 User updated by:  miha dot vrhovnik at domenca dot com
 Reported by:      miha dot vrhovnik at domenca dot com
 Summary:          segmentation fault at the "engine shutdown"
-Status:           Feedback
+Status:           Open
 Type:             Bug
 Package:          Reproducible crash
 Operating System: Linux
 PHP Version:      5.3.2

 New Comment:

Already commented a few days ago.


Previous Comments:
------------------------------------------------------------------------
[2010-06-20 09:56:16] miha dot vrhovnik at domenca dot com

I've had memcached, apc and xdebug on.. But turned them off as I also
suspected that one of them might be the culprit, but no joy. It's only
PHP compiled as written in my first post.

------------------------------------------------------------------------
[2010-06-08 14:31:29] tony2...@php.net

No, I don't think VmWare image can be called a short reproduce case.

Do you use any accelerators/opcode caches/other non-standard
extensions?

If yes, please disable them and see if you can still reproduce it.

------------------------------------------------------------------------
[2010-05-20 07:34:28] miha dot vrhovnik at domenca dot com

Hi, Mike.... 

I've tried to strip it down to simple script, but without success. Would
downloadable VmWare image where I'd strip away as much as I can, help?

------------------------------------------------------------------------
[2010-05-19 15:47:13] m...@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.

No reproduce case, no chance to do anything, sorry.

------------------------------------------------------------------------
[2010-03-27 19:46:56] miha dot vrhovnik at domenca dot com

Just so there won't be any excuses that this is because I'm running
under php-fpm Here is backtrace from apache2.



a bit different configure -- removed fpm and added apache:

./configure '--with-apxs2=/usr/bin/apxs2' '--with-openssl' '--with-zlib'
'--enable-bcmath' '--with-bz2' '--enable-calendar' '--with-curl'
'--enable-exif' '--enable-ftp' '--with-gd' '--with-imap'
'--with-imap-ssl' '--enable-mbstring' '--with-mcrypt' '--enable-pcntl'
'--with-pdo-mysql' '--with-pdo-pgsql' '--with-pgsql' '--with-readline'
'--with-mysql' '--enable-soap' '--enable-sockets' '--enable-sqlite-utf8'
'--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--with-tidy'
'--enable-wddx' '--with-xmlrpc' '--with-xsl' '--enable-zip'
'--with-kerberos' '--with-mysqli'
'--with-config-file-path=/usr/local/etc'
'--with-config-file-scan-dir=/usr/local/etc/php.d' '--with-pear'
'--with-jpeg-dir=/usr/lib' --with-freetype-dir=/usr/lib



and now the actual backtrace

(gdb) continue

Continuing.



Program received signal SIGSEGV, Segmentation fault.

_zend_mm_free_int (heap=0xb979d180, p=0xb9946290)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_alloc.c:2018

2018    /projects/php53/php-fpm-5.3.2/Zend/zend_alloc.c: No such file or
directory.

        in /projects/php53/php-fpm-5.3.2/Zend/zend_alloc.c

(gdb) bt

#0  _zend_mm_free_int (heap=0xb979d180, p=0xb9946290)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_alloc.c:2018

#1  0xb6ff2498 in zend_hash_destroy (ht=0xba189ca0)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_hash.c:526

#2  0xb7003fc3 in zend_object_std_dtor (object=0xba193830)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_objects.c:45

#3  0xb7003ff2 in zend_objects_free_object_storage (object=0xba193830)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_objects.c:114

#4  0xb70075fc in zend_objects_store_del_ref_by_handle_ex (handle=127,

    handlers=0xb74c65c0)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_objects_API.c:220

#5  0xb700762f in zend_objects_store_del_ref (zobject=0xba189ff0)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_objects_API.c:172

#6  0xb6fdbedf in _zval_dtor (zval_ptr=0xba1a6238)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_variables.h:35

#7  _zval_ptr_dtor (zval_ptr=0xba1a6238)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_execute_API.c:439

#8  0xb6ff2498 in zend_hash_destroy (ht=0xba19273c)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_hash.c:526

#9  0xb6fe6945 in _zval_dtor_func (zvalue=0xba197ef4)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_variables.c:43

#10 0xb6fdbedf in _zval_dtor (zval_ptr=0xba106080)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_variables.h:35

---Type <return> to continue, or q <return> to quit---

#11 _zval_ptr_dtor (zval_ptr=0xba106080)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_execute_API.c:439

#12 0xb6ff2498 in zend_hash_destroy (ht=0xba12276c)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_hash.c:526

#13 0xb7003fc3 in zend_object_std_dtor (object=0xb5e7013c)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_objects.c:45

#14 0xb7003ff2 in zend_objects_free_object_storage (object=0xb5e7013c)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_objects.c:114

#15 0xb70075fc in zend_objects_store_del_ref_by_handle_ex (handle=120,

    handlers=0xb74c65c0)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_objects_API.c:220

#16 0xb700762f in zend_objects_store_del_ref (zobject=0xba051424)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_objects_API.c:172

#17 0xb6fdbedf in _zval_dtor (zval_ptr=0xba1ac560)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_variables.h:35

#18 _zval_ptr_dtor (zval_ptr=0xba1ac560)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_execute_API.c:439

#19 0xb6ff2498 in zend_hash_destroy (ht=0xb9dbc140)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_hash.c:526

#20 0xb6fe6945 in _zval_dtor_func (zvalue=0xb9d45c40)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_variables.c:43

#21 0xb6fdbedf in _zval_dtor (zval_ptr=0xb9dc1130)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_variables.h:35

---Type <return> to continue, or q <return> to quit---

#22 _zval_ptr_dtor (zval_ptr=0xb9dc1130)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_execute_API.c:439

#23 0xb6ff2498 in zend_hash_destroy (ht=0xb9d4a5fc)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_hash.c:526

#24 0xb7003fc3 in zend_object_std_dtor (object=0xb9dc3df4)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_objects.c:45

#25 0xb7003ff2 in zend_objects_free_object_storage (object=0xb9dc3df4)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_objects.c:114

#26 0xb70075fc in zend_objects_store_del_ref_by_handle_ex (handle=62,

    handlers=0xb74c65c0)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_objects_API.c:220

#27 0xb700762f in zend_objects_store_del_ref (zobject=0xb9d45ab4)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_objects_API.c:172

#28 0xb6fdbedf in _zval_dtor (zval_ptr=0xb9a84614)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_variables.h:35

#29 _zval_ptr_dtor (zval_ptr=0xb9a84614)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_execute_API.c:439

#30 0xb6ff2498 in zend_hash_destroy (ht=0xb9a52b6c)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_hash.c:526

#31 0xb7003fc3 in zend_object_std_dtor (object=0xb9a2fd1c)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_objects.c:45

#32 0xb7003ff2 in zend_objects_free_object_storage (object=0xb9a2fd1c)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_objects.c:114

---Type <return> to continue, or q <return> to quit---

#33 0xb700714e in zend_objects_store_free_object_storage
(objects=0xb74e29b0)

    at /projects/php53/php-fpm-5.3.2/Zend/zend_objects_API.c:92

#34 0xb6fdde25 in shutdown_executor ()

    at /projects/php53/php-fpm-5.3.2/Zend/zend_execute_API.c:302

#35 0xb6fe7453 in zend_deactivate ()

    at /projects/php53/php-fpm-5.3.2/Zend/zend.c:890

#36 0xb6f961e3 in php_request_shutdown (dummy=0x0)

    at /projects/php53/php-fpm-5.3.2/main/main.c:1633

#37 0xb706680c in php_apache_request_dtor (r=0xb99387e8)

    at
/projects/php53/php-fpm-5.3.2/sapi/apache2handler/sapi_apache2.c:495

#38 php_handler (r=0xb99387e8)

    at
/projects/php53/php-fpm-5.3.2/sapi/apache2handler/sapi_apache2.c:667

#39 0xb77e3f51 in ap_run_handler () from /usr/sbin/apache2

#40 0xb77e7d2f in ap_invoke_handler () from /usr/sbin/apache2

#41 0xb77f75a8 in ap_process_request () from /usr/sbin/apache2

#42 0xb77f4118 in ?? () from /usr/sbin/apache2

#43 0xb77ec7c1 in ap_run_process_connection () from /usr/sbin/apache2

#44 0xb77fcac1 in ?? () from /usr/sbin/apache2

#45 0xb77fcda1 in ?? () from /usr/sbin/apache2

#46 0xb77fd52f in ap_mpm_run () from /usr/sbin/apache2

#47 0xb77cea92 in main () from /usr/sbin/apache2



Same stack trace just different memory locations.

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


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/bug.php?id=51405


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

Reply via email to