I'm afraid I see the same failure mode with 3.20. The GDB session is

(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 gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from 
(gdb) r
Starting program: /tmp/krb5-auth-dialog-3.20.0/_build/src/krb5-auth-dialog 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe9bf6700 (LWP 5105)]
[New Thread 0x7fffe93f5700 (LWP 5106)]
[New Thread 0x7fffe895a700 (LWP 5107)]
[New Thread 0x7fffdbdb9700 (LWP 5108)]

Thread 1 "krb5-auth-dialo" received signal SIGSEGV, Segmentation fault.
0x00007ffff7928b8f in krb5_cc_resolve (context=0x99df40, 
    name=0x95a130 "Broadway", id=0x7fffffffda90) at cache.c:270
270     cache.c: No such file or directory.
(gdb) bt
#0  0x00007ffff7928b8f in krb5_cc_resolve (context=0x99df40, 
    name=0x95a130 "Broadway", id=0x7fffffffda90) at cache.c:270
#1  0x0000000000409aae in ka_get_tgt_from_ccache (context=0x99df40, 
    creds=0x7fffffffdb90) at ../../src/ka-kerberos.c:897
#2  0x000000000040804c in credentials_expiring_real (applet=0x6c7190)
    at ../../src/ka-kerberos.c:227
#3  0x0000000000408c2e in credentials_expiring (data=0x6c7190)
    at ../../src/ka-kerberos.c:531
#4  0x0000000000408cc7 in credentials_expiring_once (data=0x6c7190)
    at ../../src/ka-kerberos.c:547
#5  0x00007ffff604e04a in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007ffff604e3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007ffff604e49c in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007ffff6615e30 in g_application_run ()
   from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#9  0x000000000040cd28 in main (argc=2, argv=0x7fffffffdf18)
    at ../../src/ka-applet.c:1252
(gdb) up
#1  0x0000000000409aae in ka_get_tgt_from_ccache (context=0x99df40, 
    creds=0x7fffffffdb90) at ../../src/ka-kerberos.c:897
897         if (krb5_cc_default (context, &ccache))
(gdb) p kcontext_valid
$1 = 0

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  "krb5-auth-dialog --auto" segfaults on startup

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to