From owner-freebsd-stable Fri Nov 22 9:48:23 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 927EE37B401 for ; Fri, 22 Nov 2002 09:48:21 -0800 (PST) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC84143E91 for ; Fri, 22 Nov 2002 09:48:17 -0800 (PST) (envelope-from langd@informatik.tu-muenchen.de) Received: from mailrelay1.informatik.tu-muenchen.de (mailrelay1.informatik.tu-muenchen.de [131.159.254.5]) by mailout.informatik.tu-muenchen.de (Postfix) with ESMTP id E3690612B for ; Fri, 22 Nov 2002 18:48:12 +0100 (MET) Received: from atrbg11.informatik.tu-muenchen.de (atrbg11.informatik.tu-muenchen.de [131.159.42.129]) by mailrelay1.informatik.tu-muenchen.de (Postfix) with ESMTP id D308E7942 for ; Fri, 22 Nov 2002 18:48:12 +0100 (MET) Received: by atrbg11.informatik.tu-muenchen.de (Postfix, from userid 20455) id ED02C13AE7; Fri, 22 Nov 2002 18:48:11 +0100 (CET) Date: Fri, 22 Nov 2002 18:48:11 +0100 From: Daniel Lang To: freebsd-stable@freebsd.org Subject: Problem with recent stable Message-ID: <20021122174811.GA49120@atrbg11.informatik.tu-muenchen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Geek: GCS/CC d-- s: a- C++$ UBS++++$ P+++$ L- E-(---) W+++(--) N++ o K w--- O? M? V? PS+(++) PE--(+) Y+ PGP+ t++ 5+++ X R+(-) tv+ b+ DI++ D++ G++ e+++ h---(-) r++>+++ y+ User-Agent: Mutt/1.5.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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