Re: ptcwrite panic (with dump)

From: Doug White (dwhite_at_gumbysoft.com)
Date: 05/09/05

  • Next message: Kris Kennaway: "Re: Strange semi-hangs on 5.4"
    Date: Sun, 8 May 2005 17:00:40 -0700 (PDT)
    To: Kris Kennaway <kris@obsecurity.org>
    
    

    On Sun, 8 May 2005, Kris Kennaway wrote:

    > $2 = (struct pgrp *) 0x0

    Looks like t_pgrp became NULL between us checking it and us inspecting the
    list attached to it. Nice.

    Try moving the sx_slock(&proctree_lock); grab above the tp->t_pgrp NULL
    check and add a sx_sunlock(&proctree_lock); inside that if() block.

    I don't know if proctree_lock or the per-tty mutex protects the t_pgrp
    item in struct tty. In any case we need to pick up some lock to keep it
    from going away :-)

    I'll bash up a draft patch for discussion.

    -- 
    Doug White                    |  FreeBSD: The Power to Serve
    dwhite@gumbysoft.com          |  www.FreeBSD.org
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Kris Kennaway: "Re: Strange semi-hangs on 5.4"

    Relevant Pages

    • Re: rc.firewall not executed?
      ... On Sun, 15 Jun 2003, Kris Kennaway wrote: ... I'm assuming that you're refering to the rc.firewall that's in ... To unsubscribe, ...
      (freebsd-current)
    • Re: aoi (Art of Illusion)
      ... On Sun, 29 Jun 2003, Kris Kennaway wrote: ... >> but I have problems rendering textures. ... To unsubscribe, ...
      (freebsd-questions)
    • Re: kernel options
      ... On Sun, 29 Feb 2004, Kris Kennaway wrote: ... I have read about an option to include the configuration file with the ... To unsubscribe, ...
      (freebsd-hackers)
    • Re: 5.x w/auto-maxusers has insane kern.maxvnodes
      ... On Sun, 9 May 2004, Kris Kennaway wrote: ... it has time bloat instead of space bloat from using a dynamic root :-). ... To unsubscribe, ...
      (freebsd-current)
    • Re: FreeBSD 6 is coming too fast
      ... On Sun, 24 Apr 2005, Kris Kennaway wrote: ... > easy to draw incorrect conclusions if you don't understand exactly ... > what it is you're measuring. ...
      (freebsd-current)