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

Bug#226515: NIS segfault



Hello,

I'm hitting the FAM bug here, too. I've tried to follow your debugging guide. 
Maybe it helps...

-Malte

druckerei:~# gdb /usr/sbin/famd
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
 are
welcome to change it and/or distribute copies of it under certain condit
ions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for detai
ls.
This GDB was configured as "i386-linux"...(no debugging symbols found)
Using host libthread_db library "/usr/lib/debug/libthread_db.so.1".

(gdb) run -T 0 -d
Starting program: /usr/sbin/famd -T 0 -d
(no debugging symbols found)
(no debugging symbols found)
famd[7138]: log level is LOG_DEBUG
famd[7138]: read /etc/fam.conf line 13: "insecure_compatibility" = "fals
e"
famd[7138]: read /etc/fam.conf line 20: "untrusted_user" = "nobody"
famd[7138]: read /etc/fam.conf line 28: "local_only" = "true"
famd[7138]: read /etc/fam.conf line 35: "xtab_verification" = "true"
famd[7138]: Setting untrusted-user to "nobody" (uid: 65534, gid: 65534)
famd[7138]: listening for clients on descriptor 6
famd[7138]: client fd 7 is local/untrusted.
famd[7138]: new connection from client 7
famd[7138]: client 7 said: client 7 is sockmeister, and wants a unix domain 
socket
famd[7138]: Setting groups to: (none)
famd[7138]: Setting egid to 0
famd[7138]: Skipping setting euid, because it's already 0
famd[7138]: client sockmeister said uid 1075; creating /tmp/.famDmdwB1
famd[7138]: listening for requests for uid 1075 on descriptor 8 
(/tmp/.famDmdwB1)
famd[7138]: client fd 9 is local/trusted (socket /tmp/.famDmdwB1, uid 1075).

Program received signal SIGSEGV, Segmentation fault.
0x40006b66 in getgrent_next_nss (ent=0xbffff840,
    buffer=0xbffff430 "+", buflen=1024, user=0x806e688 "mcornils",
    group=10, start=0xbffff89c, size=0xbffff8d4, groupsp=0xbffff8d8,
    limit=-1, errnop=0x401699a0) at nss_compat/compat-initgroups.c:266
266     nss_compat/compat-initgroups.c: Datei oder Verzeichnis nicht gefunden.
        in nss_compat/compat-initgroups.c
(gdb) bt
#0  0x40006b66 in getgrent_next_nss (ent=0xbffff840,
    buffer=0xbffff430 "+", buflen=1024, user=0x806e688 "mcornils",
    group=10, start=0xbffff89c, size=0xbffff8d4, groupsp=0xbffff8d8,
    limit=-1, errnop=0x401699a0) at nss_compat/compat-initgroups.c:266
#1  0x40006e96 in internal_getgrent_r (ent=0xbffff840,
    buffer=0xbffff430 "+", buflen=1024, user=0x806e688 "mcornils",
    group=10, start=0xbffff89c, size=0xbffff8d4, groupsp=0xbffff8d8,
    limit=-1, errnop=0x401699a0) at nss_compat/compat-initgroups.c:393
#2  0x40006fd4 in _nss_compat_initgroups_dyn (
    user=0x806e688 "mcornils", group=10, start=0xbffff89c,
    size=0xbffff8d4, groupsp=0xbffff8d8, limit=-1, errnop=0x401699a0)
    at nss_compat/compat-initgroups.c:422
#3  0x400df304 in internal_getgrouplist (user=0x806e688 "mcornils",
    group=10, size=0xbffff8d4, groupsp=0xbffff8d8, limit=-1)
    at initgroups.c:175
#4  0x400df443 in getgrouplist (
    user=0x388 <Address 0x388 out of bounds>, group=904,
    groups=0x8072868, ngroups=0xbffff908) at initgroups.c:210
#5  0x0804ad56 in ?? ()
#6  0x0805110d in ?? ()
#7  0x08059324 in __assert ()
#8  0x08059401 in __assert ()
#9  0x0805c45e in __assert ()
---Type <return> to continue, or q <return> to quit---  
#10 0x4004fdc6 in __libc_start_main (main=0x805c240 <__assert+37984>,
    argc=4, ubp_av=0xbffffc84, init=0x805dc10 <__assert+44592>,
    fini=0x805dc70 <__assert+44688>,
    rtld_fini=0x47e154a0 <_rtld_local>, stack_end=0x0)
    at ../sysdeps/generic/libc-start.c:242
#11 0x08049d51 in ?? ()



Reply to: