[horde] help. new install, something is broken in imap (solved) but exception is broken..

LALOT Dominique dom.lalot at gmail.com
Thu Feb 2 07:40:13 UTC 2012


2012/2/1 Michael M Slusarz <slusarz at horde.org>

> Quoting LALOT Dominique <dom.lalot at gmail.com>:
>
>  Is there a piece of code I could put somewhere to test and isolate the
>> problem? This setup is running for me for months and I have no problems,
>> except some suspect and unusual traces. I have may be some other related
>> problems, that could be the same and are segfaulting apache:
>>
>> [Wed Feb 01 12:59:17 2012] [error] [client xx] PHP Fatal error:  Call to a
>> member function getName() on a non-object in
>> /var/www/horde/imp/lib/Ajax/**Application.php on line 1333, referer:
>> http://xx/horde/imp/message-**dimp.php?ajaxui=1&mailbox=**
>> SU5CT1gvZW52b2lz&uid=5&uniq=**1328097524472<http://xx/horde/imp/message-dimp.php?ajaxui=1&mailbox=SU5CT1gvZW52b2lz&uid=5&uniq=1328097524472>
>> [Wed Feb 01 12:59:17 2012] [notice] child pid 29166 exit signal
>> Segmentation fault (11), possible coredump in /tmp
>>
>
> PHP should NEVER coredump.  If it is, there is something seriously wrong
> with it or one of its components.
>
> Yes Michael, I known that but each compiled pear module can be a cause of
coredump

root at horde41:/tmp# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 10.10
Release:        10.10
Codename:       maverick

Just looking at last trace (there is no debugging php symbols in that
distrib)

(gdb) bt
#0  0x00007f64ea623f89 in _zend_hash_add_or_update () from
/usr/lib/apache2/modules/libphp5.so
#1  0x00007f64ea5d1505 in php_register_variable_ex () from
/usr/lib/apache2/modules/libphp5.so
#2  0x00007f64ea42b7c9 in ?? () from /usr/lib/apache2/modules/libphp5.so
#3  0x00007f64ea5caf62 in sapi_getenv () from
/usr/lib/apache2/modules/libphp5.so
#4  0x00007f64ea5d7009 in ?? () from /usr/lib/apache2/modules/libphp5.so
#5  0x00007f64ea635bd3 in ?? () from /usr/lib/apache2/modules/libphp5.so
#6  0x00007f64ea60d5f8 in destroy_op_array () from
/usr/lib/apache2/modules/libphp5.so
#7  0x00007f64ea622338 in zend_hash_destroy () from
/usr/lib/apache2/modules/libphp5.so
#8  0x00007f64ea60d7ca in destroy_zend_class () from
/usr/lib/apache2/modules/libphp5.so
#9  0x00007f64ea621ff2 in ?? () from /usr/lib/apache2/modules/libphp5.so
#10 0x00007f64ea6220f9 in zend_hash_reverse_apply () from
/usr/lib/apache2/modules/libphp5.so
#11 0x00007f64ea60949e in ?? () from /usr/lib/apache2/modules/libphp5.so
#12 0x00007f64ea615c32 in ?? () from /usr/lib/apache2/modules/libphp5.so
#13 0x00007f64ea5c1585 in php_request_shutdown () from
/usr/lib/apache2/modules/libphp5.so
#14 0x00007f64ea6a2c87 in ?? () from /usr/lib/apache2/modules/libphp5.so
#15 0x00007f64ee696450 in ap_run_handler (r=0x7f64f0facd00) at
/build/buildd/apache2-2.2.16/server/config.c:159
#16 0x00007f64ee699dde in ap_invoke_handler (r=0x7f64f0facd00) at
/build/buildd/apache2-2.2.16/server/config.c:377
#17 0x00007f64ee6a7918 in ap_process_request (r=0x7f64f0facd00)
    at /build/buildd/apache2-2.2.16/modules/http/http_request.c:282
#18 0x00007f64ee6a48a8 in ap_process_http_connection (c=0x7f64f0792710)
    at /build/buildd/apache2-2.2.16/modules/http/http_core.c:190
#19 0x00007f64ee69e038 in ap_run_process_connection (c=0x7f64f0792710)
    at /build/buildd/apache2-2.2.16/server/connection.c:43
#20 0x00007f64ee6ac8e7 in child_main (child_num_arg=<value optimized out>)
    at /build/buildd/apache2-2.2.16/server/mpm/prefork/prefork.c:662
#21 0x00007f64ee6acbfa in make_child (s=0x7f64f0298938, slot=4)
    at /build/buildd/apache2-2.2.16/server/mpm/prefork/prefork.c:758
#22 0x00007f64ee6ad884 in perform_idle_server_maintenance (_pconf=<value
optimized out>,
    plog=<value optimized out>, s=<value optimized out>)
    at /build/buildd/apache2-2.2.16/server/mpm/prefork/prefork.c:893
#23 ap_mpm_run (_pconf=<value optimized out>, plog=<value optimized out>,
s=<value optimized out>)
    at /build/buildd/apache2-2.2.16/server/mpm/prefork/prefork.c:1097
#24 0x00007f64ee682530 in main (argc=3, argv=0x7fff68eed498) at
/build/buildd/apache2-2.2.16/server/main.c:742
(gdb) quit

The problem, is that I use horde for months and it never happens to me and
nobody complains but I can see in the logs that something is wrong.

PHP Fatal error:  Call to a member function getName() on a non-object in
/var/www/horde/imp/lib/Ajax/Application.php on line 1333, referer:
http://etumel.univmed.fr/horde/imp/message-dimp.php?ajaxui=1&mailbox=SU5CT1gvZW52b2lz&uid=5&uniq=1328097524472
[Wed Feb 01 12:59:17 2012] [notice] child pid 29166 exit signal
Segmentation fault (11), possible coredump in /tmp

[Wed Feb 01 10:51:23 2012] [error] [client 139.124.132.69] PHP Fatal
error:  Call to a member function getHeader() on a non-object in
/var/www/horde/imp/lib/Compose.php on line 1448, referer:
http://etumel.univmed.fr/horde/imp/compose-dimp.php?type=new&ajaxui=1&uniq=1328089734783
[Wed Feb 01 10:51:24 2012] [notice] child pid 27902 exit signal
Segmentation fault (11), possible coredump in /tmp


Don't know how to reproduce and isolate the problem!

-- 
Dominique LALOT
Ingénieur Systèmes et Réseaux
http://annuaire.univmed.fr/showuser.php?uid=lalot


More information about the horde mailing list