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: 2021-07-18 04:22 UTC
Votes:4
Avg. Score:4.2 ± 0.8
Reproduced:4 of 4 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (25.0%)
From: php at mokraemer dot de Assigned: cmb (profile)
Status: No Feedback 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

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-07-08 13:09 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-07-08 13:09 UTC] cmb@php.net
Is this still an issue with any of the actively supported PHP
versions[1]?

[1] <https://www.php.net/supported-versions.php>
 [2021-07-18 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 04:01:27 2024 UTC