Bug #75495 [NEW]: php-fpm raises SIGABRT every 30s, free on invalid pointer
| From: | php at mokraemer dot de | Date: | Tue, 07 Nov 2017 08:45:25 +0000 |
| Subject: | Bug #75495 [NEW]: php-fpm raises SIGABRT every 30s, free on invalid pointer | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-212493@lists.php.net to get a copy of this message | ||
From: php at mokraemer dot de
Operating system: Mageia6
PHP version: 5.6.32
Package: opcache
Bug Type: Bug
Bug description:php-fpm raises SIGABRT every 30s, free on invalid pointer
Description:
------------
If I enable opcache my php-fpm log is filled with SIGABRT:
[07-Nov-2017 09:06:39] WARNING: [pool demo] child 3345 exited on signal
6 (SIGABRT - core dumped) after 31.031019 seconds from start
[07-Nov-2017 09:06:39] NOTICE: [pool demo] child 3365 started
[07-Nov-2017 09:06:40] WARNING: [pool demo] child 3347 exited on signal
6 (SIGABRT - core dumped) after 31.031225 seconds from start
[07-Nov-2017 09:06:40] NOTICE: [pool demo] child 3367 started
[07-Nov-2017 09:07:10] WARNING: [pool demo] child 3365 exited on signal
6 (SIGABRT - core dumped) after 31.031583 seconds from start
[07-Nov-2017 09:07:10] NOTICE: [pool demo] child 3388 started
Actual result:
--------------
#0 0x00007feb31afa818 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:55
#1 0x00007feb31afbf2a in __GI_abort () at abort.c:89
#2 0x00007feb31b3943a in __libc_message (do_abort=do_abort@entry=2,
fmt=fmt@entry=0x7feb31c43900 "*** Error in `%s': %s: 0x%s ***\n")
at ../sysdeps/posix/libc_fatal.c:175
#3 0x00007feb31b42879 in malloc_printerr (ar_ptr=0x7feb31e74b40
<main_arena>, ptr=<optimized out>, str=0x7feb31c41252 "free(): invalid
pointer", action=3)
at malloc.c:5007
#4 _int_free (av=0x7feb31e74b40 <main_arena>, p=<optimized out>,
have_lock=0) at malloc.c:3868
#5 0x00007feb31b45db8 in __GI___libc_free (mem=<optimized out>) at
malloc.c:2969
#6 0x00007feb322e1129 in zend_interned_strings_dtor () at
/usr/src/debug/php-5.6.31/Zend/zend_string.c:80
#7 0x00007feb322ba20f in zend_shutdown () at
/usr/src/debug/php-5.6.31/Zend/zend.c:865
#8 0x00007feb3224f3b2 in php_module_shutdown () at
/usr/src/debug/php-5.6.31/main/main.c:2477
#9 0x000000000040722e in main (argc=<optimized out>, argv=<optimized
out>) at /usr/src/debug/php-5.6.31/sapi/fpm/fpm/fpm_main.c:2041
--
Edit bug report at https://bugs.php.net/bug.php?id=75495&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75495&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75495&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75495&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75495&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75495&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75495&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75495&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75495&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75495&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75495&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75495&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75495&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75495&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75495&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75495&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75495&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75495&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75495&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75495&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75495&r=mysqlcfg