Package: fam
Version: 2.7.0-6
Followup-For: Bug #241143
I'm not sure where the bug here, maybe in libc6 (libnss) maybe in fam,
but this "Address out of bound" message surely indicates the address
shouldn't be dereferenced by strcmp. I tried playing in Cred.c++
(forcing a user pwd->pwname , with the same result.
What seems strange is that from #5 to #1, the address seems to resolve
ok, but in #0 and #6, the address is out of bounds...
anyway here is a dump ...
(gdb) run -T 0 -f -C
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/local/sbin/famd -T 0 -f -C
Program received signal SIGSEGV, Segmentation fault.
strcmp (p1=0x6b0000 <Address 0x6b0000 out of bounds>, p2=0x8074048
"isabellf")
at ../sysdeps/generic/strcmp.c:38
38 ../sysdeps/generic/strcmp.c: No such file or directory.
in ../sysdeps/generic/strcmp.c
(gdb) backtrace
#0 strcmp (p1=0x6b0000 <Address 0x6b0000 out of bounds>,
p2=0x8074048 "isabellf")
at ../sysdeps/generic/strcmp.c:38
#1 0x4001d961 in check_and_add_group (user=0x8074048
"isabellf", group=100, start=0xbffff96c,
size=0xbffff9a4, groupsp=0xbffff9a8, limit=-1,
grp=0xbffff44c) at nss_compat/compat-initgroups.c:192
#2 0x4001dbe0 in getgrent_next_nss(ent=0xbffff910, buffer=0xbffff500
"+",buflen=1024,
user=0x8074048 "isabellf", group=100, start=0xbffff96c, size=0xbffff9a4,
groupsp=0xbffff9a8, limit=-1, errnop=0x4023fc40) at
nss_compat/compat-initgroups.c:280
#3 0x4001de96 in internal_getgrent_r(ent=0xbffff910, buffer=0xbffff500 "+",
buflen=1024,user=0x8074048 "isabellf", group=100, start=0xbffff96c,
size=0xbffff9a4, groupsp=0xbffff9a8, limit=-1, errnop=0x4023fc40) at
nss_compat/compat-initgroups.c:393
#4 0x4001dfd4 in _nss_compat_initgroups_dyn(user=0x8074048 "isabellf",
group=100, start=0xbffff96c, size=0xbffff9a4, groupsp=0xbffff9a8,
limit=-1, errnop=0x4023fc40) at nss_compat/compat-initgroups.c:422
#5 0x401b53f4 in internal_getgrouplist(user=0x8074048
"isabellf", group=100,size=0xbffff9a4, groupsp=0xbffff9a8, limit=-1) at
initgroups.c:175
#6 0x401b5533 in getgrouplist (user=0x6b0000 <Address 0x6b0000 out of bounds>,
group=7012352,groups=0x8073fc0,ngroups=0xbffff9f4)at initgroups.c:210
#7 0x0804aea7 in Cred (this=0xbffffa20,u=1000,sockfd=9) at Cred.c++:75
#8 0x08052ab6 in Listener::accept_localclient(ofd=8) at Listener.c++:312
#9 0x0805c8c1 in Scheduler::handle_io (fds=0xbffffbb0,
iotype=&Scheduler::FDInfo::read) at Scheduler.c++:315
#10 0x0805c9ad in
Scheduler::select () at Scheduler.c++:343
#11 0x08060f91 in Scheduler::loop () at Scheduler.h:89
#12 0x0806088b in main (argc=5, argv=0xbffffd84) at main.c++:290
(gdb) quit
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.29xfs
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages fam depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libgcc1 1:3.4.3-13 GCC support library
ii libstdc++5 1:3.3.5-13 The GNU Standard C++ Library v3
ii portmap 5-9 The RPC portmapper
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]