cvs commit: src/include pwd.h src/lib/libc/gen getpwent.c src/usr.sbin/pwd_mkdb pwd_mkdb.c

Jacques A. Vidrine nectar at FreeBSD.org
Mon Apr 21 06:15:15 PDT 2003


On Mon, Apr 21, 2003 at 01:46:04PM +0400, Andrey A. Chernov wrote:
> On Mon, Apr 21, 2003 at 12:12:09 +0400, Andrey A. Chernov wrote:
> > On Sun, Apr 20, 2003 at 18:00:00 -0500, Jacques A. Vidrine wrote:
> > > 
> > > It happens that I don't use BIND8, so I missed this issue.  It
> > 
> > Another issue with "mnogosearch" port. After indexing is done, its
> > "indexer" program now always get "Segmentation fault" in getpwent() (as
> > gdb shows). "indexer" is threaded and linked with libc_r. Segfault never
> > happens before.
> 
> More details:
> 
> Indexer[23782]: [1] Done (3 seconds)
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x2829b57c in getpwent () from /usr/lib/libc.so.5
> (gdb) bt
> #0  0x2829b57c in getpwent () from /usr/lib/libc.so.5
> #1  0x282231f1 in _thread_cleanupspecific () from /usr/lib/libc_r.so.5
> #2  0x2822d512 in pthread_exit () from /usr/lib/libc_r.so.5
> #3  0x28221466 in _thread_start () from /usr/lib/libc_r.so.5

Hi Andrey,

I cannot reproduce this here.

  gdb> run -a
  Indexer[60952]: indexer from mnogosearch-3.1.20/UdmDB started with '/usr/local/etc/mnogosearch/indexer.conf
  Indexer[60952]: [1] Done (314 seconds)

  Program exited normally
  gdb>

Could you provide the following?

  .. your nsswitch.conf, if any
  .. any +, - entries in passwd(5) or group(5)
  .. if at all possible, a backtrace with debug symbols

Cheers,
-- 
Jacques A. Vidrine <nectar at celabo.org>          http://www.celabo.org/
NTT/Verio SME          .     FreeBSD UNIX     .       Heimdal Kerberos
jvidrine at verio.net     .  nectar at FreeBSD.org  .          nectar at kth.se


More information about the cvs-src mailing list