Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 May 1999 16:18:54 +0200
From:      Stefan Bethke <stefan.bethke@hanse.de>
To:        Max Khon <fjoe@iclub.nsu.ru>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Can someone tell me what caused this panic?
Message-ID:  <1055449.3135082734@d225.promo.de>
In-Reply-To: <Pine.BSF.4.05.9905070409560.4297-100000@iclub.nsu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Max Khon <fjoe@iclub.nsu.ru> wrote:

> #9  0xc025b58a in trap (frame=3D{tf_es =3D 16, tf_ds =3D 16, tf_edi =3D
> -1073610752,  tf_esi =3D -1067785984, tf_ebp =3D -1000694440, tf_isp =3D
>       -1000694472,  tf_ebx =3D 442459, tf_edx =3D -1073278286, tf_ecx =
=3D 492, 
>       tf_eax =3D -1073610752, tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D
>       -1072195008,  tf_cs =3D 8, tf_eflags =3D 66050, tf_esp =3D =
-1067785984,
>       tf_ss =3D 2}) at ../../i386/i386/trap.c:437
> #10 0xc0179a40 in m_prepend (m=3D0xc05ae100, len=3D6, how=3D1)
>     at ../../kern/uipc_mbuf.c:394
> #11 0xc019eb66 in arc_output (ifp=3D0xc030e2dc, m0=3D0xc05b6300,
> dst=3D0xc4449db0,  rt0=3D0xc0874a00) at ../../net/if_arcsubr.c:295
> #12 0xc01b0ee4 in ip_output (m0=3D0xc05b6300, opt=3D0x0, =
ro=3D0xc4449dac,
> flags=3D0,  imo=3D0x0) at ../../netinet/ip_output.c:608
> #13 0xc01b55f9 in tcp_output (tp=3D0xc4449de0) at
> ../../netinet/tcp_output.c:696 #14 0xc01b6989 in tcp_usr_send
> (so=3D0xc4407a00, flags=3D4, m=3D0xc05b9500, nam=3D0x0,  control=3D0x0,
>     p=3D0xc459ca40) at ../../netinet/tcp_usrreq.c:374
> #15 0xc017b35a in sosend (so=3D0xc4407a00, addr=3D0x0, uio=3D0xc45a9f30, =

>     top=3D0xc05b9500, control=3D0x0, flags=3D0, p=3D0xc459ca40)
>     at ../../kern/uipc_socket.c:539
> #16 0xc0170c9c in soo_write (fp=3D0xc0a1e340, uio=3D0xc45a9f30,
> cred=3D0xc09ffb00) at ../../kern/sys_socket.c:80
> #17 0xc016dae6 in write (p=3D0xc459ca40, uap=3D0xc45a9f84)
>     at ../../kern/sys_generic.c:270
> #18 0xc025bee7 in syscall (frame=3D{tf_es =3D 39, tf_ds =3D 39, tf_edi =
=3D
> 672134044,  tf_esi =3D 6, tf_ebp =3D -1077948508, tf_isp =3D =
-1000693804,
>       tf_ebx =3D 8192,  tf_edx =3D 8192, tf_ecx =3D 0, tf_eax =3D 4, =
tf_trapno =3D
>       7, tf_err =3D 2,  tf_eip =3D 671829748, tf_cs =3D 31, tf_eflags =
=3D 518,
>       tf_esp =3D -1077948576,  tf_ss =3D 39}) at =
./../i386/i386/trap.c:1100
> #19 0xc024e86c in Xint0x80_syscall ()
> #20 0x804b9c3 in ?? ()
> #21 0x804ef70 in ?? ()
> #22 0x804a83d in ?? ()
> #23 0x8049f81 in ?? ()
> (kgdb) 
> --- cut here ---
> 
> --- ../../kern/uipc_mbuf.c:394 (m_prepend) ---
>	 MGET(mn, how, m->m_type);
> --- cut here ---

Probably the mbuf chain is hosed.  Work your way back through =
arc_output().
Look for MGET(m,M_DONTWAIT,xxx) and m not being checked for NULL.


Stefan

--
M=FChlendamm 12           |  Voice +49-40-256848, +49-177-3504009
D-22089 Hamburg         |  e-mail: stefan.bethke@hanse.de
Germany                 |          stb@freebsd.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1055449.3135082734>