[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110331111659.0c77abbe@schatten.dmk.lab>
Date: Thu, 31 Mar 2011 11:16:59 +0200
From: Florian Mickler <florian@...kler.org>
To: "Justin P. Mattock" <justinmattock@...il.com>
Cc: linux-kernel@...r.kernel.org, Steven Rostedt <rostedt@...dmis.org>,
Manjunatha Halli <manjunatha_halli@...com>,
Mauro Carvalho Chehab <mchehab@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Greg Kroah-Hartman <gregkh@...e.de>
Subject: Re: [BUG] NULL pointer dereference in dev_get_drvdata
On Wed, 30 Mar 2011 08:47:25 -0700
"Justin P. Mattock" <justinmattock@...il.com> wrote:
>
> strange thing with this, is one instance my screen went black, then
> something similar showed up on screen but then the screen kind of went
> back to normal(was able to move the mouse, but most of everything was
> frozen), another instance was shutting down the system pics are here:
>
> http://www.flickr.com/photos/44066293@N08/5573957179/
> http://www.flickr.com/photos/44066293@N08/5574543648/
> (not the best camara used)
>
> this does not fire off all the time, but it does.
> (I will keep my eye out with this one).
>
> Justin P. Mattock
>
even with that resolution (240x320, that's a joke, right? do I need to
login or something like that?) I see that your stacktrace is
different.
The stacktrace is the cascade of function-calls that lead to the
execution of the current code. A null-pointer in the driver-core
normally means that someone on the calling site did something wrong.
So in order to fix the bug, you have to look at the stack trace and
check how that null pointer got handed down to that function.
If you have 2 drivers. Both seperately calling the same function with a
nullpointer you have 2 seperate issues that trigger the same thing
(null pointer exception) in the same function. so it is not sufficient
to look at where the bug happened, you also need to check what is the
cause.
Regards,
Flo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists