cvs commit: src/include pwd.h src/lib/libc/gen getpwent.c
src/usr.sbin/pwd_mkdb pwd_mkdb.c
Andrey A. Chernov
ache at nagual.pp.ru
Mon Apr 21 06:44:29 PDT 2003
On Mon, Apr 21, 2003 at 08:39:07 -0500, Jacques A. Vidrine wrote:
>
> I suspect that it would be something in getpwent.c:compat_endstate
> (called when a thread which uses getpw* exits), but I don't see an
> obvious problem and I cannot reproduce the crash. Thanks for helping
> me track it down.
Your guess is right. I try to compile getpwent.c as part of application
with -g and got that:
Indexer[26994]: [1] Done (57 seconds)
Program received signal SIGSEGV, Segmentation fault.
0x0804a97e in compat_endstate (p=0x902fce0) at getpwent.c:1383
1383 st->exclude->close(st->exclude);
(gdb) bt
#0 0x0804a97e in compat_endstate (p=0x902fce0) at getpwent.c:1383
#1 0x080da582 in _thread_cleanupspecific ()
#2 0x080e2752 in pthread_exit ()
#3 0x080d9b06 in _thread_start ()
More information about the cvs-src
mailing list