php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66706 segfault on zend_std_get_properties
Submitted: 2014-02-13 10:44 UTC Modified: 2017-11-05 04:22 UTC
Votes:15
Avg. Score:4.8 ± 0.4
Reproduced:14 of 14 (100.0%)
Same Version:8 (57.1%)
Same OS:11 (78.6%)
From: wdauchy at gmail dot com Assigned: cmb (profile)
Status: No Feedback Package: *General Issues
PHP Version: 5.4.25 OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2014-02-13 10:44 UTC] wdauchy at gmail dot com
Description:
------------
We are facing a segfault using php-fpm while using a webmail (roundcube) with lots of parallels requests

our tests were based on 5.4.24. we have the same issue using the old mod_php

php5-fpm[8304]: segfault at 648 ip 00000000006c1065 sp 00007fff95d084c0 error 4 in php5-fpm[400000+6ff000]

gbd back trace:

#0  0x00000000006c1065 in zend_std_get_properties (object=0x2262d88) at /home/package/php/Zend/zend_object_handlers.c:108

warning: Source file is more recent than executable.
108             zobj = Z_OBJ_P(object);
(gdb) bt
#0  0x00000000006c1065 in zend_std_get_properties (object=0x2262d88) at /home/package/php/Zend/zend_object_handlers.c:108
#1  0x0000000000613c59 in userfilter_filter (stream=0x1fe9d98, thisfilter=0x22165a8, buckets_in=0x3d00fee7300, buckets_out=0x3d00fee7310, bytes_consumed=0x3d00fee72f8, flags=2)
    at /home/package/php/ext/standard/user_filters.c:183
#2  0x00000000006545b5 in _php_stream_write_filtered (stream=0x1fe9d98, buf=0x22165a8 "\320", <incomplete sequence \332>, count=14437312, flags=2) at /home/package/php/main/streams/streams.c:1176
#3  0x0000000000655c2c in _php_stream_flush (stream=0x1fe9d98, closing=35743144) at /home/package/php/main/streams/streams.c:1225
#4  0x0000000000657a1e in _php_stream_free (stream=0x1fe9d98, close_options=11) at /home/package/php/main/streams/streams.c:460
#5  0x0000000000658141 in stream_resource_regular_dtor (rsrc=0x2262d88) at /home/package/php/main/streams/streams.c:1615
#6  0x00000000006ae39e in list_entry_destructor (ptr=0x2209838) at /home/package/php/Zend/zend_list.c:183
#7  0x00000000006aac85 in zend_hash_apply_deleter () at /home/package/php/Zend/zend_hash.c:650
#8  0x00000000006ac478 in zend_hash_graceful_reverse_destroy (ht=0xdc4e50) at /home/package/php/Zend/zend_hash.c:687
#9  0x000000000069e0dc in zend_deactivate () at /home/package/php/Zend/zend.c:947
#10 0x000000000063d82a in php_request_shutdown (dummy=0x2262d88) at /home/package/php/main/main.c:1786
#11 0x000000000043178f in main (argc=-1644962728, argv=0xdc46a0) at /home/package/php/sapi/fpm/fpm/fpm_main.c:1925
(gdb) list
103     /* }}} */
104
105     ZEND_API HashTable *zend_std_get_properties(zval *object TSRMLS_DC) /* {{{ */
106     {
107             zend_object *zobj;
108             zobj = Z_OBJ_P(object);
109             if (!zobj->properties) {
110                     rebuild_object_properties(zobj);
111             }
112             return zobj->properties;


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-09-20 14:14 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2017-09-20 14:14 UTC] cmb@php.net
Does this still happen with supported PHP versions?
 [2017-11-05 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Nov 27 15:05:53 2022 UTC