lkml.org 
[lkml]   [2009]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: tty_ldisc_try_get(): BUG kmalloc-8: Poison overwritten
From
On Sun, Jun 14, 2009 at 11:20 AM, Pekka Enberg<penberg@cs.helsinki.fi> wrote:
>> You could add something like
>>
>>  WARN_ON(ld->refcount == 0x6b)
>>
>> to tty_ldisc_deref() to see if that triggers.

On Sun, Jun 14, 2009 at 11:30 AM, Pekka Enberg<penberg@cs.helsinki.fi> wrote:
> Make that
>
>    WARN_ON(ld->refcount == (int)0xa56b6b6b)
>
> instead.

And oh, kmemcheck should be able to catch this too. :-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-06-14 10:35    [W:0.056 / U:4.640 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site