[RCU] Roundcube/Apache crashing

Kaz Kylheku kaz at kylheku.com
Wed Oct 13 07:19:36 CEST 2010



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  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:
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 [1] gg:2275252
LAN
Management System Developer http://lms.org.pl [2]
Roundcube Webmail
Developer http://roundcube.net
[3]
_______________________________________________
List info:
http://lists.roundcube.net/users/ [4]
BT/e6efd315   




Links:
------
[1] http://alec.pl
[2] http://lms.org.pl
[3]
http://roundcube.net
[4] http://lists.roundcube.net/users/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.roundcube.net/pipermail/users/attachments/20101012/89c33404/attachment-0001.html>
-------------- next part --------------
_______________________________________________
List info: http://lists.roundcube.net/users/
BT/9b404e9e


More information about the users mailing list