Hello Alec,

I've reinstalled the iconv , I've compiled iconv from GNU.
but the PHP still crashed and create a core dump.
after simple PHP script.

In my php.ini I have no extension=iconv.so
I just have
[iconv]
;xxx
;xxx

so all iconv commented

so, how to disable the iconv support in PHP ?
AFAIK, iconv is compiled by default in PHP.

May be I should send my question to PHP users, it seems, this is not a Roundcube issue
but PHP issue.
Anyway, thank you for your help.

Dancer.


From: A.L.E.C <alec@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