Re: page fault on today's CURRENT (tcp_usr_accept)
- From: Ganbold <ganbold@xxxxxxxxxxxxx>
- Date: Mon, 03 Apr 2006 18:53:18 +0900
Robert Watson wrote:
On Mon, 3 Apr 2006, Ganbold wrote:
I've got page fault on today's CURRENT.
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0xa0
fault code = supervisor write, page not present
instructon pointer = 0x20: 0xc062bbde
stack pointer = 0x28: 0xcc8efc10
frame pointer = 0x28: 0xcc8efc2c
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 = 435 (smbd)
[thread pid 435 tid 100039]
stopped at tcp_usr_accept+0xd6: cmpxchgl %ecx, 0xa0(%ebx)
I'm running samba (samba-3.0.21b,1) on this test machine and there is no load.
FreeBSD gw.micom.mng.net 7.0-CURRENT FreeBSD 7.0-CURRENT #16: Mon Apr 3 14:15:48 ULAST 2006 tsgan@xxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/GW i386
Is there any chance you can extract a stack trace, as well as file names and line numbers for the trace? If you have a core, could I get you to dump the state from the relevant frames? The above looks like a NULL pointer derefernece in tcp_usr_accept(). Since I've moderately exercised the accept() path on TCP, it's presumably a race condition of some sort.
When I try to browse samba directory from network, above error occurs and the trace is:
db>trace
Tracing pid 1051 tid 100053 td 0xc224fbd0
tcp_usr_accept(c23d167c,cc916c54,cc916c58,cc916c7c,c05a8398) at tcp_usr_accept+0xd6
soaccept(c23d176c,cc916c54,c24f5300,0,0) at soaccept+0x7d
accept1(c224fbd0,cc916d04,0,cc916d30,c06da93e) at accept1+0x458
accept(c224fbd0, cc916d04,3,246,c077bce8) at accept+0x10
syscall(849003b,849003b,bfbf003b,0,15) at syscall+0x2ee
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (30, FreeBSD ELF32, accept), eip = 0x28715a33, esp = 0xbfbfd91c,
ebp = 0xbfbfec28 ---
Ganbold
Thanks!
Robert N M Watson
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
- References:
- page fault on today's CURRENT (tcp_usr_accept)
- From: Ganbold
- Re: page fault on today's CURRENT (tcp_usr_accept)
- From: Robert Watson
- page fault on today's CURRENT (tcp_usr_accept)
- Prev by Date: Re: BGP: can't set sockopt TCP_MD5SIG 0 to socket 16
- Next by Date: Re: page fault on today's CURRENT (tcp_usr_accept)
- Previous by thread: Re: page fault on today's CURRENT (tcp_usr_accept)
- Next by thread: Re: page fault on today's CURRENT (tcp_usr_accept)
- Index(es):
Relevant Pages
|
|