[Bug 1700468] Re: "krb5-auth-dialog --auto" segfaults on startup

2017-07-07 Thread Launchpad Bug Tracker
This bug was fixed in the package krb5-auth-dialog - 3.20.0-3 --- krb5-auth-dialog (3.20.0-3) unstable; urgency=medium * [5a7fe1c] Don't depend on unused libnm-glib-dev (Closes: #823568) * [1455a30] credentials_expiring_real: check if kcontext is valid (LP: #1700468) *

[Bug 1700468] Re: "krb5-auth-dialog --auto" segfaults on startup

2017-07-07 Thread Daniel Richard G.
Confirmed that this fixes the segfault for me when applied to version 3.20.0. Thanks :) (Figured this would be easy to reproduce...) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1700468 Title:

Re: [Bug 1700468] Re: "krb5-auth-dialog --auto" segfaults on startup

2017-07-07 Thread Guido Günther
On Thu, Jul 06, 2017 at 08:33:06PM -, Daniel Richard G. wrote: > Er... > > $ klist -v > klist: invalid option -- 'v' > Usage: klist [-e] [-V] [[-c] [-l] [-A] [-d] [-f] [-s] [-a [-n]]] [-k [-t] > [-K]] [name] > [...] > > Remember, the segfault occurs with a user that is

[Bug 1700468] Re: "krb5-auth-dialog --auto" segfaults on startup

2017-07-06 Thread Daniel Richard G.
Er... $ klist -v klist: invalid option -- 'v' Usage: klist [-e] [-V] [[-c] [-l] [-A] [-d] [-f] [-s] [-a [-n]]] [-k [-t] [-K]] [name] [...] Remember, the segfault occurs with a user that is local-only. Kerberos infrastructure is installed on the system, but the user has no

Re: [Bug 1700468] Re: "krb5-auth-dialog --auto" segfaults on startup

2017-07-06 Thread Guido Günther
Hi Daniel, On Wed, Jul 05, 2017 at 10:38:35PM -, Daniel Richard G. wrote: > Hi Guido, I think you mean "klist -V" (uppercase) :-) > > On the system in question, that returns > > $ klist -V > Kerberos 5 version 1.13.2 Thath's useful too but I meant "klist -v" to get your ticket

[Bug 1700468] Re: "krb5-auth-dialog --auto" segfaults on startup

2017-07-05 Thread Daniel Richard G.
Hi Guido, I think you mean "klist -V" (uppercase) :-) On the system in question, that returns $ klist -V Kerberos 5 version 1.13.2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1700468

Re: [Bug 1700468] Re: "krb5-auth-dialog --auto" segfaults on startup

2017-07-03 Thread Guido Günther
Hi Daniel, On Fri, Jun 30, 2017 at 04:39:15AM -, Daniel Richard G. wrote: > Attached is a Valgrind log file produced from a debug build of k-a-d > version 3.20.0. > > All the errors appear to be accesses within freed memory... Yeah that look suspicious. Can you either post (or send via

[Bug 1700468] Re: "krb5-auth-dialog --auto" segfaults on startup

2017-06-29 Thread Daniel Richard G.
Attached is a Valgrind log file produced from a debug build of k-a-d version 3.20.0. All the errors appear to be accesses within freed memory... ** Attachment added: "kad-valgrind-log.txt"

Re: [Bug 1700468] Re: "krb5-auth-dialog --auto" segfaults on startup

2017-06-29 Thread Guido Günther
On Tue, Jun 27, 2017 at 07:49:07PM -, Daniel Richard G. wrote: > Hunh. How odd... I can't imagine that there would be something > particular to this system that is causing the crash. As you requested: > > skunk@darkstar:/tmp/krb5-auth-dialog-3.20.0/_build/src$ G_MESSAGES_DEBUG=all >

[Bug 1700468] Re: "krb5-auth-dialog --auto" segfaults on startup

2017-06-27 Thread Daniel Richard G.
Hunh. How odd... I can't imagine that there would be something particular to this system that is causing the crash. As you requested: skunk@darkstar:/tmp/krb5-auth-dialog-3.20.0/_build/src$ G_MESSAGES_DEBUG=all ./krb5-auth-dialog -a (krb5-auth-dialog:16500): KrbAuthDialog-DEBUG:

[Bug 1700468] Re: "krb5-auth-dialog --auto" segfaults on startup

2017-06-27 Thread Guido Günther
I can't reproduce here neither when linked against MIT (as in Debian) nor against heimdal (as in Xenial). Can you do a G_MESSAGES_DEBUG=all ./src/krb5-auth-dialog -a maybe this shows s.th. interesting before the crash. -- You received this bug notification because you are a member of

[Bug 1700468] Re: "krb5-auth-dialog --auto" segfaults on startup

2017-06-26 Thread Daniel Richard G.
I'm afraid I see the same failure mode with 3.20. The GDB session is below. (You're not able to reproduce this? This is a system with all the Kerberos infrastructure, but a local-only user---no KRB* envvars set) $ gdb --args /tmp/krb5-auth-dialog-3.20.0/_build/src/krb5-auth-dialog --auto GNU

[Bug 1700468] Re: "krb5-auth-dialog --auto" segfaults on startup

2017-06-26 Thread Guido Günther
But it seems ka_krb5_context_init got called (you can check kcontext_valid == TRUE) so in this case it got corrupted. Any chance you can check 3.20? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.