[PATCH 2/2] mi: Log an error if mieqProcessInputEvents() recurses.

Peter Hutterer peter.hutterer at who-t.net
Thu Jun 14 17:20:08 PDT 2012


On Thu, Jun 14, 2012 at 04:47:30PM -0700, Alan Coopersmith wrote:
> On 06/14/12 09:15 AM, Andy Ritger wrote:
> > +    if (inProcessInputEvents) {
> > +        ErrorF("[mi] mieqProcessInputEvents() called recursively.\n");
> 
> Would it be useful to throw a backtrace in the log as well, to help us figure
> out how we looped back around to that point?

just use BUG_WARN_MSG(inProcessInputEvents, "blah blah"); and that'll print
a backtrace.

Cheers,
  Peter


More information about the xorg-devel mailing list