Hello Alec,

thank you for your answer.
You are right the iconv is not working correctly and crashed my Apache

I tried to run the simple following PHP code which create a core dump. 

www-n2:root>vi iconv.php
<?php
$text = "abcde";
echo iconv('UTF-8', 'ISO-8859-1', $text), PHP_EOL;
?>

I'll reinstall the iconv/PHP as you recommended.

thanks again.



________________________________
From: A.L.E.C <a...@alec.pl>
To: users@lists.roundcube.net
Sent: Tue, October 12, 2010 9:06:38 AM
Subject: Re: [RCU] Roundcube/Apache crashing

On 11.10.2010 21:38, El Reggae Dancer wrote:

> (gdb) bt
> #0  0xec835356 in ?? ()
> #1  0xfec311ea in iconv () from /usr/lib/libc.so.1
> #2  0xfd1de6ac in php_iconv_string (in_p=0x87aec8c "", in_len=0, 
> out=0x80468c4, 
>
> out_len=0x80468c0, out_charset=0x8710858 "//IGNORE",
>     in_charset=0x8775e70 "") at /opt/src/php-5.3.3/ext/iconv/iconv.c:521

It looks like it crashes on iconv (in include/main.inc: "iconv('',
$iconv_options, '')"). So, try to reinstall iconv/php. Finally you can
disable iconv extension in php.ini, in this case Roundcube will use
mbstring extension or other build-in methods.

-- 
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Developer http://roundcube.net
_______________________________________________
List info: http://lists.roundcube.net/users/
BT/e6efd315



      
_______________________________________________
List info: http://lists.roundcube.net/users/
BT/8f4f07cd

Reply via email to