From owner-freebsd-stable@FreeBSD.ORG Thu Jul 15 18:16:46 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABDF41065674 for ; Thu, 15 Jul 2010 18:16:46 +0000 (UTC) (envelope-from reko.turja@liukuma.net) Received: from www.liukuma.net (www.liukuma.net [IPv6:2001:470:28:38a::1]) by mx1.freebsd.org (Postfix) with ESMTP id 561578FC1A for ; Thu, 15 Jul 2010 18:16:46 +0000 (UTC) Received: from www.liukuma.net (localhost [127.0.0.1]) by www.liukuma.net (Postfix) with ESMTP id 8BD081CC69; Thu, 15 Jul 2010 21:16:45 +0300 (EEST) X-DKIM: Sendmail DKIM Filter v2.8.3 www.liukuma.net 8BD081CC69 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=liukuma.net; s=liukudkim; t=1279217805; bh=gkU0DKL8FR+ePMpD4bIpTSDT9+XIbbu7J70s6qt+UbA=; h=Message-ID:From:To:Cc:References:In-Reply-To:Subject:Date: MIME-Version:Content-Type:Content-Transfer-Encoding; b=Zyq462UFPgn288n6QCx6P4DgoIvzl8tNMsgUiXQmsNmKS3Q7nAPY8f/wj1e5mbaqg FG9DT9qsi8oxjiWSLP2UH3/xlmhojujcCSYJf4pfT7bV/QDkoPgRMI47Pfccty4PnE voNAkz2jQTsXQdQANynQWxYYDlyNwG9PVGEWTlO0= X-Virus-Scanned: amavisd-new at liukuma.net Received: from www.liukuma.net ([127.0.0.1]) by www.liukuma.net (www.liukuma.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 14v531JzcxhH; Thu, 15 Jul 2010 21:16:42 +0300 (EEST) Received: from rivendell (a91-155-174-194.elisa-laajakaista.fi [91.155.174.194]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: ignatz@www.liukuma.net) by www.liukuma.net (Postfix) with ESMTPSA id 609001CC67; Thu, 15 Jul 2010 21:16:40 +0300 (EEST) X-DKIM: Sendmail DKIM Filter v2.8.3 www.liukuma.net 609001CC67 Message-ID: <4C9CB3EBD919471A85D3E6B282D9F827@rivendell> From: "Reko Turja" To: "Jeremy Chadwick" References: <4C3CC831.7040005@kaarposoft.dk> <20100713210729.GA11943@icarus.home.lan> <0228E401B70A4023A6F86A2ADAE59EF9@rivendell> <008D0251AE4F4A2DBAA1369410565B61@rivendell> <20100715162251.GA73929@icarus.home.lan> In-Reply-To: <20100715162251.GA73929@icarus.home.lan> Date: Thu, 15 Jul 2010 21:16:38 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8089.726 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726 Cc: freebsd-stable@freebsd.org, Henrik /KaarPoSoft Subject: Re: openldap client GSSAPI authentication segfaults in fbsd8stablei386 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2010 18:16:46 -0000 -------------------------------------------------- From: "Jeremy Chadwick" Sent: Thursday, July 15, 2010 7:22 PM To: "Reko Turja" Cc: "Henrik /KaarPoSoft" ;=20 Subject: Re: openldap client GSSAPI authentication segfaults in=20 fbsd8stablei386 > That said, can you please execute the following in gdb and provide > the output? > > (gdb) p/x gss_release_buffer.c::buffer->value > (gdb) p/x gss_release_buffer.c::buffer->length Those gave syntax error, but going to frame 1 and printing the values=20 gives the following: (gdb) f 1 #1 0x2899ed12 in gss_release_buffer (minor_status=3D0xbfbfe4b8,=20 buffer=3D0x280871cc) at /usr/src/lib/libgssapi/gss_release_buffer.c:41 41 free(buffer->value); (gdb) p/x buffer->length $1 =3D 0x0 (gdb) p/x gss_release_buffer.c::buffer->length A syntax error in expression, near `::buffer->length'. (gdb) p/x buffer->value $2 =3D 0x280871c0 Hope this helps - definitely looks like the issue you are suspecting. -Reko=20