Hi,
Whenever I activate the gettext extension, PHP-FPM dumps a heap upon
starting (see output below)
Although the output finishes with "Aborted. Failed", the php processes
are working ok, gettext too.
PHP 5.4 was compiled with these options:
./configure --sysconfdir=/etc/php5 --with-config-file-path=/etc/php5
--with-config-file-scan-dir=/etc/php5/conf.d --enable-fpm
--with-fpm-user=www-data --with-fpm-group=www-data --with-openssl
--with-zlib=shared --enable-bcmath --with-curl=shared --with-gd=shared
--with-gettext=shared --enable-intl --enable-mbstring
--with-mcrypt=shared --enable-pcntl --disable-pdo --with-mysqli=mysqlnd
--disable-posix --with-libedit=shared --with-readline=shared
--with-recode=shared --enable-sockets --with-tidy=shared
--with-xsl=shared --enable-zip --with-pear --with-gmp=shared
If I deactivate the gettext extension, PHP-FPM systematically segfaults
upon startup but still runs fine:
root@some-vm:~# /etc/init.d/php-fpm restart
Gracefully shutting down php-fpm . done
Starting php-fpm Segmentation fault
failed
The app is running on an nginx 0.7.67
Just wanted to know if this is normal behaviour and if not, should I
file a bug ?
Thanks,
Steven
root@some-vm:~# /etc/init.d/php-fpm restart
Gracefully shutting down php-fpm . done
Starting php-fpm *** glibc detected *** /usr/local/sbin/php-fpm: free():
invalid pointer: 0xb5e82d60 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6(+0x6b381)[0xb603c381]
/lib/i686/cmov/libc.so.6(+0x6cbd8)[0xb603dbd8]
/lib/i686/cmov/libc.so.6(cfree+0x6d)[0xb6040cbd]
/usr/local/sbin/php-fpm(destroy_zend_class+0x210)[0x836aa30]
/usr/local/sbin/php-fpm(zend_hash_clean+0x68)[0x837f158]
/usr/local/lib/php/extensions/no-debug-non-zts-20100525/apc.so(apc_interned_strings_shutdown+0x35)[0xb5cc8315]
/usr/local/lib/php/extensions/no-debug-non-zts-20100525/apc.so(apc_module_shutdown+0x162)[0xb5cbfb82]
/usr/local/lib/php/extensions/no-debug-non-zts-20100525/apc.so(+0x808f)[0xb5cb608f]
/usr/local/sbin/php-fpm[0x837852e]
/usr/local/sbin/php-fpm[0x837eb88]
/usr/local/sbin/php-fpm(zend_hash_graceful_reverse_destroy+0x1f)[0x837edef]
/usr/local/sbin/php-fpm(zend_destroy_modules+0x2c)[0x8379a3c]
/usr/local/sbin/php-fpm[0x83734a7]
/usr/local/sbin/php-fpm(php_module_shutdown+0x2d)[0x831798d]
/usr/local/sbin/php-fpm[0x841e2cb]
/usr/local/sbin/php-fpm[0x8415b5b]
/usr/local/sbin/php-fpm[0x8423b1c]
/usr/local/sbin/php-fpm[0x8414ede]
/usr/local/sbin/php-fpm[0x841cabd]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xb5fe7ca6]
/usr/local/sbin/php-fpm[0x806f3a1]
======= Memory map: ========
08048000-087ba000 r-xp 00000000 08:01 92059 /usr/local/sbin/php-fpm
087ba000-087c2000 rw-p 00772000 08:01 92059 /usr/local/sbin/php-fpm
087c2000-087de000 rw-p 00000000 00:00 0
08a19000-08b42000 rw-p 00000000 00:00 0 [heap]
b5b00000-b5b21000 rw-p 00000000 00:00 0
b5b21000-b5c00000 ---p 00000000 00:00 0
b5cae000-b5ccc000 r-xp 00000000 08:01 92083
/usr/local/lib/php/extensions/no-debug-non-zts-20100525/apc.so
b5ccc000-b5cce000 rw-p 0001d000 08:01 92083
/usr/local/lib/php/extensions/no-debug-non-zts-20100525/apc.so
b5cce000-b5cfb000 rw-p 00000000 00:00 0
b5cfb000-b5e73000 r--p 00000000 08:01 92076
/usr/lib/locale/locale-archive
b5e73000-b5fb8000 rw-p 00000000 00:00 0
b5fb8000-b5fcd000 r-xp 00000000 08:01 169373
/lib/i686/cmov/libpthread-2.11.3.so
b5fcd000-b5fce000 r--p 00014000 08:01 169373
/lib/i686/cmov/libpthread-2.11.3.so
b5fce000-b5fcf000 rw-p 00015000 08:01 169373
/lib/i686/cmov/libpthread-2.11.3.so
b5fcf000-b5fd1000 rw-p 00000000 00:00 0
b5fd1000-b6111000 r-xp 00000000 08:01 169383
/lib/i686/cmov/libc-2.11.3.so
b6111000-b6112000 ---p 00140000 08:01 169383
/lib/i686/cmov/libc-2.11.3.so
b6112000-b6114000 r--p 00140000 08:01 169383
/lib/i686/cmov/libc-2.11.3.so
b6114000-b6115000 rw-p 00142000 08:01 169383
/lib/i686/cmov/libc-2.11.3.so
b6115000-b6118000 rw-p 00000000 00:00 0
b6118000-b6135000 r-xp 00000000 08:01 160003 /lib/libgcc_s.so.1
b6135000-b6136000 rw-p 0001c000 08:01 160003 /lib/libgcc_s.so.1
b6136000-b625a000 r-xp 00000000 08:01 78944 /usr/lib/libxml2.so.2.7.8
b625a000-b625f000 rw-p 00124000 08:01 78944 /usr/lib/libxml2.so.2.7.8
b625f000-b6260000 rw-p 00000000 00:00 0
b6260000-b6269000 r-xp 00000000 08:01 240179 /usr/lib/libicuio.so.44.1
b6269000-b626a000 rw-p 00008000 08:01 240179 /usr/lib/libicuio.so.44.1
b626a000-b626b000 rw-p 00000000 00:00 0
b626b000-b70a8000 r--p 00000000 08:01 240181 /usr/lib/libicudata.so.44.1
b70a8000-b70a9000 rw-p 00e3c000 08:01 240181 /usr/lib/libicudata.so.44.1
b70a9000-b71d6000 r-xp 00000000 08:01 240174 /usr/lib/libicuuc.so.44.1
b71d6000-b71e0000 rw-p 0012c000 08:01 240174 /usr/lib/libicuuc.so.44.1
b71e0000-b71e3000 rw-p 00000000 00:00 0
b71e3000-b73b8000 r-xp 00000000 08:01 240180 /usr/lib/libicui18n.so.44.1
b73b8000-b73be000 rw-p 001d4000 08:01 240180 /usr/lib/libicui18n.so.44.1
b73be000-b73bf000 rw-p 00000000 00:00 0
b73bf000-b74fc000 r-xp 00000000 08:01 88292
/usr/lib/i686/cmov/libcrypto.so.0.9.8
b74fc000-b7514000 rw-p 0013c000 08:01 88292
/usr/lib/i686/cmov/libcrypto.so.0.9.8
b7514000-b7517000 rw-p 00000000 00:00 0
b7517000-b755d000 r-xp 00000000 08:01 88293
/usr/lib/i686/cmov/libssl.so.0.9.8
b755d000-b7561000 rw-p 00046000 08:01 88293
/usr/lib/i686/cmov/libssl.so.0.9.8
b7561000-b7574000 r-xp 00000000 08:01 169367
/lib/i686/cmov/libnsl-2.11.3.so
b7574000-b7575000 r--p 00012000 08:01 169367
/lib/i686/cmov/libnsl-2.11.3.so
b7575000-b7576000 rw-p 00013000 08:01 169367
/lib/i686/cmov/libnsl-2.11.3.so
b7576000-b7579000 rw-p 00000000 00:00 0
b7579000-b757b000 r-xp 00000000 08:01 169364
/lib/i686/cmov/libdl-2.11.3.so
b757b000-b757c000 r--p 00001000 08:01 169364
/lib/i686/cmov/libdl-2.11.3.so
b757c000-b757d000 rw-p 00002000 08:01 169364
/lib/i686/cmov/libdl-2.11.3.so
b757d000-b75a1000 r-xp 00000000 08:01 169365
/lib/i686/cmov/libm-2.11.3.so
b75a1000-b75a2000 r--p 00023000 08:01 169365
/lib/i686/cmov/libm-2.11.3.so
b75a2000-b75a3000 rw-p 00024000 08:01 169365
/lib/i686/cmov/libm-2.11.3.so
b75a3000-b75aa000 r-xp 00000000 08:01 169382
/lib/i686/cmov/librt-2.11.3.so
b75aa000-b75ab000 r--p 00006000 08:01 169382
/lib/i686/cmov/librt-2.11.3.so
b75ab000-b75ac000 rw-p 00007000 08:01 169382
/lib/i686/cmov/librt-2.11.3.so
b75ac000-b7695000 r-xp 00000000 08:01 73990
/usr/lib/libstdc++.so.6.0.13
b7695000-b7699000 r--p 000e9000 08:01 73990
/usr/lib/libstdc++.so.6.0.13
b7699000-b769a000 rw-p 000ed000 08:01 73990
/usr/lib/libstdc++.so.6.0.13
b769a000-b76a1000 rw-p 00000000 00:00 0
b76a1000-b76b1000 r-xp 00000000 08:01 169369
/lib/i686/cmov/libresolv-2.11.3.so
b76b1000-b76b2000 r--p 00010000 08:01 169369
/lib/i686/cmov/libresolv-2.11.3.so
b76b2000-b76b3000 rw-p 00011000 08:01 169369
/lib/i686/cmov/libresolv-2.11.3.so
b76b3000-b76b6000 rw-p 00000000 00:00 0
b76b6000-b76c9000 r-xp 00000000 08:01 74564 /usr/lib/libz.so.1.2.3.4
b76c9000-b76ca000 rw-p 00013000 08:01 74564 /usr/lib/libz.so.1.2.3.4
b76ca000-b76d3000 r-xp 00000000 08:01 169368
/lib/i686/cmov/libcrypt-2.11.3.so
b76d3000-b76d4000 r--p 00008000 08:01 169368
/lib/i686/cmov/libcrypt-2.11.3.so
b76d4000-b76d5000 rw-p 00009000 08:01 169368
/lib/i686/cmov/libcrypt-2.11.3.so
b76d5000-b76fc000 rw-p 00000000 00:00 0
b7702000-b7704000 rw-p 00000000 00:00 0
b7704000-b7705000 r-xp 00000000 00:00 0 [vdso]
b7705000-b7720000 r-xp 00000000 08:01 162307 /lib/ld-2.11.3.so
b7720000-b7721000 r--p 0001b000 08:01 162307 /lib/ld-2.11.3.so
b7721000-b7722000 rw-p 0001c000 08:01 162307 /lib/ld-2.11.3.so
bfdb7000-bfdcc000 rw-p 00000000 00:00 0 [stack]
Aborted
failed
hi,
Please disable APC too to test.
btw, do you use APC from current svn's trunk?
Cheers,
Hi,
Whenever I activate the gettext extension, PHP-FPM dumps a heap upon
starting (see output below)Although the output finishes with "Aborted. Failed", the php processes are
working ok, gettext too.PHP 5.4 was compiled with these options:
./configure --sysconfdir=/etc/php5 --with-config-file-path=/etc/php5
--with-config-file-scan-dir=/etc/php5/conf.d --enable-fpm
--with-fpm-user=www-data --with-fpm-group=www-data --with-openssl
--with-zlib=shared --enable-bcmath --with-curl=shared --with-gd=shared
--with-gettext=shared --enable-intl --enable-mbstring --with-mcrypt=shared
--enable-pcntl --disable-pdo --with-mysqli=mysqlnd --disable-posix
--with-libedit=shared --with-readline=shared --with-recode=shared
--enable-sockets --with-tidy=shared --with-xsl=shared --enable-zip
--with-pear --with-gmp=sharedIf I deactivate the gettext extension, PHP-FPM systematically segfaults upon
startup but still runs fine:
root@some-vm:~# /etc/init.d/php-fpm restart
Gracefully shutting down php-fpm . done
Starting php-fpm Segmentation fault
failedThe app is running on an nginx 0.7.67
Just wanted to know if this is normal behaviour and if not, should I file a
bug ?Thanks,
Stevenroot@some-vm:~# /etc/init.d/php-fpm restart
Gracefully shutting down php-fpm . done
Starting php-fpm *** glibc detected *** /usr/local/sbin/php-fpm: free():
invalid pointer: 0xb5e82d60 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6(+0x6b381)[0xb603c381]
/lib/i686/cmov/libc.so.6(+0x6cbd8)[0xb603dbd8]
/lib/i686/cmov/libc.so.6(cfree+0x6d)[0xb6040cbd]
/usr/local/sbin/php-fpm(destroy_zend_class+0x210)[0x836aa30]
/usr/local/sbin/php-fpm(zend_hash_clean+0x68)[0x837f158]
/usr/local/lib/php/extensions/no-debug-non-zts-20100525/apc.so(apc_interned_strings_shutdown+0x35)[0xb5cc8315]
/usr/local/lib/php/extensions/no-debug-non-zts-20100525/apc.so(apc_module_shutdown+0x162)[0xb5cbfb82]
/usr/local/lib/php/extensions/no-debug-non-zts-20100525/apc.so(+0x808f)[0xb5cb608f]
/usr/local/sbin/php-fpm[0x837852e]
/usr/local/sbin/php-fpm[0x837eb88]
/usr/local/sbin/php-fpm(zend_hash_graceful_reverse_destroy+0x1f)[0x837edef]
/usr/local/sbin/php-fpm(zend_destroy_modules+0x2c)[0x8379a3c]
/usr/local/sbin/php-fpm[0x83734a7]
/usr/local/sbin/php-fpm(php_module_shutdown+0x2d)[0x831798d]
/usr/local/sbin/php-fpm[0x841e2cb]
/usr/local/sbin/php-fpm[0x8415b5b]
/usr/local/sbin/php-fpm[0x8423b1c]
/usr/local/sbin/php-fpm[0x8414ede]
/usr/local/sbin/php-fpm[0x841cabd]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xb5fe7ca6]
/usr/local/sbin/php-fpm[0x806f3a1]
======= Memory map: ========
08048000-087ba000 r-xp 00000000 08:01 92059 /usr/local/sbin/php-fpm
087ba000-087c2000 rw-p 00772000 08:01 92059 /usr/local/sbin/php-fpm
087c2000-087de000 rw-p 00000000 00:00 0
08a19000-08b42000 rw-p 00000000 00:00 0 [heap]
b5b00000-b5b21000 rw-p 00000000 00:00 0
b5b21000-b5c00000 ---p 00000000 00:00 0
b5cae000-b5ccc000 r-xp 00000000 08:01 92083
/usr/local/lib/php/extensions/no-debug-non-zts-20100525/apc.so
b5ccc000-b5cce000 rw-p 0001d000 08:01 92083
/usr/local/lib/php/extensions/no-debug-non-zts-20100525/apc.so
b5cce000-b5cfb000 rw-p 00000000 00:00 0
b5cfb000-b5e73000 r--p 00000000 08:01 92076
/usr/lib/locale/locale-archive
b5e73000-b5fb8000 rw-p 00000000 00:00 0
b5fb8000-b5fcd000 r-xp 00000000 08:01 169373
/lib/i686/cmov/libpthread-2.11.3.so
b5fcd000-b5fce000 r--p 00014000 08:01 169373
/lib/i686/cmov/libpthread-2.11.3.so
b5fce000-b5fcf000 rw-p 00015000 08:01 169373
/lib/i686/cmov/libpthread-2.11.3.so
b5fcf000-b5fd1000 rw-p 00000000 00:00 0
b5fd1000-b6111000 r-xp 00000000 08:01 169383
/lib/i686/cmov/libc-2.11.3.so
b6111000-b6112000 ---p 00140000 08:01 169383
/lib/i686/cmov/libc-2.11.3.so
b6112000-b6114000 r--p 00140000 08:01 169383
/lib/i686/cmov/libc-2.11.3.so
b6114000-b6115000 rw-p 00142000 08:01 169383
/lib/i686/cmov/libc-2.11.3.so
b6115000-b6118000 rw-p 00000000 00:00 0
b6118000-b6135000 r-xp 00000000 08:01 160003 /lib/libgcc_s.so.1
b6135000-b6136000 rw-p 0001c000 08:01 160003 /lib/libgcc_s.so.1
b6136000-b625a000 r-xp 00000000 08:01 78944 /usr/lib/libxml2.so.2.7.8
b625a000-b625f000 rw-p 00124000 08:01 78944 /usr/lib/libxml2.so.2.7.8
b625f000-b6260000 rw-p 00000000 00:00 0
b6260000-b6269000 r-xp 00000000 08:01 240179 /usr/lib/libicuio.so.44.1
b6269000-b626a000 rw-p 00008000 08:01 240179 /usr/lib/libicuio.so.44.1
b626a000-b626b000 rw-p 00000000 00:00 0
b626b000-b70a8000 r--p 00000000 08:01 240181 /usr/lib/libicudata.so.44.1
b70a8000-b70a9000 rw-p 00e3c000 08:01 240181 /usr/lib/libicudata.so.44.1
b70a9000-b71d6000 r-xp 00000000 08:01 240174 /usr/lib/libicuuc.so.44.1
b71d6000-b71e0000 rw-p 0012c000 08:01 240174 /usr/lib/libicuuc.so.44.1
b71e0000-b71e3000 rw-p 00000000 00:00 0
b71e3000-b73b8000 r-xp 00000000 08:01 240180 /usr/lib/libicui18n.so.44.1
b73b8000-b73be000 rw-p 001d4000 08:01 240180 /usr/lib/libicui18n.so.44.1
b73be000-b73bf000 rw-p 00000000 00:00 0
b73bf000-b74fc000 r-xp 00000000 08:01 88292
/usr/lib/i686/cmov/libcrypto.so.0.9.8
b74fc000-b7514000 rw-p 0013c000 08:01 88292
/usr/lib/i686/cmov/libcrypto.so.0.9.8
b7514000-b7517000 rw-p 00000000 00:00 0
b7517000-b755d000 r-xp 00000000 08:01 88293
/usr/lib/i686/cmov/libssl.so.0.9.8
b755d000-b7561000 rw-p 00046000 08:01 88293
/usr/lib/i686/cmov/libssl.so.0.9.8
b7561000-b7574000 r-xp 00000000 08:01 169367
/lib/i686/cmov/libnsl-2.11.3.so
b7574000-b7575000 r--p 00012000 08:01 169367
/lib/i686/cmov/libnsl-2.11.3.so
b7575000-b7576000 rw-p 00013000 08:01 169367
/lib/i686/cmov/libnsl-2.11.3.so
b7576000-b7579000 rw-p 00000000 00:00 0
b7579000-b757b000 r-xp 00000000 08:01 169364
/lib/i686/cmov/libdl-2.11.3.so
b757b000-b757c000 r--p 00001000 08:01 169364
/lib/i686/cmov/libdl-2.11.3.so
b757c000-b757d000 rw-p 00002000 08:01 169364
/lib/i686/cmov/libdl-2.11.3.so
b757d000-b75a1000 r-xp 00000000 08:01 169365
/lib/i686/cmov/libm-2.11.3.so
b75a1000-b75a2000 r--p 00023000 08:01 169365
/lib/i686/cmov/libm-2.11.3.so
b75a2000-b75a3000 rw-p 00024000 08:01 169365
/lib/i686/cmov/libm-2.11.3.so
b75a3000-b75aa000 r-xp 00000000 08:01 169382
/lib/i686/cmov/librt-2.11.3.so
b75aa000-b75ab000 r--p 00006000 08:01 169382
/lib/i686/cmov/librt-2.11.3.so
b75ab000-b75ac000 rw-p 00007000 08:01 169382
/lib/i686/cmov/librt-2.11.3.so
b75ac000-b7695000 r-xp 00000000 08:01 73990
/usr/lib/libstdc++.so.6.0.13
b7695000-b7699000 r--p 000e9000 08:01 73990
/usr/lib/libstdc++.so.6.0.13
b7699000-b769a000 rw-p 000ed000 08:01 73990
/usr/lib/libstdc++.so.6.0.13
b769a000-b76a1000 rw-p 00000000 00:00 0
b76a1000-b76b1000 r-xp 00000000 08:01 169369
/lib/i686/cmov/libresolv-2.11.3.so
b76b1000-b76b2000 r--p 00010000 08:01 169369
/lib/i686/cmov/libresolv-2.11.3.so
b76b2000-b76b3000 rw-p 00011000 08:01 169369
/lib/i686/cmov/libresolv-2.11.3.so
b76b3000-b76b6000 rw-p 00000000 00:00 0
b76b6000-b76c9000 r-xp 00000000 08:01 74564 /usr/lib/libz.so.1.2.3.4
b76c9000-b76ca000 rw-p 00013000 08:01 74564 /usr/lib/libz.so.1.2.3.4
b76ca000-b76d3000 r-xp 00000000 08:01 169368
/lib/i686/cmov/libcrypt-2.11.3.so
b76d3000-b76d4000 r--p 00008000 08:01 169368
/lib/i686/cmov/libcrypt-2.11.3.so
b76d4000-b76d5000 rw-p 00009000 08:01 169368
/lib/i686/cmov/libcrypt-2.11.3.so
b76d5000-b76fc000 rw-p 00000000 00:00 0
b7702000-b7704000 rw-p 00000000 00:00 0
b7704000-b7705000 r-xp 00000000 00:00 0 [vdso]
b7705000-b7720000 r-xp 00000000 08:01 162307 /lib/ld-2.11.3.so
b7720000-b7721000 r--p 0001b000 08:01 162307 /lib/ld-2.11.3.so
b7721000-b7722000 rw-p 0001c000 08:01 162307 /lib/ld-2.11.3.so
bfdb7000-bfdcc000 rw-p 00000000 00:00 0 [stack]
Aborted
failed--
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
Hi Pierre,
Right. Disabling apc solves the issue, with or without gettext
activated. No dump or segfault message anymore.
I'm using the standard APC installed by pecl install apc. Version is 3.1.9.
It seems to be working fine although it's responsible for the PHP-FPM dump.
Should I use the version from SVN's trunk ?
Thanks,
Steven
hi,
Please disable APC too to test.
btw, do you use APC from current svn's trunk?
Cheers,
Hi,
Whenever I activate the gettext extension, PHP-FPM dumps a heap upon
starting (see output below)Although the output finishes with "Aborted. Failed", the php processes are
working ok, gettext too.PHP 5.4 was compiled with these options:
./configure --sysconfdir=/etc/php5 --with-config-file-path=/etc/php5
--with-config-file-scan-dir=/etc/php5/conf.d --enable-fpm
--with-fpm-user=www-data --with-fpm-group=www-data --with-openssl
--with-zlib=shared --enable-bcmath --with-curl=shared --with-gd=shared
--with-gettext=shared --enable-intl --enable-mbstring --with-mcrypt=shared
--enable-pcntl --disable-pdo --with-mysqli=mysqlnd --disable-posix
--with-libedit=shared --with-readline=shared --with-recode=shared
--enable-sockets --with-tidy=shared --with-xsl=shared --enable-zip
--with-pear --with-gmp=sharedIf I deactivate the gettext extension, PHP-FPM systematically segfaults upon
startup but still runs fine:
root@some-vm:~# /etc/init.d/php-fpm restart
Gracefully shutting down php-fpm . done
Starting php-fpm Segmentation fault
failedThe app is running on an nginx 0.7.67
Just wanted to know if this is normal behaviour and if not, should I file a
bug ?Thanks,
Steven
yes, please do. We have fixed these errors recently.
Hi Pierre,
Right. Disabling apc solves the issue, with or without gettext activated. No
dump or segfault message anymore.I'm using the standard APC installed by pecl install apc. Version is 3.1.9.
It seems to be working fine although it's responsible for the PHP-FPM dump.Should I use the version from SVN's trunk ?
Thanks,
Stevenhi,
Please disable APC too to test.
btw, do you use APC from current svn's trunk?
Cheers,
On Fri, Mar 23, 2012 at 12:51 PM, Steven VAN POECKsvanpoeck@gmail.com
wrote:Hi,
Whenever I activate the gettext extension, PHP-FPM dumps a heap upon
starting (see output below)Although the output finishes with "Aborted. Failed", the php processes
are
working ok, gettext too.PHP 5.4 was compiled with these options:
./configure --sysconfdir=/etc/php5 --with-config-file-path=/etc/php5
--with-config-file-scan-dir=/etc/php5/conf.d --enable-fpm
--with-fpm-user=www-data --with-fpm-group=www-data --with-openssl
--with-zlib=shared --enable-bcmath --with-curl=shared --with-gd=shared
--with-gettext=shared --enable-intl --enable-mbstring
--with-mcrypt=shared
--enable-pcntl --disable-pdo --with-mysqli=mysqlnd --disable-posix
--with-libedit=shared --with-readline=shared --with-recode=shared
--enable-sockets --with-tidy=shared --with-xsl=shared --enable-zip
--with-pear --with-gmp=sharedIf I deactivate the gettext extension, PHP-FPM systematically segfaults
upon
startup but still runs fine:
root@some-vm:~# /etc/init.d/php-fpm restart
Gracefully shutting down php-fpm . done
Starting php-fpm Segmentation fault
failedThe app is running on an nginx 0.7.67
Just wanted to know if this is normal behaviour and if not, should I file
a
bug ?Thanks,
Steven
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
Hi Pierre,
Sorry, I didn't know these issues had been addressed to.
I just installed the latest version from trunk. Everything runs
smoothly, no segfaults or dumps anymore.
Thanks again,
Steven
yes, please do. We have fixed these errors recently.
Hi Pierre,
Right. Disabling apc solves the issue, with or without gettext activated. No
dump or segfault message anymore.I'm using the standard APC installed by pecl install apc. Version is 3.1.9.
It seems to be working fine although it's responsible for the PHP-FPM dump.Should I use the version from SVN's trunk ?
Thanks,
Stevenhi,
Please disable APC too to test.
btw, do you use APC from current svn's trunk?
Cheers,
On Fri, Mar 23, 2012 at 12:51 PM, Steven VAN POECKsvanpoeck@gmail.com
wrote:Hi,
Whenever I activate the gettext extension, PHP-FPM dumps a heap upon
starting (see output below)Although the output finishes with "Aborted. Failed", the php processes
are
working ok, gettext too.PHP 5.4 was compiled with these options:
./configure --sysconfdir=/etc/php5 --with-config-file-path=/etc/php5
--with-config-file-scan-dir=/etc/php5/conf.d --enable-fpm
--with-fpm-user=www-data --with-fpm-group=www-data --with-openssl
--with-zlib=shared --enable-bcmath --with-curl=shared --with-gd=shared
--with-gettext=shared --enable-intl --enable-mbstring
--with-mcrypt=shared
--enable-pcntl --disable-pdo --with-mysqli=mysqlnd --disable-posix
--with-libedit=shared --with-readline=shared --with-recode=shared
--enable-sockets --with-tidy=shared --with-xsl=shared --enable-zip
--with-pear --with-gmp=sharedIf I deactivate the gettext extension, PHP-FPM systematically segfaults
upon
startup but still runs fine:
root@some-vm:~# /etc/init.d/php-fpm restart
Gracefully shutting down php-fpm . done
Starting php-fpm Segmentation fault
failedThe app is running on an nginx 0.7.67
Just wanted to know if this is normal behaviour and if not, should I file
a
bug ?Thanks,
Steven