Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2002 12:44:15 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        andrew bliznak <andrew@ort.lviv.net>
Cc:        current@FreeBSD.ORG, Alex Zepeda <zipzippy@sonic.net>, Peter Schultz <peter@jocose.org>
Subject:   Re: I think X is making this whole thing unstable..
Message-ID:  <XFMail.20020726124415.jhb@FreeBSD.org>
In-Reply-To: <3D416DC4.4040501@ort.lviv.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 26-Jul-2002 andrew bliznak wrote:
>#14 0xc03179d8 in calltrap () at {standard input}:98
>#15 0xc01e4db5 in _mtx_lock_sleep (m=0x28, opts=0, file=0x0, line=0)
>      at /usr/home/andrew/C/src/sys/kern/kern_mutex.c:598

This is the bug, it's like it is dereferencing a null pointer to get
a mutex or something.

>#16 0xc026f71d in tcp_input (m=0xc0f10100, off0=20)
>      at /usr/home/andrew/C/src/sys/netinet/tcp_input.c:520

        /*
         * Locate pcb for segment.
         */
         INP_INFO_WLOCK(&tcbinfo);
         headlocked = 1;

#define INP_INFO_WLOCK(ipi)     mtx_lock(&(ipi)->ipi_mtx)

I don't see why it should be a problem though, tcbinfo is a global
var.

Hmm, one thing to note is that the tcbinfo_mtx pointer isn't ever
used or assigned.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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




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