Red Hat Bugzilla – Bug 707145
[abrt] krb5-workstation-1.8.2-10.fc14: strcmp: Process /usr/bin/klist was killed by signal 11 (SIGSEGV)
Last modified: 2011-07-06 17:34:31 EDT
abrt version: 1.1.18
Attached file: backtrace, 59856 bytes
cmdline: klist -s
Attached file: coredump, 548864 bytes
reason: Process /usr/bin/klist was killed by signal 11 (SIGSEGV)
release: Fedora release 14 (Laughlin)
Note that klist without arguments works as expected:
Ticket cache: FILE:/tmp/krb5cc_500
Default principal: sheldonh/root@HOST-H.NET
Valid starting Expires Service principal
05/23/11 09:35:37 05/24/11 09:35:32 krbtgt/HOST-H.NET@HOST-H.NET
It's only klist -s that crashes.
How to reproduce
1. kinit sheldonh/root
2. Wait for ticket to expire
3. klist -s
Created attachment 500559 [details]
Do you have the core dump from this crash? When I get a TGT for nalin/admin here, and wait for it to expire, I don't see a crash. Based on the partial klist output you gave above, the strcmp() call should be comparing two non-empty, correctly terminated strings, so it really shouldn't be triggering a segfault there. Additionally, just to rule out any variation, are you also using glibc-2.13-1.x86_64?
Thanks for your interest in this issue.
I installed some more debuginfo files, obtained a core file, and traced it. I'll attach the compressed core file and the trace.
I've also confirmed that I'm using glibc-devel-2.13-1.x86_64.
Created attachment 500751 [details]
core dump of segfaulting klist -s
Created attachment 500753 [details]
Ah, I see what's going on now. The klist output was truncated at the interesting part: the crash is happening while examining credentials for "host/vcs.hetzner.co.za" with no realm name, which suggests that referrals were involved in getting the ticket for that server, and that's something that the KDC I usually use doesn't support yet. With a one-off test KDC, it was pretty easy to reproduce.
krb5-1.8.4-2.fc14 has been submitted as an update for Fedora 14.
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing krb5-1.8.4-2.fc14'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
krb5-1.8.4-2.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.