From owner-freebsd-net@FreeBSD.ORG Wed Sep 28 15:15:03 2005 Return-Path: X-Original-To: net@FreeBSD.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10C2116A41F; Wed, 28 Sep 2005 15:15:03 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4C6043D48; Wed, 28 Sep 2005 15:15:02 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [70.30.70.180]) by elvis.mu.org (Postfix) with ESMTP id 6B9971A3C1A; Wed, 28 Sep 2005 08:15:02 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id EAF42516FB; Wed, 28 Sep 2005 11:15:00 -0400 (EDT) Date: Wed, 28 Sep 2005 11:15:00 -0400 From: Kris Kennaway To: Marc Olzheim Message-ID: <20050928151500.GB27347@xor.obsecurity.org> References: <20050908044336.GA28709@xor.obsecurity.org> <20050908090412.GA52425@stack.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="l76fUT7nc3MelDdI" Content-Disposition: inline In-Reply-To: <20050908090412.GA52425@stack.nl> User-Agent: Mutt/1.4.2.1i Cc: net@FreeBSD.org, rwatson@FreeBSD.org, Kris Kennaway Subject: Re: panic: receive: m == 0 so->so_rcv.sb_cc == 4294967295 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2005 15:15:03 -0000 --l76fUT7nc3MelDdI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 08, 2005 at 11:04:12AM +0200, Marc Olzheim wrote: > On Thu, Sep 08, 2005 at 12:43:36AM -0400, Kris Kennaway wrote: > > db> wh > > Tracing pid 23098 tid 100263 td 0xc92e4af0 > > kdb_enter(c07060af,0,c070c9b3,f7d14bc8,c92e4af0) at kdb_enter+0x30 > > panic(c070c9b3,0,ffffffff,3f5,c0709939) at panic+0x13e > > soreceive(c9be5b20,0,f7d14cb4,0,0,f7d14c30,4000) at soreceive+0x1cd > > fifo_read_f(c8dc17e0,f7d14cb4,c5c88000,0,c92e4af0) at fifo_read_f+0x70 > > dofileread(c92e4af0,3,c8dc17e0,f7d14cb4,ffffffff) at dofileread+0x96 > > kern_readv(c92e4af0,3,f7d14cb4,bfbfdb87,1) at kern_readv+0x61 > > read(c92e4af0,f7d14d04,c,422,3) at read+0x4f > > syscall(3b,3b,3b,bfbfdbc0,809b440) at syscall+0x295 > > Xint0x80_syscall() at Xint0x80_syscall+0x1f > > --- syscall (3, FreeBSD ELF32, read), eip =3D 0x807d183, esp =3D 0xbfbf= db6c, ebp =3D 0xbfbfdb88 --- > > db> >=20 > What kind ot kern_readv() is that ? Prototype of mine is: >=20 > int kern_readv(struct thread *td, int fd, struct uio *auio); >=20 > Or does the debugger garble something ? Late followup, but the debugger has to guess at how many arguments are in use by the function, so it sometimes displays too many. Kris --l76fUT7nc3MelDdI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDOrN0Wry0BWjoQKURArPGAJ0SnKouIMNvaG6dno8hLyWcaYG8DwCfQyDO 5fEgAoNE2iumICuwMHdGKtc= =bTSt -----END PGP SIGNATURE----- --l76fUT7nc3MelDdI--