Bug #66313 [NEW]: php-fpm segmentation fault with php_recode

From: Date: Tue, 17 Dec 2013 23:33:35 +0000
Subject: Bug #66313 [NEW]: php-fpm segmentation fault with php_recode
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183382@lists.php.net to get a copy of this message
From: agapov dot slava at mail dot ru Operating system: Freebsd 10 PHP version: 5.5.7 Package: Recode related Bug Type: Bug Bug description:php-fpm segmentation fault with php_recode Description: ------------ uname -a FreeBSD freebsd.redwebstudio.ru 10.0-RC1 FreeBSD 10.0-RC1 #0 r259068: Sat Dec 7 17:45:20 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 php55-5.5.7 PHP Scripting Language php55-recode-5.5.7 The recode shared extension for php /usr/local/etc/rc.d/php-fpm onestart Starting php_fpm. Segmentation fault (core dumped) #0 hash_lookup (hashtab=0x810014650, key=0x7fffffffb1e0 "ä�\f\b") at misc.c:349 349 for (ret = hashtab->table[hash_index (hashtab,key)]; ret; ret = ret->next) [New Thread 802806400 (LWP 100391/php-fpm)] (gdb) bt #0 hash_lookup (hashtab=0x810014650, key=0x7fffffffb1e0 "ä�\f\b") at misc.c:349 #1 0x000000080cefdd75 in find_alias () from /usr/local/lib/librecode.so.3 #2 0x000000080ceff98b in recode_new_outer () from /usr/local/lib/librecode.so.3 #3 0x000000080cc72f0a in zm_startup_recode () from /usr/local/lib/php/20121212-debug/recode.so #4 0x00000000007201e1 in zend_startup_module_ex (module=0x802989ec0) at zend_API.c:1759 #5 0x000000000072fdf6 in zend_hash_apply (ht=0xb6b788, apply_func=0x71ffe0 <zend_startup_module_ex>) at zend_hash.c:716 #6 0x0000000000720677 in zend_startup_modules () at zend_API.c:1886 #7 0x000000000066b0c5 in php_module_startup (sf=0xb50570, additional_modules=0xb506a0, num_additional_modules=1) at main.c:2212 #8 0x00000000007f3e32 in php_cgi_startup (sapi_module=0xb50570) at /usr/ports/lang/php55/work/php-5.5.7/sapi/fpm/fpm/fpm_main.c:856 #9 0x00000000007f1964 in main (argc=1, argv=0x7fffffffdb00) at /usr/ports/lang/php55/work/php-5.5.7/sapi/fpm/fpm/fpm_main.c:1776 Current language: auto; currently minimal After remove php55-recode-5.5.7 that's problem was solved. # pkg delete php55-recode [1/1] Deleting php55-recode-5.5.7... done # /usr/local/etc/rc.d/php-fpm onestart Starting php_fpm. Created directory: /var/net-snmp Created directory: /var/net-snmp/mib_indexes -- Edit bug report at https://bugs.php.net/bug.php?id=66313&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66313&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66313&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66313&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=66313&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=66313&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=66313&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=66313&r=needscript Try newer version: https://bugs.php.net/fix.php?id=66313&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=66313&r=support Expected behavior: https://bugs.php.net/fix.php?id=66313&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=66313&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=66313&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=66313&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66313&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=66313&r=dst IIS Stability: https://bugs.php.net/fix.php?id=66313&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=66313&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=66313&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=66313&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=66313&r=mysqlcfg

« previous php.bugs (#183382) next »