Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2002 18:48:11 +0100
From:      Daniel Lang <dl@leo.org>
To:        freebsd-stable@freebsd.org
Subject:   Problem with recent stable
Message-ID:  <20021122174811.GA49120@atrbg11.informatik.tu-muenchen.de>

next in thread | raw e-mail | index | archive | help
Hi,

I've just upgraded our IRCnet ircd Box to 4.7-STABLE,
after that, ircd won't run again. I even recompiled it
completely, it always coredumps.

Here is backtrace:

#0  0x2815548f in isatty () from /usr/lib/libc.so.4
#1  0x28155569 in isatty () from /usr/lib/libc.so.4
#2  0x28155c81 in malloc () from /usr/lib/libc.so.4
#3  0x2814e249 in calloc () from /usr/lib/libc.so.4
#4  0x28146ea7 in __hash_open () from /usr/lib/libc.so.4
#5  0x28146deb in dbopen () from /usr/lib/libc.so.4
#6  0x2811a4db in endpwent () from /usr/lib/libc.so.4
#7  0x2811a2d6 in getpwuid () from /usr/lib/libc.so.4
#8  0x80574cb in setup_me (mp=0x80aa0c0) at ../ircd/ircd.c:545
#9  0x8057efe in main (argc=0, argv=0xbfbffc58) at ../ircd/ircd.c:913
#10 0x8049a46 in _start ()

Since the crash seems to happen somewhere in isatty(), I suspect
it's a problem with the system. Also it could be that the 
database is somehow corrupt, but strange enough the rest of
the system seems to behave normal. 

There is one other oddity on this System:

atleo3:~#pwd_mkdb -C /etc/passwd
pwd_mkdb: corrupted entry
pwd_mkdb: at line #3
pwd_mkdb: /etc/passwd: Inappropriate file type or format

but line 3 is perfectly ok:
[..]
atleo3:~#head -3 /etc/passwd 
# $FreeBSD: src/etc/master.passwd,v 1.25.2.6 2002/06/30 17:57:17 des Exp $
#
root:*:0:0:Charlie Root:/root:/bin/csh
[..]

And 'vipw' seems to work without errors. But of course, I cannot
verfify the contents of the .db files.

Here are more System details:

FreeBSD atleo3.leo.org 4.7-STABLE FreeBSD 4.7-STABLE #10: Fri Nov 22 16:08:43 CET 2002     root@:/usr/obj/usr/src/sys/ATLEO3  i386

So this was build just today.

Any help greatly appreciated.

Best regards,
 Daniel
-- 
IRCnet: Mr-Spock                        - Der Zweite Platz ist Dreck -
 Daniel Lang * dl@leo.org * +49 89 289 18532 * http://www.leo.org/~dl/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021122174811.GA49120>