Re: 4BSD Scheduler Problem on 5.3

From: Robert Watson (rwatson_at_FreeBSD.org)
Date: 04/01/05

  • Next message: John-Mark Gurney: "Re: So, who makes this one run FreeBSD? ;-)"
    Date: Fri, 1 Apr 2005 01:03:14 +0000 (GMT)
    To: John Baldwin <jhb@FreeBSD.org>
    
    

    On Thu, 31 Mar 2005, John Baldwin wrote:

    > On Thursday 31 March 2005 03:38 pm, William Michael Grim wrote:
    > > Hello.
    > >
    > > I keep having kernel panics every couple weeks on my system. It occurs in
    > > the sched_switch() function. There are several other statements in the
    > > backtrace involving "??"; what are those?
    > >
    > > I have attached the dump output and system info to this email. Any
    > > feedback would be helpful.
    > >
    > > Thanks so much for your help.
    >
    > The real trace ends with Xint0x80_syscall(). The rest after that is
    > garbage memory. Your real problem is in exit1() or ttywakeup(). Since
    > ttywakeup() doesn't call exit1() (AFAIK), the exit1() frame is probably
    > bogus (gdb doesn't grok trapframes maybe?) and the real bug is a NULL
    > pointer deref in ttywakeup(). Perhaps it's a bug in the ptc driver?
    > (ptcopen is in the trace). What is the ptc driver anyway?

    I think we have a race in -STABLE relating to tty wakeups and
    open/close/device teardown. I've seen a panic relating to sio during a
    tty close on RELENG_5 about 5-6 months ago, but was unable to get a dump.
    Scott has since fixed dumps with twe, but I've not yet been able to get
    the bug to recur. I'll give it another try.

    Robert N M Watson

    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: John-Mark Gurney: "Re: So, who makes this one run FreeBSD? ;-)"

    Relevant Pages

    • Re: panic in propagate_priority w/ postgresql under heavy load
      ... > It could be because of a 9000 firmware bug that you are not being able ... The firmware wrongly interprets physical address 0x0 as ... however i retained the ability to obtain a crash dump. ...
      (freebsd-hackers)
    • Re: SQL Server Assertion
      ... Tibor Karaszi, SQL Server MVP ... > inserts some data into a table and the dump is generated ... > same application if i run with code i dont get any dumps ... > exe again i dont get any errors, i think its a bug in sql ...
      (microsoft.public.sqlserver.server)
    • Who to report bugs in wide-dhcp? (was Re: wide-dhcps dumps core freeing modified pointer)
      ... > after the core dump, but even if I delete the garbage and try to start dhcps ... > result in the same core dump. ... the bug itself is in the original code rather than FreeBSD patches, ...
      (freebsd-questions)
    • Re: access violation 0x77f64874
      ... > Is this a bug or what? ... that it could be corrupted heap due to third-party interference. ... You have done a fine job of capturing salient information from your dump ... the dump after that, the Raw Stack Dump, if it contains any readable data ...
      (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
    • Re: [patch] panic executing shell-script
      ... >more trailing whitespace, kernel panics. ... A slightly longer fix has been committed for this bug. ...
      (freebsd-current)