Bug #75065 [NEW]: Segfaults with soap.so
| From: | willem at mollie dot nl | Date: | Fri, 11 Aug 2017 15:12:54 +0000 |
| Subject: | Bug #75065 [NEW]: Segfaults with soap.so | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-210612@lists.php.net to get a copy of this message | ||
From: willem at mollie dot nl
Operating system: Ubuntu 16.04
PHP version: 7.1.8
Package: SOAP related
Bug Type: Bug
Bug description:Segfaults with soap.so
Description:
------------
We are experiencing frequent segfaults using SOAP.
Unfortunately, we have been unable to track it down to any specific SOAP
snippets - we are guessing that it happens during cleanup at the end of
the request. We didn't find any corresponding HTTP 502 status responses
in our logs.
We use SOAP memory and file cache.
At the moment we are running on PHP 7.1.7. Since no mentions of any SOAP
segfaults were in the changelog for 7.1.8 we haven't updated yet.
This is the only thing I was able to retrieve from our production
environment,
[Fri Aug 11 14:11:25.475651 2017] [core:notice] [pid 3114] AH00052:
child pid 5786 exit signal Segmentation fault (11)
*** Error in `/usr/sbin/apache2': free(): invalid pointer:
0x00007f0470a835e0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f0494f827e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7f0494f8b37a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f0494f8f53c]
/usr/lib/apache2/modules/libphp7.1.so(zend_hash_destroy+0x12e)[0x7f0491e49a5e]
/usr/lib/php/20160303/soap.so(delete_type_persistent+0x121)[0x7f047eccda71]
/usr/lib/apache2/modules/libphp7.1.so(zend_hash_destroy+0xa5)[0x7f0491e499d5]
[...]
Also, we have lots of messages like this, but it probably doesn't help
much:
[Fri Aug 11 14:31:28.189252 2017] [core:notice] [pid 1129] AH00052:
child pid 7841 exit signal Segmentation fault (11)
[Fri Aug 11 14:56:21.320665 2017] [core:notice] [pid 1129] AH00052:
child pid 14230 exit signal Segmentation fault (11)
[Fri Aug 11 15:00:04.628161 2017] [core:notice] [pid 1129] AH00052:
child pid 15305 exit signal Segmentation fault (11)
[Fri Aug 11 15:03:22.905461 2017] [core:notice] [pid 1129] AH00052:
child pid 15827 exit signal Segmentation fault (11)
[Fri Aug 11 15:05:01.045575 2017] [core:notice] [pid 1129] AH00052:
child pid 17230 exit signal Segmentation fault (11)
[Fri Aug 11 15:05:34.091106 2017] [core:notice] [pid 1129] AH00052:
child pid 16727 exit signal Segmentation fault (11)
[Fri Aug 11 15:07:53.282893 2017] [core:notice] [pid 1129] AH00052:
child pid 17203 exit signal Segmentation fault (11)
[Fri Aug 11 15:09:03.388137 2017] [core:notice] [pid 1129] AH00052:
child pid 18321 exit signal Segmentation fault (11)
[Fri Aug 11 15:10:54.547715 2017] [core:notice] [pid 1129] AH00052:
child pid 18405 exit signal Segmentation fault (11)
[Fri Aug 11 15:16:45.052236 2017] [core:notice] [pid 1129] AH00052:
child pid 19936 exit signal Segmentation fault (11)
zend_mm_heap corrupted
[Fri Aug 11 15:20:46.404124 2017] [core:notice] [pid 1129] AH00052:
child pid 21378 exit signal Segmentation fault (11)
[Fri Aug 11 15:20:52.415301 2017] [core:notice] [pid 1129] AH00052:
child pid 21346 exit signal Segmentation fault (11)
[Fri Aug 11 15:21:34.473730 2017] [core:notice] [pid 1129] AH00052:
child pid 21061 exit signal Segmentation fault (11)
zend_mm_heap corrupted
zend_mm_heap corrupted
zend_mm_heap corrupted
zend_mm_heap corrupted
zend_mm_heap corrupted
--
Edit bug report at https://bugs.php.net/bug.php?id=75065&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75065&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75065&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75065&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75065&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75065&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75065&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75065&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75065&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75065&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75065&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75065&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75065&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75065&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75065&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75065&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75065&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75065&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75065&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75065&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75065&r=mysqlcfg