[Bug 1504026] Re: php55-fpm and php56-fpm crash

Arkadiusz Miśkiewicz arekm at maven.pl
Thu Oct 8 11:06:58 CEST 2015


Regression introduced by:

commit 762ec2ebe80654582c9a5f1114691cd6d673d513
Author: Elan Ruusamäe <glen at delfi.ee>
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

-- 
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/1504026

Title:
  php55-fpm and php56-fpm crash

Status in PLD Linux:
  New

Bug description:
  cmd: php56-fpm --help

  gdb backtrace:
  #0  0x0000035aa520d897 in __GI_raise (sig=sig at 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 at entry=2, fmt=fmt at 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/pld-linux/+bug/1504026/+subscriptions


More information about the pld-bugs mailing list