Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Aug 2004 22:33:33 +0200
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        Sahil Tandon <sahil@hamla.org>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: apache segfault caused by latest c-client.
Message-ID:  <20040806203333.GB82876@graf.pompo.net>
In-Reply-To: <41103B8B.2080904@hamla.org>
References:  <41103B8B.2080904@hamla.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hello,

Le Mer  4 aoû 04 à  3:27:39 +0200, Sahil Tandon <sahil@hamla.org>
 écrivait :
> I'm running 4.10-STABLE and last week ran into an especially frustrating 
> segfault in my apache logs when trying to login to Horde+IMP.  An 
> example[1] is below.  I tried debugging via gdb, which yields the 
> corresponding error:
> 
> | Program received signal SIGSEGV, Segmentation fault.
> | 0x28609fba in ip_nametoaddr () from /usr/local/lib/libc-client4.so.8
> 
> ... and then:
> 
> | # pkg_which /usr/local/lib/libc-client4.so.8
> | cclient-2004,1
> 
> It looks like c-client is the culprit.  After this I refined my google 
> searches and found others had fixed the problem by switching to an older 
> version of c-client.  How can I do this safely without breaking the 
> other ports (namely UW IMAP itself) that rely on my current c-client 
> installation?

A new release of cclient has been released. The changelog says
"imap-2004a is a maintenance release, consisting primarily of critical
bugfixes."

Could you please upgrade to this release (apply the following patch),
rebuild your php4-imap-4.3.8_2, and check if it fixes your errors?

--- cclient.diff begins here ---
diff -urN mail/cclient.orig/Makefile mail/cclient/Makefile
--- mail/cclient.orig/Makefile  Fri Jun  4 16:21:47 2004
+++ mail/cclient/Makefile       Fri Aug  6 21:51:03 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=      cclient
-PORTVERSION=   2004
+PORTVERSION=   2004a
 PORTEPOCH=     1
 CATEGORIES=    mail devel ipv6
 MASTER_SITES=  ftp://ftp.cac.washington.edu/imap/%SUBDIR%/ \
diff -urN mail/cclient.orig/distinfo mail/cclient/distinfo
--- mail/cclient.orig/distinfo  Fri Jun  4 16:21:47 2004
+++ mail/cclient/distinfo       Fri Aug  6 21:51:46 2004
@@ -1,2 +1,2 @@
-MD5 (imap-2004.tar.Z) = ec3dafeeae320457a1d098157e9bf969
-SIZE (imap-2004.tar.Z) = 2220333
+MD5 (imap-2004a.tar.Z) = 34d2c66271302cd2f926094fb5e8705d
+SIZE (imap-2004a.tar.Z) = 2224181
--- cclient.diff ends here ---

Regards,
-- 
Th. Thomas.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBE+sdc95pjMcUBaIRAjjLAKC2/20RO4jEE5h6KYKFaGrnl1p3pACeJVjO
NHNVRfVQYf8FPeigKgnXYlM=
=AHUa
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040806203333.GB82876>