#24526 [Opn->Fbk]: Horde+Imp cause a segmentation fault
| From: | sniper@php.net | Date: | Tue, 08 Jul 2003 00:07:25 +0000 |
| Subject: | #24526 [Opn->Fbk]: Horde+Imp cause a segmentation fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-43404@lists.php.net to get a copy of this message | ||
ID: 24526
Updated by: sniper@php.net
Reported By: kaMe at barcolabeach dot org
-Status: Open
+Status: Feedback
Bug Type: IMAP related
Operating System: Linux 2.4
PHP Version: 4.3.2
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
1. Add --enable-debug to your configure line first)
2. Provide a FULL GDB backtrace, not just the first lines.
3. Try the same with Apache 1.3.27
Previous Comments:
------------------------------------------------------------------------
[2003-07-07 16:52:58] kaMe at barcolabeach dot org
Description:
------------
As the summary, i've tryed to get work horde+imp (
http://www.horde.org/imp/), on Apache 2.0.46 with php 4.3.2.
Configure line:
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-imap=/usr/lib --with-imap-ssl=/usr/include/openssl
--with-gettext --with-xml --with-mysql --with-mcrypt
--with-config-file-path=/usr/local/apache2/conf
The imap/c-client version is 2002b.
Expected result:
----------------
The problem borns when i try to get the list of the mails from a
non-empty mailbox, through imap: the page loading stops and apache
segfaults.
I can get anyway the number of the mail in the mailbox.
Actual result:
--------------
From gdb:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 1970)]
0x402dd992 in zif_imap_rfc822_parse_adrlist (ht=2,
return_value=0x82b8b0c, this_ptr=0x0,
return_value_used=1) at
/root/temp-apache/php-4.3.2/ext/imap/php_imap.c:1979
1979 if (addresstmp->mailbox) {
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24526&edit=1