Hi,
I've been recently updating ports on my machine. After last update I cannot make PHP-fpm working. Simple
outputs me:
So I've tried to use gdb but it give me no clues:
Ok, so let's look at backtrace:
And I'm stuck here. Please advice gentlemen.
I've been recently updating ports on my machine. After last update I cannot make PHP-fpm working. Simple
# php -v
outputs me:
Code:
Segmentation fault: 11 (core dumped)
# gdb /usr/local/bin/php php.core
Code:
Loaded symbols for /usr/local/lib/php/20100525-debug/xmlwriter.so
Reading symbols from /usr/local/lib/php/20100525-debug/zlib.so...done.
Loaded symbols for /usr/local/lib/php/20100525-debug/zlib.so
Reading symbols from /usr/local/lib/php/20100525-debug/session.so...done.
Loaded symbols for /usr/local/lib/php/20100525-debug/session.so
Reading symbols from /usr/local/lib/php/20100525-debug/tokenizer.so...done.
Loaded symbols for /usr/local/lib/php/20100525-debug/tokenizer.so
Reading symbols from /usr/local/lib/php/20100525-debug/hash.so...done.
Loaded symbols for /usr/local/lib/php/20100525-debug/hash.so
Reading symbols from /usr/local/lib/php/20100525-debug/soap.so...done.
Loaded symbols for /usr/local/lib/php/20100525-debug/soap.so
Reading symbols from /usr/local/lib/php/20100525-debug/gmp.so...done.
Loaded symbols for /usr/local/lib/php/20100525-debug/gmp.so
Reading symbols from /usr/local/lib/libgmp.so.10...done.
Loaded symbols for /usr/local/lib/libgmp.so.10
Reading symbols from /usr/local/lib/php/20100525-debug/ctype.so...done.
Loaded symbols for /usr/local/lib/php/20100525-debug/ctype.so
Reading symbols from /usr/local/lib/php/20100525-debug/exif.so...done.
Loaded symbols for /usr/local/lib/php/20100525-debug/exif.so
Reading symbols from /usr/local/lib/php/20100525-debug/mbstring.so...done.
Loaded symbols for /usr/local/lib/php/20100525-debug/mbstring.so
Reading symbols from /usr/local/lib/libonig.so.1...done.
Loaded symbols for /usr/local/lib/libonig.so.1
Reading symbols from /usr/local/lib/php/20100525-debug/phar.so...done.
Loaded symbols for /usr/local/lib/php/20100525-debug/phar.so
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x00000008056a3d02 in hash_lookup (hashtab=0x80e5311f0,
key=0x7fffffffd280 "1dH\b\b") at misc.c:349
349 misc.c: No such file or directory.
in misc.c
[New Thread 802407400 (LWP 106676/php)]
Ok, so let's look at backtrace:
Code:
(gdb) bt
#0 0x00000008056a3d02 in hash_lookup (hashtab=0x80e5311f0,
key=0x7fffffffd280 "1dH\b\b") at misc.c:349
#1 0x00000008084422a0 in find_alias () from /usr/local/lib/librecode.so.3
#2 0x00000008084436ab in recode_new_outer ()
from /usr/local/lib/librecode.so.3
#3 0x00000008081b6ec8 in zm_startup_recode ()
from /usr/local/lib/php/20100525-debug/recode.so
#4 0x000000000063e5e8 in zend_startup_module_ex (module=0x8025888c0)
at /usr/ports/lang/php5/work/php-5.4.15/Zend/zend_API.c:1696
#5 0x0000000000648d0a in zend_hash_apply (ht=0xa5d360,
apply_func=0x63e440 <zend_startup_module_ex>)
at /usr/ports/lang/php5/work/php-5.4.15/Zend/zend_hash.c:716
#6 0x000000000063eadc in zend_startup_modules ()
at /usr/ports/lang/php5/work/php-5.4.15/Zend/zend_API.c:1823
#7 0x00000000005aebe3 in php_module_startup (sf=0xa41c40,
additional_modules=0x0, num_additional_modules=0)
at /usr/ports/lang/php5/work/php-5.4.15/main/main.c:2210
#8 0x00000000006d6bdf in php_cli_startup (sapi_module=0xa41c40)
at /usr/ports/lang/php5/work/php-5.4.15/sapi/cli/php_cli.c:414
#9 0x00000000006d8d93 in main (argc=2, argv=0x7fffffffd780)
at /usr/ports/lang/php5/work/php-5.4.15/sapi/cli/php_cli.c:1344
And I'm stuck here. Please advice gentlemen.