Hello,
I've successfully installed Roundcube 0.4.2 on Solaris 10.
I'm running :
Apache 2.2.11
PHP 5.2.14
Mysql Ver 14.14 Distrib 5.1.30
On the same server I'm running Squirremail.
But when I tried to login from the Roundcube start page, Apache crashed:
Apache log file:
==========
[Mon Oct 11 18:34:18 2010] [notice] child pid 18250 exit signal Segmentation fault (11),possible coredump in /tmp
Then I tried to debug the Apache, what I've before the crash is :
============================================
18250: lxstat(2, "/var/opt/roundcubemail-0.4.2", 0x08043F80) = 0
18250: lxstat(2, "/var/opt", 0x08043E60) = 0
18250: lxstat(2, "/var", 0x08043D50) = 0
18250: open("/var/opt/roundcubemail-0.4.2/program/include/rcube_plugin.php", O_RDONLY) = 17
18250: fstat64(17, 0x08045B60) = 0 [...]
18250: close(17) = 0
18250: pollsys(0x08046778, 1, 0x08046750, 0x00000000) = 0
18250: open("/usr/local/lib/charset.alias", O_RDONLY) = 17
18250: fstat64(17, 0x08046470) = 0
18250: fstat64(17, 0x080465C0) = 0
18250: fstat64(17, 0x08046500) = 0
18250: ioctl(17, TCGETA, 0x08046594) Err#25 ENOTTY
18250: read(17, " # T h i s f i l e ".., 1024) = 625
18250: read(17, 0x086B8A1C, 1024) = 0
18250: llseek(17, 0, SEEK_CUR) = 625 18250: close(17) = 0
18250: Incurred fault #6, FLTBOUNDS %pc = 0xEC835356
18250: siginfo: SIGSEGV SEGV_MAPERR addr=0xEC835356
18250: Received signal #11, SIGSEGV [caught]
18250: siginfo: SIGSEGV SEGV_MAPERR addr=0xEC835356
18250: lwp_sigmask(SIG_SETMASK, 0x00000400, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
18250: chdir("/tmp") = 0
================================================
There is no error in the Roundcube logfile : /var/opt/roundcubemail-0.4.2/logs
I tried to debug the core file created by Apache:
================================
%
gdb httpd /tmp/core
Core was generated by `/opt/webstack/apache2/2.2/bin/httpd -D 32bit -f /etc/opt/webstack/apache2/2.2/h'.
Program terminated with signal 11, Segmentation fault.
[New process 83786 ]
#0 0xec835356 in ?? ()
(gdb)
bt full
#9 0xfd4ed7e1 in php_handler (r=0x83c0828) at /opt/src/php-5.3.3/sapi/apache2handler/sapi_apache2.c:669
zfd = {type = ZEND_HANDLE_MAPPED, filename = 0x83dab08 "/var/opt/roundcubemail-0.4.2/index.php",
opened_path = 0x0, handle = {
fd = 136273344, fp = 0x81f5dc0, stream = {handle = 0x81f5dc0, isatty = 0, mmap = {len = 9822, pos = 0,
map = 0x0,
buf = 0xfe220000 <Address 0xfe220000 out of bounds>, old_handle = 0x0, old_closer = 0}, reader = 0xfd3e85c4
<_php_stream_read>,
fsizer = 0xfd3cf115 <php_zend_stream_fsizer>, closer = 0xfd3cf0e1 <php_zend_stream_mmap_closer>}},
free_filename = 0 '\0'}
__orig_bailout = (sigjmp_buf *) 0x0
====================================
The Apache is working correctly with other virtual host, it's crashing only for the host using Roundcube.
I've tried Roundcube version 4.0, and PHP 5.3.3, I've got the same result (Apache child process crashing).
Any help would be appreciated.
Benarson