lkml.org 
[lkml]   [2009]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [bug] WARNING: at drivers/char/tty_io.c:1266 tty_open+0x1ea/0x388()
> I have applied your patch from yesterday (attached further below for 
> reference) and the SLAB corruption has not triggered - instead i'm
> now getting this warning, after 96 reboots

That one is interesting btw - however its not a new bug. The WARN_ON()
was added in the new patches to catch cases where the tty open/close
locking was broken and see if all the ldisc related ones were nailed.

Apparently on a very SMP box they are not. It's not however a new bug -
just the result of checking for the problem.

+ WARN_ON(!test_bit(TTY_LDISC, &tty->flags));


..

which means that someone cleared the ldisc behind our back despite us
holding tty_mutex. That would suggest a hangup/reopen race which
shouldn't be too hard to find.

Dunno what you feed your SMP box but its very useful 8)

Alan


\
 
 \ /
  Last update: 2009-06-16 12:17    [W:0.065 / U:0.996 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site