Bug #71668 [NEW]: segfault ... error 6 in libresolv-2.13.so
| From: | glalex at kodigy dot com | Date: | Fri, 26 Feb 2016 06:19:23 +0000 |
| Subject: | Bug #71668 [NEW]: segfault ... error 6 in libresolv-2.13.so | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-199480@lists.php.net to get a copy of this message | ||
From: glalex at kodigy dot com
Operating system: Debian/Wheezy
PHP version: 5.6.18
Package: Network related
Bug Type: Bug
Bug description:segfault ... error 6 in libresolv-2.13.so
Description:
------------
php 5.6.18 and 5.5.32 was recompiled after update glibc-2.13 on debian
7.9 ( Feb 12 2016 ) and run as php-fpm daemon with nginx
after that update, php child processes of both php versions segfaults on
dns queries
kernel: [676749.914909] php-fpm[58403]: segfault at 200e70324 ip
00007fe3c28e20ca sp 00007ffdd1701790 error 6 in
libresolv-2.13.so[7fe3c28d8000+13000]
all other software(nginx, MySQL, git) work fine
old php 5.5.31 fpm daemon(was not recompiled) - faults the same way.
Please help me to andestand how to fix that problem and let me know if
this version of glibc is not supported now.
Test script:
---------------
<?php
$ch = curl_init('http://ru.wordpress.org');
// $ch = curl_init('http://66.155.40.249');
curl_setopt ($ch, CURLOPT_HEADER, true);
$timeout = 1000;
curl_setopt( $ch, CURLOPT_CONNECTTIMEOUT, $timeout );
curl_setopt( $ch, CURLOPT_TIMEOUT, $timeout );
echo "$timeout==";
curl_exec($ch); //
curl_close($ch);
?>
Expected result:
----------------
1000==HTTP/1.1 302 Moved Temporarily Server: nginx Date: Fri, 26 Feb
2016 06:16:59 GMT Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked Connection: keep-alive Location:
https://wordpress.org/ X-Frame-Options: SAMEORIGIN X-nc: HIT
lax 249
Actual result:
--------------
php-fpm[58403]: segfault at 200e70324 ip 00007fe3c28e20ca sp
00007ffdd1701790 error 6 in libresolv-2.13.so[7fe3c28d8000+13000]
--
Edit bug report at https://bugs.php.net/bug.php?id=71668&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71668&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71668&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71668&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=71668&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=71668&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=71668&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=71668&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=71668&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=71668&r=support
Expected behavior: https://bugs.php.net/fix.php?id=71668&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=71668&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=71668&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=71668&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71668&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=71668&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=71668&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=71668&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71668&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=71668&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=71668&r=mysqlcfg