php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75495 php-fpm raises SIGABRT every 30s, free on invalid pointer
Submitted: 2017-11-07 08:45 UTC Modified: -
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: php at mokraemer dot de Assigned:
Status: Open Package: opcache
PHP Version: 5.6.32 OS: Mageia6
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2017-11-07 08:45 UTC] php at mokraemer dot de
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


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Tue Oct 16 21:01:27 2018 UTC