[imp] still get seg faults

Terry Davis tdavis@birddog.com
Tue, 20 Mar 2001 14:01:12 -0600


Well, I am about out of gas on this one.
I have recompiled apache and php many times now.
Here are my configure options for php:
./configure --with-zlib --with-mm --with-mysql=/usr/local/mysql --with-mcal=
../libmcal --with-imap=../../imap --with-gettext --enable-ftp --with-db3=/us
r/local/BerkeleyDB.3.2 --with-apxs=/usr/local/apache/bin/apxs --with-mcrypt
3=/usr/local/BerkeleyDB.3.2 --with-apxs=/usr/local/apache/bin/apxs --with-mc
rypt

I also tried compiling it straight into apache
'--with-apache=/usr/local/apache'.

I want to think this is a php problem but I have done this before with no
problems.  I even tried with the php version I used previously but I am
getting same errors.

Apache 1.3.19
CVS Horde 3/20/01
CVS IMP 3/20/01
CVS PHP 3/20/01

Thanks
Terry

-----Original Message-----
From: Max Kalika [mailto:max@the-triumvirate.net]
Sent: Tuesday, March 20, 2001 1:54 AM
To: imp@lists.horde.org
Subject: Re: [imp] still get seg faults


Quoting tdavis@birddog.com:

> Anyone else seeing similar errors?
>
> I get this error right after I login.  And I think it is successfully
> authenticating because it will come back and say if auth failed.

Yes, I noticed this a bit back when the paging code was fixed.  I snooped
around and narrowed it down to this call:

       $new = imap_sort($imp['stream'], 0, 0, SE_UID, 'UNSEEN');

Which produces this apache error (which in turn causes the seg fault)

Program received signal SIGSEGV, Segmentation fault.
0x80c0b87 in php_if_imap_sort (ht=5, return_value=0x83fb2c4, this_ptr=0x0,
return_value_used=1)
    at php_imap.c:2748
2748            for (sl = slst; *sl; sl++) {

Curiously though this only happens with one of my accounts.  A different
account works fine.  I am not yet sure what the requirements there are in a
mailbox to cause this.  I'll dig more tomorrow.

--mk23

--
IMP mailing list: http://horde.org/imp/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe@lists.horde.org