Date: Wed, 21 Oct 2015 22:23:04 +0200 From: Sebastian Wolfgarten <sebastian@wolfgarten.com> To: ports@freebsd.org Subject: Fwd: Bug #66313 [Com]: php-fpm segmentation fault with php_recode Message-ID: <69467A60-4BBB-455C-9565-B5DE3ED8F020@wolfgarten.com> References: <201510212020.t9LKKU7U023399@sgrv20.php.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_58FFB89A-3F6A-4B1C-B31A-93C97D01E913 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 FYI - see my comment below. > Anfang der weitergeleiteten Nachricht: >=20 > Von: PHP Bug Database <php-bugs@lists.php.net> > Datum: 21. Oktober 2015 um 22:20:30 MESZ > An: agapov.slava@mail.ru > Betreff: Bug #66313 [Com]: php-fpm segmentation fault with php_recode >=20 > ATTENTION! Do NOT reply to this email! > To reply, use the web interface found at > https://bugs.php.net/bug.php?id=3D66313&edit=3D2 >=20 > ID: 66313 > Comment by: sebastian at wolfgarten dot com > Reported by: agapov dot slava at mail dot ru > Summary: php-fpm segmentation fault with php_recode > Status: Suspended > Type: Bug > Package: Recode related > Operating System: Freebsd 10 > PHP Version: 5.5.7 > Block user comment: N > Private report: N >=20 > New Comment: >=20 > Hi, >=20 > please also remove the recode.so from PHP extensions.ini file. Took me = hours to figure this one out. Without the file being commented out, PHP = segfaults on startup. >=20 > Best regards > Sebastian >=20 >=20 > Previous Comments: > = ------------------------------------------------------------------------ > [2015-08-31 18:01:42] pavel at paxana dot net >=20 > very thanks. >=20 > = ------------------------------------------------------------------------ > [2015-06-05 23:27:42] cmb@php.net >=20 > Gee! This extension certainly has been missed for > <https://wiki.php.net/rfc/removal_of_dead_sapis_and_exts>. >=20 > = ------------------------------------------------------------------------ > [2014-01-31 07:55:04] bjori@php.net >=20 > Missed the doc link explaining this: = http://www.php.net/recode.installation >=20 > = ------------------------------------------------------------------------ > [2014-01-31 07:54:01] bjori@php.net >=20 > That... Sucks. > I don't know why we still bundle it. The lib hasn't been updated for 6 = years so noone really cares... >=20 > Anyway. Nothing we can do really :( >=20 > = ------------------------------------------------------------------------ > [2013-12-17 23:33:34] agapov dot slava at mail dot ru >=20 > 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 >=20 > php55-5.5.7 PHP Scripting Language > php55-recode-5.5.7 The recode shared extension for php >=20 > /usr/local/etc/rc.d/php-fpm onestart > Starting php_fpm. > Segmentation fault (core dumped) >=20 >=20 > #0 hash_lookup (hashtab=3D0x810014650, key=3D0x7fffffffb1e0 = "=C3=A4=EF=BF=BD\f\b") at misc.c:349 > 349 for (ret =3D hashtab->table[hash_index (hashtab,key)]; ret; = ret =3D ret->next) > [New Thread 802806400 (LWP 100391/php-fpm)] > (gdb) bt > #0 hash_lookup (hashtab=3D0x810014650, key=3D0x7fffffffb1e0 = "=C3=A4=EF=BF=BD\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=3D0x802989ec0) = at zend_API.c:1759 > #5 0x000000000072fdf6 in zend_hash_apply (ht=3D0xb6b788, = apply_func=3D0x71ffe0 <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=3D0xb50570, = additional_modules=3D0xb506a0, num_additional_modules=3D1) at = main.c:2212 > #8 0x00000000007f3e32 in php_cgi_startup (sapi_module=3D0xb50570) at = /usr/ports/lang/php55/work/php-5.5.7/sapi/fpm/fpm/fpm_main.c:856 > #9 0x00000000007f1964 in main (argc=3D1, argv=3D0x7fffffffdb00) at = /usr/ports/lang/php55/work/php-5.5.7/sapi/fpm/fpm/fpm_main.c:1776 > Current language: auto; currently minimal >=20 >=20 > After remove php55-recode-5.5.7 that's problem was solved. >=20 > # 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 >=20 >=20 >=20 >=20 >=20 > = ------------------------------------------------------------------------ >=20 >=20 --Apple-Mail=_58FFB89A-3F6A-4B1C-B31A-93C97D01E913 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJWJ/QoAAoJEKIH+IvLUCrD62QQAK6gp4MCfhlyKD07ZoQ0CTMX xPvuZM1ToEDEi1X2S/EyPYVCoiS9/NSIC9wwmYwTLCeKoWpRdSNkjDdLT/OwiRNR 2353O6fTsltoJohkjMMBeHIiX0sfYnyL4U6H3H8DHSjzW4kCk0dDIEJT32fRfAsF eyOelWIujE3ApQlti9aKGElGJltVSU2aW76xP2WarlCoB4sF0OPsN2rCtvF3cXEE /5ARg+fK/w3FGbmO56y7qPHw31peu059savyCyj+DC7ezWhU59xtjyKPEBsKwuMM lJiwp4HEdiB4nyQBSmSZXspqYK+cV9EJD56VoUMSUCheLDaw4rlT2mc3HTFxjE3e tDglE68dF/gQ1ESzzwIMLxtqHVmNjs7TpjkL7VcjVEb0uXSCNGYucLMaMoorvPA7 3k1iHeAURrCevED3LmIVlrkb8Ad9UovCpiBGy/yDkZeo9DU6z0kxeO8XFaE+wLFJ SCjtGl8ZxoWRAGlZGXZFtyvHAIdtQOZGGGrzI9ScEJ7sgO9Yz5RFauBzAQ8QD7MY rRzNPRG2wsSfyQhAdS3Q+07Dax8LrBSfwajfIqC5jGYoqyym2d9ZhGfSK7XkYVfE 5/zXwb7/lZqFnXi5HyjffR+o1RLDtwfuDZAX/LcUTgCkgjzwiXdkGwVv0J6hMKaP TNRtvGelFDTt2WkAPyhn =JSXP -----END PGP SIGNATURE----- --Apple-Mail=_58FFB89A-3F6A-4B1C-B31A-93C97D01E913--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69467A60-4BBB-455C-9565-B5DE3ED8F020>