Bug #66706 [NEW]: segfault on zend_std_get_properties
| From: | wdauchy at gmail dot com | Date: | Thu, 13 Feb 2014 10:44:09 +0000 |
| Subject: | Bug #66706 [NEW]: segfault on zend_std_get_properties | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-184280@lists.php.net to get a copy of this message | ||
From: wdauchy at gmail dot com
Operating system:
PHP version: 5.4.25
Package: *General Issues
Bug Type: Bug
Bug description:segfault on zend_std_get_properties
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;
--
Edit bug report at https://bugs.php.net/bug.php?id=66706&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66706&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66706&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66706&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66706&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66706&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66706&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66706&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66706&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66706&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66706&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66706&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66706&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66706&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66706&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66706&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66706&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66706&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66706&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66706&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66706&r=mysqlcfg