[RCU] Roundcube/Apache crashing

El Reggae Dancer reggaedancer at ymail.com
Wed Oct 13 10:00:45 CEST 2010


>What exactly did you recompile?
I've recompiled the libiconv in my Solaris, i.e I've replaced the libiconv from 
Sunfreeware by the
one from GNU.
I've read the PHP bug submitted by (php at jrdtech dot com)
and will try to get the solution he has found("needed to do preload")

From: Kaz Kylheku <kaz at kylheku.com>
To: El Reggae Dancer <reggaedancer at ymail.com>
Cc: A.L.E.C <alec at alec.pl>; users at lists.roundcube.net
Sent: Wed, October 13, 2010 7:19:36 AM
Subject: Re: [RCU] Roundcube/Apache crashing

What exactly did you recompile? This is a function in PHP (php_iconv_string) 
calling the iconv function in your C library, where the thread is actually 
dying. This looks like it's between between PHP and your C library.
If we google "php_iconv_string", the very first hit is this:
http://bugs.php.net/bug.php?id=53005  ("iconv() fails in ext/iconv/iconv.c 
Hey look, it's a PHP bug in the CLOSED state, about the same crash that you are 
And, oh look, it's logged agains the Solaris 10 platform.
What are the odds that it's the same?
The guy who submitted the bug (php at jrdtech dot com) seems to have also found 
the solution. See his follow-up comment at the bottom:
   "needed to do preload, runs great"
On Tue, 12 Oct 2010 15:55:40 -0700 (PDT), El Reggae Dancer 
<reggaedancer at ymail.com> wrote:
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
>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 
>but PHP issue.
>Anyway, thank you for your help.
 From: A.L.E.C 
>To: users at 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/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.roundcube.net/pipermail/users/attachments/20101013/d0c16fff/attachment-0001.html>
-------------- next part --------------
List info: http://lists.roundcube.net/users/

More information about the users mailing list