ddb problems
Michiel Boland
michiel at boland.org
Sun Aug 22 23:57:46 PDT 2004
Hi. I can't seem to get anything useful out of ddb with recent -CURRENTs.
I get things like double faults, page faults, or endless streams of
console messages. Is anyone else seeing this?
Cheers
Michiel
KDB: enter: Line break on console
[thread 100004]
Stopped at kdb_enter+0x2b: nop
db> break flock
db> c
[thread 100073]
Stopped at flock+0x1: movl %esp,%ebp
db> tr
flock(2f,2f,2f,80c80f6,2) at flock+0x1
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (131, FreeBSD ELF32, flock), eip = 0x28282c37, esp = 0xbfbfc03c, ebp = 0xbfbfc068 ---
db> show r
cs 0x8
ds 0x10
es 0x10
fs 0x18
ss 0x10
eax 0xd99acd14
ecx 0
edx 0xc0622cb8 sysent+0x418
ebx 0xc19c71c0
esp 0xd99accf0
ebp 0xd99acd40
esi 0
edi 0xc17c29a0
eip 0xc04954cd flock+0x1
efl 0x246
dr0 0
dr1 0
dr2 0
dr3 0
dr4 0xffff0ff0
dr5 0x400
dr6 0xffff0ff0
dr7 0x400
flock+0x1: movl %esp,%ebp
db> s
[thread 100073]
Stopped at flock+0x3: pushl %edi
db>
[thread 100073]
Stopped at flock+0x4: pushl %esi
db>
[thread 100073]
Stopped at flock+0x5: pushl %ebx
db>
[thread 100073]
Stopped at flock+0x6: subl $0x44,%esp
db>
[thread 100073]
Stopped at flock+0x9: movl 0xc(%ebp),%esi
db>
[thread 100073]
Stopped at flock+0xc: leal 0xffffffb0(%ebp),%eax
db>
[thread 100073]
Stopped at flock+0xf: pushl %eax
db>
[thread 100073]
Stopped at flock+0x10: pushl 0(%esi)
db>
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x2
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc04954dc
stack pointer = 0x10:0xd99acc9c
frame pointer = 0x10:0xd99accf0
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = trace trap, interrupt enabled, resume, IOPL = 0
current process = 659 (sendmail)
[thread 100073]
Stopped at flock+0x10: pushl 0(%esi)
db> show r
cs 0x8
ds 0xc0630010 ip_doopts+0x4
es 0xc05c0010 bios16+0x1fc
fs 0x18
ss 0x10
eax 0xd99acca0
ecx 0
edx 0xc0622cb8 sysent+0x418
ebx 0xc19c71c0
esp 0xd99acc9c
ebp 0xd99accf0
esi 0x2
edi 0xc17c29a0
eip 0xc04954dc flock+0x10
efl 0x10286
dr0 0
dr1 0
dr2 0
dr3 0
dr4 0xffff4ff0
dr5 0x400
dr6 0xffff4ff0
dr7 0x400
flock+0x10: pushl 0(%esi)
More information about the freebsd-current
mailing list