Subject: port-i386/9368: i386 kernel trap in gdt_compact()
To: None <gnats-bugs@gnats.netbsd.org>
From: None <cgd@netbsd.org>
List: netbsd-bugs
Date: 02/07/2000 12:24:38
>Number:         9368
>Category:       port-i386
>Synopsis:       i386 kernel trap in gdt_compact()
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-i386-maintainer (NetBSD/i386 Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb  7 12:24:00 2000
>Last-Modified:
>Originator:     Chris Demetriou
>Organization:
>Release:        1.4-branch sources (post 1.4.1) from mid-September, 1999
>Environment:
NetBSD bacon 1.4.1 NetBSD 1.4.1 (GENERIC_CGD) #16: Thu Sep 16 18:52:54 PDT 1999     cgd@bacon.:/a/src/src-1-4-branch/sys/arch/i386/compile/GENERIC_CGD i386
>Description:
i386 kernel crashed while compiling kde.  looks like pkgsrc went
nuts spawning recursive shells/sub-makes, and the system ran
out of processes according to the dmesg output.  Then it trapped,
and dumped core.

dmesg output from right before death:

proc: table is full
proc: table is full
proc: table is full
fatal page fault in supervisor mode
trap type 6 code 0 eip f0233c98 cs 8 eflags 10286 cr2 fccd2068 cpl 0
panic: trap
syncing disks... 24 24 18 2 done

that eip is in gdt_compact().

>How-To-Repeat:
Unknown.  Run out of processes on an i386 system?  I'm gonna try
it again, with a kernel from the latest 1.4-branch sources.

More details available upon request, including kcore to trustable
hackers, if need be.
>Fix:
unknown.

>Audit-Trail:
>Unformatted: