Bug #74014 [Opn->Dup]: iconv crashes PHP on FreeBSD

From: Date: Tue, 31 Jan 2017 10:44:22 +0000
Subject: Bug #74014 [Opn->Dup]: iconv crashes PHP on FreeBSD
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-207060@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74014&edit=1 ID: 74014 Updated by: cmb@php.net Reported by: nti at w4w dot net Summary: iconv crashes PHP on FreeBSD -Status: Open +Status: Duplicate Type: Bug Package: Reproducible crash Operating System: FreeBSD 10.3 PHP Version: 5.6.30 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Duplicate of bug #72198. Previous Comments: ------------------------------------------------------------------------ [2017-01-30 13:05:32] nti at w4w dot net Description: ------------ It's hard to find the reason for this crashes of php-fpm: "exited on signal 10 (SIGBUS)" on various circumstances. But's the iconv modul (php 5.6.30 and also 7.0.15) that causes this on newer FreeBSD versions. Disabling the modul solves the problem. On the cli you can reproduce the crash with php -r 'echo iconv("UTF-8", "UTF-8", "Hello, world.\n");' [1] 36583 bus error (core dumped) php -r 'echo iconv("UTF-8", "UTF-8", "Hello, world.\n"); Bug 72198 also describes the problem but someone should do something because iconv is not useable on FreeBSD at present. Test script: --------------- php -r 'echo iconv("UTF-8", "UTF-8", "Hello, world.\n");' ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74014&edit=1

« previous php.bugs (#207060) next »