Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
apply_utmp (fptr=0x80b1220 <full_utmp>, maxcount=0,
userid=0xbffff938 "MeltingHeart", arg=0x811e604) at utmp.c:573
573 if ((utmpshm->uinfo[i - 1].active) && (!strcasecmp(utmpshm->uinfo[i - 1].userid, userid))) {
(gdb) l
568
569 num = 0;
570 hashkey = utmp_hash(userid);
571 i = utmphead->hashhead[hashkey];
572 while (i) {
573 if ((utmpshm->uinfo[i - 1].active) && (!strcasecmp(utmpshm->uinfo[i - 1].userid, userid))) {
574 int ret;
575
576 if (fptr) {
577 ret = (*fptr) (&utmpshm->uinfo[i - 1], arg, i);
(gdb) bt
#0 apply_utmp (fptr=0x80b1220 <full_utmp>, maxcount=0,
userid=0xbffff938 "MeltingHeart", arg=0x811e604) at utmp.c:573
#1 0x080c64f4 in apply_utmpuid (fptr=0x80b1220 <full_utmp>, uid=2461, arg=0x811e604)
at utmp.c:561
#2 0x080b138d in fill_userlist () at list.c:188
#3 0x080b19d8 in show_userlist () at list.c:383
#4 0x080b2e32 in choose (update=1, defaultn=0, title_show=0x80b0ef0 <print_title>,
key_deal=0x80b1adc <deal_key>, list_show=0x80b19b0 <show_userlist>,
read=0x80b2938 <do_query>) at list.c:926
#5 0x080b2c92 in t_friends () at list.c:869
#6 0x080bb926 in main_bbs (convit=0, argv=0xbffffef7 "bbsd:spider")
at newmain_single.c:1161
#7 0x080b4b18 in bbs_main (argv=0xbffffef7 "bbsd:spider") at bbsd_single.c:649
#8 0x080b4ca9 in bbs_standalone_main (argv=0xbffffef7 "bbsd:spider")
at bbsd_single.c:728
#9 0x080b4e1f in main (argc=3, argv=0xbffffe24) at bbsd_single.c:834
--
修改:undeader FROM 210.30.17.*
FROM 210.30.17.*