kern/83375: Fatal trap 12 cloning a pty

Marc Olzheim marcolz at stack.nl
Thu Jul 14 13:00:28 GMT 2005


The following reply was made to PR kern/83375; it has been noted by GNATS.

From: Marc Olzheim <marcolz at stack.nl>
To: FreeBSD-gnats-submit at FreeBSD.org, freebsd-bugs at FreeBSD.org
Cc: Marc Olzheim <marcolz at stack.nl>
Subject: Re: kern/83375: Fatal trap 12 cloning a pty
Date: Thu, 14 Jul 2005 14:55:52 +0200

 And another FreeBSD 5.4-STABLE trace, now the 'close()' variant:
 
 Fatal trap 12: page fault while in kernel mode
 cpuid = 2; apic id = 06
 fault virtual address   = 0x3b26cff8
 fault code              = supervisor read, page not present
 instruction pointer     = 0x8:0xc0554a9c
 stack pointer           = 0x10:0xebd4bb48
 frame pointer           = 0x10:0xebd4bb4c
 code segment            = base 0x0, limit 0xfffff, type 0x1b
                         = DPL 0, pres 1, def32 1, gran 1
 processor eflags        = interrupt enabled, resume, IOPL = 0
 current process         = 54879 (screen)
 [thread pid 54879 tid 100324 ]
 Stopped at      0xc0554a9c = ptcclose+0x10:     movl    0xc06fcc80 = linesw(,%eax,4),%eax
 db> tr
 Tracing pid 54879 tid 100324 td 0xc6409600
 ptcclose(c6814a00,7,2000,c6409600,c06fcf40) at 0xc0554a9c = ptcclose+0x10
 spec_close(ebd4bb90,ebd4bbb8,c057e18a,ebd4bb90,c0716660) at 0xc04f0357 = spec_close+0x277
 spec_vnoperate(ebd4bb90) at 0xc04ef49f = spec_vnoperate+0x13
 vn_close(c67bc318,7,c7434900,c6409600,c6409600) at 0xc057e18a = vn_close+0x5a
 vn_closefile(c6ad0d48,c6409600) at 0xc057f05e = vn_closefile+0xaa
 fdrop_locked(c6ad0d48,c6409600,c5628a54,0,c06b951b) at 0xc050b394 = fdrop_locked+0x88
 fdrop(c6ad0d48,c6409600,ffffffdf,80a767c,0) at 0xc050b304 = fdrop+0x24
 closef(c6ad0d48,c6409600,0,c067d1f8,5) at 0xc0509e0f = closef+0x313
 close(c6409600,ebd4bd04,1,1,246) at 0xc050792f = close+0x1a3
 syscall(bfbf002f,2f,bfbf002f,80a5000,80a5000) at 0xc067d05b = syscall+0x227
 Xint0x80_syscall() at 0xc066c95f = Xint0x80_syscall+0x1f
 --- syscall (6, FreeBSD ELF32, close), eip = 0x2816c79b, esp = 0xbfbfd23c, ebp = 0xbfbfd258 ---
 db>


More information about the freebsd-bugs mailing list