php55-fpm and php56-fpm crash

Bug #1504026 reported by adwol
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PLD Linux
New
Undecided
Unassigned

Bug Description

cmd: php56-fpm --help

gdb backtrace:
#0 0x0000035aa520d897 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#1 0x0000035aa520ed9a in __GI_abort () at abort.c:89
#2 0x0000035aa524cceb in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x35aa5348130 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#3 0x0000035aa5252616 in malloc_printerr (action=3, str=0x35aa53442fb "free(): invalid pointer", ptr=<optimized out>, ar_ptr=<optimized out>) at malloc.c:5000
#4 0x0000035aa5252dfe in _int_free (av=0x35aa557cc40 <main_arena>, p=<optimized out>, have_lock=0) at malloc.c:3861
#5 0x0000035aa739fc11 in php_shutdown_config () at /usr/src/debug/php-5.6.12/main/php_ini.c:760
#6 0x0000035aa739923e in php_module_shutdown () at /usr/src/debug/php-5.6.12/main/main.c:2469
#7 0x0000000000406eb0 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/php-5.6.12/sapi/fpm/fpm/fpm_main.c:2016

Patch from attachment fixes issue but probably it is not desirable solution.

Revision history for this message
adwol (adwol) wrote :
Revision history for this message
Arkadiusz Miśkiewicz (arekm) wrote :

Regression introduced by:

commit 762ec2ebe80654582c9a5f1114691cd6d673d513
Author: Elan Ruusamäe <email address hidden>
Date: Wed Feb 25 01:43:42 2015 +0200

    make get_cfg_var("cfg_file_path") and php_ini_loaded_file() report main php.ini

    see https://github.com/sensiolabs/SensioDistributionBundle/pull/176#issuecomment-75266039

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.