[email protected]
[Top] [All Lists]

Bug#499405: marked as forwarded (kinit dumps core with pkinit and wrong

Subject: Bug#499405: marked as forwarded kinit dumps core with pkinit and wrong PIN
From: Debian Bug Tracking System
Date: Sun, 05 Oct 2008 22:57:10 +0000
Your message dated Mon, 06 Oct 2008 09:51:38 +1100
with message-id <[email protected]>
has caused the   report #499405,
regarding kinit dumps core with pkinit and wrong PIN
to be marked as having been forwarded to the upstream software
author(s) "[email protected]" <[email protected]>

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]

499405: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499405
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Subject: Re: Bug#499405: backtrace and possible fix
From: Brian May
Date: Mon, 06 Oct 2008 09:51:38 +1100

I received this bug report against Heimdal. There is a patch available, see the bug report at <http://bugs.debian.org/499405>. The most recent patch was sent on Fri, 19 Sep 2008 16:10:55 +0200:


Brian May

Guido Günther wrote:
here's a backtrace with debugging symbols. The problem is in

#0  0x0f8bfedc in *__GI_raise (sig=6) at 
#1  0x0f8c1b74 in *__GI_abort () at abort.c:88
#2  0x0fe0c6b8 in _hx509_abort (fmt=0xfe49e2c "slot not in session") at 
#3  0x0fe2141c in p11_put_session (p=0x1001aa48, slot=0x10027428, session=1) at 
#4  0x0fe212cc in p11_get_session (context=0x100189c8, p=0x1001aa48, 
slot=0x10027428, lock=0x1001a9b8, psession=0xbfa3b5c4) at ks_p11.c:457
#5  0x0fe20eb4 in p11_init_slot (context=0x100189c8, p=0x1001aa48, 
lock=0x1001a9b8, id=0, num=0, slot=0x10027428) at ks_p11.c:353
#6 0x0fe2258c in p11_init (context=0x100189c8, certs=0x1001aa10, data=0x1001aa18, flags=0, residue=0xbfa3c376 "/usr/lib/opensc/opensc-pkcs11.so", lock=0x1001a9b8) at ks_p11.c:914 #7 0x0fe1caf4 in hx509_certs_init (context=0x100189c8, name=0xbfa3c36f "PKCS11:/usr/lib/opensc/opensc-pkcs11.so", flags=0, lock=0x1001a9b8, certs=0x10018320) at keyset.c:158 #8 0x0fefab8c in _krb5_pk_load_id (context=0x10018008, ret_id=0x10018338, user_id=0xbfa3c36f "PKCS11:/usr/lib/opensc/opensc-pkcs11.so", anchor_id=0x100182f0 "FILE:/etc/ssl/certs/krbca.pem", chain_list=0x0, revoke_list=0x0, prompter=0x10005e70 <krb5_prompter_posix>, prompter_data=0x0, password=0xbfa3b8f4 "") at pkinit.c:1508 #9 0x0fefc144 in krb5_get_init_creds_opt_set_pkinit (context=0x10018008, opt=0x100188f8, principal=0x10018358, user_id=0xbfa3c36f "PKCS11:/usr/lib/opensc/opensc-pkcs11.so", x509_anchors=0x100182f0 "FILE:/etc/ssl/certs/krbca.pem", pool=0x0, pki_revoke=0x0, flags=0, prompter=0x10005e70 <krb5_prompter_posix>, prompter_data=0x0, password=0xbfa3b8f4 "") at pkinit.c:2027
#10 0x10003f6c in get_new_tickets (context=0x10018008, principal=0x10018358, 
ccache=0x10018250, ticket_life=0, interactive=1)
    at kinit.c:426
#11 0x100053c4 in main (argc=1, argv=0xbfa3c170) at kinit.c:815

abort is being called due to P11_SESSION_IN_USE not being set but
p11_put_session wants to clear it. The real fix probably simply wants to
remove the p11_put_session calls but with the attached version it's
clearer what's going wrong.
 -- Guido

--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>
  • Bug#499405: marked as forwarded (kinit dumps core with pkinit and wrong PIN), Debian Bug Tracking System <=