From owner-freebsd-hackers Sat Feb 24 06:51:35 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA08344 for hackers-outgoing; Sat, 24 Feb 1996 06:51:35 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA08334 for ; Sat, 24 Feb 1996 06:51:17 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id BAA07462; Sun, 25 Feb 1996 01:46:47 +1100 Date: Sun, 25 Feb 1996 01:46:47 +1100 From: Bruce Evans Message-Id: <199602241446.BAA07462@godzilla.zeta.org.au> To: freebsd-hackers@FreeBSD.ORG, j@uriah.heep.sax.de Subject: Re: Whither ddb Sender: owner-hackers@FreeBSD.ORG Precedence: bulk >Debugger("serial console break") >Stopped at _Debugger+0x2b: movb $0,_in_Debugger.110 >db> x curproc >_curproc: f0434200 >db> c >clearing /tmp >recording kernel -c changes >starting system daemons: syslogd. >starting network daemons: named portmap inetd. >load: 0.76 cmd: dev_mkdb 76 [biowait] 0.16u 0.16s 0% 420k >standard daemons: cron printer sendmail. >setting ldconfig path: /usr/lib /usr/X11R6/lib /usr/local/lib >Debugger(" >Fatal trap 9: general protection fault while in kernel mode >instruction pointer = 0x8:0xf0102ce5 >code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 >processor eflags = resume, IOPL = 0 >current process = 93 (ldconfig) >interrupt mask = >kernel: type 9 trap, code=0 >Stopped at _db_printf_guts+0x335: repne scasb (%esi) >*** arrgh. what you see here looks like a kernel bug :-(( *** >Does anybody know offhand why dp_printf_guts() might cause a general >protection fault? (#GP -- sounds like winglows, eh! :) Probably a bad pointer. Entering ddb with the serial console break is apparently unsafe. ddb needs to run with interrupts disabled since its caller needs them disabled , but this isn't guaranteed. Bruce