[18968] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

RE: krb5_cc_default crash

daemon@ATHENA.MIT.EDU (Tim Vega)
Fri Aug 8 23:37:34 2014

From: Tim Vega <tvega@tableausoftware.com>
To: Benjamin Kaduk <kaduk@MIT.EDU>
Date: Fri, 8 Aug 2014 22:46:51 +0000
Message-ID: <F97DCF8911E6C842975C622C0C8E680F27645EEE@S1P5DAG8C.EXCHPROD.USA.NET>
In-Reply-To: <alpine.GSO.1.10.1408081823590.21571@multics.mit.edu>
Content-Language: en-US
MIME-Version: 1.0
Cc: "krbdev@mit.edu" <krbdev@MIT.EDU>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@MIT.EDU

I solved the issue, I neglected to add krb5cc32.dll to the apache bin folder.

-----Original Message-----
From: Benjamin Kaduk [mailto:kaduk@MIT.EDU] 
Sent: Friday, August 08, 2014 3:26 PM
To: Tim Vega
Cc: krbdev@mit.edu
Subject: Re: krb5_cc_default crash

On Thu, 7 Aug 2014, Tim Vega wrote:

> Hi,
>
> I'm trying to get S4U2proxy to work with mod_auth_kerb. I compiled the patch here,http://sourceforge.net/p/modauthkerb/mailman/message/28531618/, into mod_auth_kerb but it crashes on a call to krb5_cc_default.
>
> The offending line is line 283 of stdcc.c:
> err = cc_initialize (&gCntrlBlock, ccapi_version_max, &gCCVersion, 
> NULL);
>
> Disassembly (the break is at the add instruction):
>         err = cc_initialize (&gCntrlBlock, ccapi_version_max, &gCCVersion, NULL);
> 6647164A  push        0
> 6647164C  push        offset _gCCVersion (665A5DE4h)
> 66471651  push        7
> 66471653  push        offset _gCntrlBlock (665A5DE0h)
> 66471658  call        dword ptr [_pcc_initialize (665A7048h)]
> 6647165E  add         esp,10h
> 66471661  mov         dword ptr [err],eax
>
> _pcc_initialize watched values:
>                                 _pcc_initialize    0x665a7048 _pcc_initialize           void *
>                                 *(long *)_pcc_initialize 0              long
>
> Any help would be greatly appreciated!

It somehow seems more likely that the crash would be inside
cc_initialize() than on the stack pointer adjustment after the call.
There is no information about ccapi_context.c available?  Is there information about a faulting address (e.g., NULL)?

I don't think there's a whole lot to go on, here.
I guess you should say whether you have NODEBUG defined in the krb5 build environment.

-Ben


_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev

home help back first fref pref prev next nref lref last post