Bug #72198 [Com]: PHP built with libconv crashes after iconv() is called

From: Date: Thu, 02 Feb 2017 23:41:05 +0000
Subject: Bug #72198 [Com]: PHP built with libconv crashes after iconv() is called
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-207137@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72198&edit=1 ID: 72198 Comment by: nti at w4w dot net Reported by: marcelo at tpn dot com dot br Summary: PHP built with libconv crashes after iconv() is called Status: Open Type: Bug Package: Reproducible crash Operating System: FreeBSD 10.3 PHP Version: 7.0.6 Block user comment: N Private report: N New Comment: I've compiled phpXX-iconv with CONFIGURE_ARGS+=--with-iconv=/usr/local Now it works Previous Comments: ------------------------------------------------------------------------ [2017-01-31 10:44:21] cmb@php.net Related To: Bug #74014 ------------------------------------------------------------------------ [2017-01-29 04:05:03] bmueller5 at yahoo dot com Same Problem. PHP-FPM crashes on FreeBSD 10.3 with PHP 5.6.30 and 7.0.14 if iconv is called bus error (core dumped) /usr/local/php56/bin/php -r 'echo iconv("UTF-8", "UTF-8", "Hello, world.\n"); ------------------------------------------------------------------------ [2017-01-16 14:41:22] ypnow at 163 dot com I have the same problem on my freebsd host, looks like it happend when upgrade system of upgrade libiconv part. And after this, iconv never return normal.. System: FreeBSD 11.0 amd64/ FreeBSD 10.3 amd64 PHP: 5.6.27-29, 7.0.14, 7.1.0. ------------------------------------------------------------------------ [2016-12-30 23:24:57] david at davidfavor dot com This PHP5.6 configuration seems to work. lxd: net12-rmt-si # php --version PHP 5.6.29-1+deb.sury.org~yakkety+1 (cli) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies with Xdebug v2.5.0, Copyright (c) 2002-2016, by Derick Rethans lxd: net12-rmt-si # php -i | grep ^iconv iconv iconv support => enabled iconv implementation => glibc iconv library version => 2.24 iconv.input_encoding => no value => no value iconv.internal_encoding => no value => no value iconv.output_encoding => no value => no value lxd: net12-rmt-si # php -r 'echo iconv("UTF-8", "UTF-8", "Hello, world.\n");' Hello, world. ------------------------------------------------------------------------ [2016-05-11 15:01:39] marcelo at tpn dot com dot br This bug also happens in the latest versions of PHP 5.3, 5.4, 5.5 and 5.6. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=72198 -- Edit this bug report at https://bugs.php.net/bug.php?id=72198&edit=1

« previous php.bugs (#207137) next »