From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 15 22:24:36 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B13E91065672; Mon, 15 Sep 2008 22:24:36 +0000 (UTC) (envelope-from matthias.apitz@oclc.org) Received: from hunter.Sisis.de (hunter.sisis.de [193.31.11.194]) by mx1.freebsd.org (Postfix) with ESMTP id 8F4318FC21; Mon, 15 Sep 2008 22:24:35 +0000 (UTC) (envelope-from matthias.apitz@oclc.org) Received: (from mail@localhost) by hunter.Sisis.de (8.8.8/8.8.8) id AAA09932; Tue, 16 Sep 2008 00:16:14 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) Received: from ppp-62-216-212-223.dynamic.mnet-online.de(62.216.212.223) by hunter.Sisis.de via smap (V2.1) id xma009913; Tue, 16 Sep 08 00:15:57 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id m8FMOE3r012550; Tue, 16 Sep 2008 00:24:14 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Tue, 16 Sep 2008 00:24:14 +0200 From: Matthias Apitz To: John Baldwin Message-ID: <20080915222414.GA12474@rebelion.Sisis.de> References: <20080915110838.GA5258@rebelion.Sisis.de> <200809151448.06105.jhb@freebsd.org> <20080915194853.GA8365@rebelion.Sisis.de> <200809151608.06738.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200809151608.06738.jhb@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-RELEASE (i386) Cc: freebsd-hackers@freebsd.org, Matthias Apitz , bug-followup@freebsd.org, freebsd-net@freebsd.org Subject: Re: panic's on KDE-launches (but only in WPA Wifi area) / kern/122331 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2008 22:24:37 -0000 El día Monday, September 15, 2008 a las 04:08:06PM -0400, John Baldwin escribió: > > > Can you go to frame 7 in kgdb and 'p *fdp'? > > > > (kgdb) frame 7 > > #7 0xc0788b98 in kern_select (td=0xc49d5630, nd=9, fd_in=0x298ad840, > > fd_ou=0x298ad9c4, fd_ex=0x298adb48, tvp=0x0) at filedesc.h:136 > > return (fd < 0 || fd >= fdp->fd_nfiles ? NULL : fdp->fd_ofiles[fd]); > > (kgdb) p *fdp > > Variable "fdp" is not available. > > (kgdb) > > If 'td' is available then you can do 'p *td->td_proc->p_fd' (kgdb) frame 7 #7 0xc0788b98 in kern_select (td=0xc49d5630, nd=9, fd_in=0x298ad840, fd_ou=0x298ad9c4, fd_ex=0x298adb48, tvp=0x0) at filedesc.h:136 136 return (fd < 0 || fd >= fdp->fd_nfiles ? NULL : fdp->fd_ofiles[fd]); (kgdb) p td $7 = (struct thread *) 0xc49d5630 (kgdb) p *td->td_proc->p_fd $8 = {fd_ofiles = 0x0, fd_ofileflags = 0x0, fd_cdir = 0x0, fd_rdir = 0xc42f3a00, fd_jdir = 0x0, fd_nfiles = 20, fd_map = 0xc49db8b4, fd_lastfile = 9, fd_freefile = 10, fd_cmask = 18, fd_refcnt = 1, fd_holdcnt = 1, fd_sx = {lock_object = { lo_name = 0xc0ad3cbe "filedesc structure", lo_type = 0xc0ad3cbe "filedesc structure", lo_flags = 37421056, lo_witness_data = {lod_list = {stqe_next = 0x0}, lod_witness = 0x0}}, sx_lock = 17, sx_recurse = 0}, fd_kqlist = {slh_first = 0x0}, fd_holdleaderscount = 0, fd_holdleaderswakeup = 0} (kgdb) matthias