panic: assertion: so->so_port == &curthread->td_msgport in tcp_input

Sepherosa Ziehau sepherosa at gmail.com
Sat Feb 19 07:05:55 PST 2011


On Sat, Feb 19, 2011 at 5:26 PM, Peter Avalos <peter at theshell.com> wrote:
> I got this panic today on a box running master from Feb. 4th:
>
> panic: assertion: so->so_port == &curthread->td_msgport in tcp_input
>
> (kgdb) bt
> #0  _get_mycpu (di=0xc0400c80) at ./machine/thread.h:83
> #1  md_dumpsys (di=0xc0400c80) at /usr/src/sys/platform/pc32/i386/dump_machdep.c:264
> #2  0xc0197de2 in dumpsys () at /usr/src/sys/kern/kern_shutdown.c:893
> #3  0xc01983a2 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:388
> #4  0xc019866d in panic (fmt=0xc03525b8 "assertion: %s in %s") at /usr/src/sys/kern/kern_shutdown.c:799
> #5  0xc022a433 in tcp_input (mp=0xd8a5ecb4, offp=0xd8a5ecb0, proto=6) at /usr/src/sys/netinet/tcp_input.c:1094
> #6  0xc0223884 in transport_processing_oncpu (m=0x0, hlen=20, ip=0xe6f93010) at /usr/src/sys/netinet/ip_input.c:396
> #7  0xc0225655 in ip_input (m=0xe09a5600) at /usr/src/sys/netinet/ip_input.c:961
> #8  0xc022567d in ip_input_handler (msg=0xe09a561c) at /usr/src/sys/netinet/ip_input.c:417
> #9  0xc0215750 in netmsg_service_loop (arg=0x0) at /usr/src/sys/net/netisr.c:307
> #10 0xc01a1580 in lwkt_deschedule_self (td=Cannot access memory at address 0x8
> ) at /usr/src/sys/kern/lwkt_thread.c:276
>
> It happens when I restart nginx.  I tried killing nginx, then waiting for
> about 3 minutes.  A few seconds after restarting nginx, I get the panic.
> Files can be downloaded from:
> http://www.theshell.com/~pavalos/crash/ylem-crash6.tar.xz

The crash seems to be truncated.  I tried on leaf and my own box,
there are 2010 bytes missing.

Best Regards,
sephe

-- 
Tomorrow Will Never Die






More information about the Bugs mailing list