udp mpsafe
Peter Avalos
peter at theshell.com
Sun Jan 16 16:01:05 PST 2011
On Tue, Jan 11, 2011 at 07:30:12PM -0800, Matthew Dillon wrote:
> :Hi all,
> :
> :Please review the devel^2 ~ devel^5 (inclusive) at:
> :http://gitweb.dragonflybsd.org/~sephe/dragonfly.git/shortlog/refs/heads/devel
> :
> :Best Regards,
> :sephe
>
> I'm going to ask Peter to run your fixes on theshell. He's been having
> UDP-related kqueue issues which might be fixed by this.
>
Within a few minutes of booting the system, I got this panic:
panic: assertion: &curthread->td_msgport == cpu_portfn(0) in
udp_ctlinput
(kgdb) bt
#0 _get_mycpu (di=0xc06b4220) at ./machine/thread.h:83
#1 md_dumpsys (di=0xc06b4220) at /usr/src/sys/platform/pc32/i386/dump_machdep.c:263
#2 0xc01ab4a2 in dumpsys () at /usr/src/sys/kern/kern_shutdown.c:881
#3 0xc01aba62 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:388
#4 0xc01abd09 in panic (fmt=0xc03e410c "assertion: %s in %s") at /usr/src/sys/kern/kern_shutdown.c:787
#5 0xc0276871 in udp_ctlinput (msg=0xd6eb6bdc) at /usr/src/sys/netinet/udp_usrreq.c:674
#6 0xc0227214 in netmsg_service_loop (arg=0x0) at /usr/src/sys/net/netisr.c:306
#7 0xc01b4be4 in lwkt_deschedule_self (td=Cannot access memory at address 0x8
) at /usr/src/sys/kern/lwkt_thread.c:276
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Files can be downloaded from:
http://www.theshell.com/~pavalos/crash/crash9.tar.xz
--Peter
Attachment:
pgp00000.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00000.pgp
Type: application/octet-stream
Size: 198 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/kernel/attachments/20110116/320c1f7f/attachment-0020.obj>
More information about the Kernel
mailing list