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

segmentation fault



Hello,

it is not just libpam-heimdal that causes this segment fault: telnetd
does, too.

gdb shows:

Program received signal SIGSEGV, Segmentation fault.
0x402562ab in malloc () from /lib/libc.so.6
(gdb) bt
#0  0x402562ab in malloc () from /lib/libc.so.6
#1  0x40255964 in malloc () from /lib/libc.so.6
#2  0x4024f712 in vasprintf () from /lib/libc.so.6
#3  0x4002c6dd in krb5_vset_error_string (context=0x8065710, 
    fmt=0x4004187e "malloc: out of memory", args=0xbffff98c)
    at error_string.c:75
#4  0x4002c6a1 in krb5_set_error_string (context=0x8065710, 
    fmt=0x4004187e "malloc: out of memory") at error_string.c:65
#5  0x4003302e in any_start_seq_get (context=0x8065710, id=0x80658e0, 
    c=0xbffffa10) at keytab_any.c:145
#6  0x40032c46 in krb5_kt_start_seq_get (context=0x8065710, id=0x80658e0, 
    cursor=0xbffffa10) at keytab.c:381
#7  0x8051c5f in kerberos5_init (ap=0x8057ef8, server=1) at kerberos5.c:161
#8  0x804f8ee in auth_init (name=0x8053d7f "TELNETD", server=1) at auth.c:231
#9  0x8052d49 in auth_encrypt_init (local=0x805d440 "scrooge", 
    remote=0x805b380 "127.0.0.1", name=0x8053d7f "TELNETD", server=1)
    at misc.c:62
#10 0x804b06b in doit (who=0xbffffbfc, who_len=16) at telnetd.c:733
#11 0x804a98a in main (argc=3, argv=0xbffffcec) at telnetd.c:447
#12 0x4020238b in __libc_start_main () from /lib/libc.so.6

I haven't had time to investigate yet. I don't believe that message,
"out of memory", either, this computer has 256Mb RAM + 500Mb swap.
-- 
Brian May <bam@snoopy.apana.org.au>