Hello,

>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")
thanks.




________________________________
From: Kaz Kylheku <[email protected]>
To: El Reggae Dancer <[email protected]>
Cc: A.L.E.C <[email protected]>; [email protected]
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 
php_iconv_string").
Hey look, it's a PHP bug in the CLOSED state, about the same crash that you are 
having.
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 
<[email protected]> 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
>[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 
>To: [email protected]
>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