[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

segfault with heimdal-0.5.1



Hello,

I've got some trouble with (the strangely named) heimdal-0.5.1.

The binaries are built in a Red Hat 8.0 using the gcc 3.2 that comes
with the dist. When I try to run an app there is a segfault. For
example:

# /usr/heimdal/bin/klist
Segmentation fault


An strace will end with the following:
# strace /usr/heimdal/bin/klist
[ ... ]
munmap(0x40070000, 124513)              = 0
time(NULL)                              = 1035812647
brk(0)                                  = 0x804b504
brk(0x804c504)                          = 0x804c504
brk(0x804d000)                          = 0x804d000
getuid32()                              = 0
geteuid32()                             = 0
getgid32()                              = 0
getegid32()                             = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
#

The complete output from the strace is attached.


Does anybody else have this problem? How can it be solved?


I'm greatful for any ideas!

TIA Pär Aronsson


execve("/usr/heimdal/bin/klist", ["/usr/heimdal/bin/klist"], [/* 26 vars */]) = 0
uname({sys="Linux", node="hallf-linux", ...}) = 0
brk(0)                                  = 0x804b504
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/heimdal/lib/i686/mmx/libkafs.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/heimdal/lib/i686/mmx", 0xbfffef10) = -1 ENOENT (No such file or directory)
open("/usr/heimdal/lib/i686/libkafs.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/heimdal/lib/i686", 0xbfffef10) = -1 ENOENT (No such file or directory)
open("/usr/heimdal/lib/mmx/libkafs.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/heimdal/lib/mmx", 0xbfffef10) = -1 ENOENT (No such file or directory)
open("/usr/heimdal/lib/libkafs.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\203\0"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=442747, ...}) = 0
old_mmap(NULL, 133892, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40013000
mprotect(0x4002e000, 23300, PROT_NONE)  = 0
old_mmap(0x4002e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1b000) = 0x4002e000
old_mmap(0x40030000, 15108, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40030000
close(3)                                = 0
open("/usr/heimdal/lib/libkrb5.so.17", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\352"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=3740744, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40034000
old_mmap(NULL, 240096, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40035000
mprotect(0x4006d000, 10720, PROT_NONE)  = 0
old_mmap(0x4006d000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x38000) = 0x4006d000
close(3)                                = 0
open("/usr/heimdal/lib/libcrypto.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=124513, ...}) = 0
old_mmap(NULL, 124513, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40070000
close(3)                                = 0
open("/lib/libcrypto.so.2", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240S\2"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=990234, ...}) = 0
old_mmap(NULL, 867428, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4008f000
mprotect(0x40154000, 60516, PROT_NONE)  = 0
old_mmap(0x40154000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xc5000) = 0x40154000
old_mmap(0x40160000, 11364, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40160000
close(3)                                = 0
open("/usr/heimdal/lib/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libresolv.so.2", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360&\0"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=69434, ...}) = 0
old_mmap(NULL, 73604, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40163000
mprotect(0x40172000, 12164, PROT_NONE)  = 0
old_mmap(0x40172000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xe000) = 0x40172000
old_mmap(0x40173000, 8068, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40173000
close(3)                                = 0
open("/usr/heimdal/lib/libasn1.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@R\0\000"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1000222, ...}) = 0
old_mmap(NULL, 128588, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40175000
mprotect(0x40194000, 1612, PROT_NONE)   = 0
old_mmap(0x40194000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1f000) = 0x40194000
close(3)                                = 0
open("/usr/heimdal/lib/libroken.so.16", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0D;\0\000"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1224066, ...}) = 0
old_mmap(NULL, 68016, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40195000
mprotect(0x401a5000, 2480, PROT_NONE)   = 0
old_mmap(0x401a5000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xf000) = 0x401a5000
close(3)                                = 0
open("/usr/heimdal/lib/libcom_err.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\n\0"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=53113, ...}) = 0
old_mmap(NULL, 4648, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x401a6000
mprotect(0x401a7000, 552, PROT_NONE)    = 0
old_mmap(0x401a7000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x401a7000
close(3)                                = 0
open("/usr/heimdal/lib/libdb-4.0.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libdb-4.0.so", O_RDONLY)     = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\27"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0555, st_size=760175, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401a8000
old_mmap(NULL, 686348, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x401a9000
mprotect(0x4024f000, 6412, PROT_NONE)   = 0
old_mmap(0x4024f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xa5000) = 0x4024f000
close(3)                                = 0
open("/usr/heimdal/lib/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libcrypt.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\n\0"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=22351, ...}) = 0
old_mmap(NULL, 182044, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40251000
mprotect(0x40256000, 161564, PROT_NONE) = 0
old_mmap(0x40256000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0x40256000
old_mmap(0x40257000, 157468, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40257000
close(3)                                = 0
open("/usr/heimdal/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/i686/libc.so.6", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220Y\1"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1395734, ...}) = 0
old_mmap(0x42000000, 1239844, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x42000000
mprotect(0x42126000, 35620, PROT_NONE)  = 0
old_mmap(0x42126000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x126000) = 0x42126000
old_mmap(0x4212b000, 15140, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4212b000
close(3)                                = 0
open("/usr/heimdal/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/heimdal/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\30"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=11314, ...}) = 0
old_mmap(NULL, 11304, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4027e000
mprotect(0x40280000, 3112, PROT_NONE)   = 0
old_mmap(0x40280000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x40280000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40281000
mprotect(0x4008f000, 806912, PROT_READ|PROT_WRITE) = 0
mprotect(0x4008f000, 806912, PROT_READ|PROT_EXEC) = 0
mprotect(0x40035000, 229376, PROT_READ|PROT_WRITE) = 0
mprotect(0x40035000, 229376, PROT_READ|PROT_EXEC) = 0
mprotect(0x40013000, 110592, PROT_READ|PROT_WRITE) = 0
mprotect(0x40013000, 110592, PROT_READ|PROT_EXEC) = 0
munmap(0x40070000, 124513)              = 0
time(NULL)                              = 1035812391
brk(0)                                  = 0x804b504
brk(0x804c504)                          = 0x804c504
brk(0x804d000)                          = 0x804d000
getuid32()                              = 0
geteuid32()                             = 0
getgid32()                              = 0
getegid32()                             = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++