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 local-only. Kerberos
> infrastructure is installed on the system, but the user has no Kerberos
> tickets, no Kerberos envvars set, no cache file, nothing at all.
> 
> $ klist
> klist: Credentials cache file '/tmp/krb5cc_1000' not found

I can reproduce this now and this

https://git.gnome.org/browse/krb5-auth-
dialog/commit/?id=23ba826890d60c3c556a8d1a021e97b8d3fb416c

fixes it for me.

-- 
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:
  "krb5-auth-dialog --auto" segfaults on startup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/krb5-auth-dialog/+bug/1700468/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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 details.

> 
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1700468
> 
> Title:
>   "krb5-auth-dialog --auto" segfaults on startup
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/krb5-auth-dialog/+bug/1700468/+subscriptions
>

-- 
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:
  "krb5-auth-dialog --auto" segfaults on startup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/krb5-auth-dialog/+bug/1700468/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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 private
mail) the output of "klist -v"?

> 
> ** Attachment added: "kad-valgrind-log.txt"
>
> https://bugs.launchpad.net/ubuntu/+source/krb5-auth-dialog/+bug/1700468/+attachment/4906188/+files/kad-valgrind-log.txt
> 
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1700468
> 
> Title:
>   "krb5-auth-dialog --auto" segfaults on startup
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/krb5-auth-dialog/+bug/1700468/+subscriptions
>

-- 
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:
  "krb5-auth-dialog --auto" segfaults on startup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/krb5-auth-dialog/+bug/1700468/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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 
> ./krb5-auth-dialog -a
> (krb5-auth-dialog:16500): KrbAuthDialog-DEBUG: ka_applet_set_property: 
> principal: 
> (krb5-auth-dialog:16500): KrbAuthDialog-DEBUG: ka_applet_set_property: 
> pk-userid: 
> (krb5-auth-dialog:16500): KrbAuthDialog-DEBUG: ka_applet_set_property: 
> pk-anchors: 
> (krb5-auth-dialog:16500): KrbAuthDialog-DEBUG: ka_applet_set_property: 
> pw-prompt-mins: 30
> (krb5-auth-dialog:16500): KrbAuthDialog-DEBUG: ka_applet_set_property: 
> tgt-forwardable: False
> (krb5-auth-dialog:16500): KrbAuthDialog-DEBUG: ka_applet_set_property: 
> tgt-proxiable: False
> (krb5-auth-dialog:16500): KrbAuthDialog-DEBUG: ka_applet_set_property: 
> tgt-renewable: False
> (krb5-auth-dialog:16500): KrbAuthDialog-DEBUG: ka_applet_set_property: 
> conf-tickets: False
> (krb5-auth-dialog:16500): KrbAuthDialog-DEBUG: ka_applet_set_property: 
> principal: 
> (krb5-auth-dialog:16500): KrbAuthDialog-DEBUG: ka_applet_set_property: 
> pk-userid: 
> (krb5-auth-dialog:16500): KrbAuthDialog-DEBUG: ka_applet_set_property: 
> pk-anchors: 
> (krb5-auth-dialog:16500): KrbAuthDialog-DEBUG: ka_applet_set_property: 
> pw-prompt-mins: 30
> (krb5-auth-dialog:16500): KrbAuthDialog-DEBUG: ka_applet_set_property: 
> tgt-forwardable: False
> (krb5-auth-dialog:16500): KrbAuthDialog-DEBUG: ka_applet_set_property: 
> tgt-proxiable: False
> (krb5-auth-dialog:16500): KrbAuthDialog-DEBUG: ka_applet_set_property: 
> tgt-renewable: False
> (krb5-auth-dialog:16500): KrbAuthDialog-DEBUG: ka_applet_set_property: 
> conf-tickets: False
> (krb5-auth-dialog:16500): KrbAuthDialog-DEBUG: ka_applet_local_command_line: 
> Parsing local command line
> (krb5-auth-dialog:16500): KrbAuthDialog-DEBUG: ka_applet_startup: Primary 
> application
> (krb5-auth-dialog:16500): Gtk-DEBUG: Connecting to session manager
> (krb5-auth-dialog:16500): KrbAuthDialog-DEBUG: ka_nm_client_state_changed_cb: 
> Network connected
> (krb5-auth-dialog:16500): KrbAuthDialog-DEBUG: monitor_ccache: Monitoring 
> /tmp/krb5cc_1000
> (krb5-auth-dialog:16500): KrbAuthDialog-DEBUG: ka_applet_command_line: 
> Evaluating command line
> (krb5-auth-dialog:16500): KrbAuthDialog-DEBUG: credentials_expiring: Checking 
> expiry <1800s

That looks sane.

> Segmentation fault (core dumped)

That still doesn't. Does running under valgrind's memcheck yield
anything?

valgrind /usr/bin/krb5-auth-dialog

It might make sense to either build with debugging symbpols or install
the distro's krb5-auth-dialog-dbsym package.
Cheers,
 -- Guido

> 
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1700468
> 
> Title:
>   "krb5-auth-dialog --auto" segfaults on startup
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/krb5-auth-dialog/+bug/1700468/+subscriptions
>

-- 
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:
  "krb5-auth-dialog --auto" segfaults on startup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/krb5-auth-dialog/+bug/1700468/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs