[ 39.888115] ============================================= [ 39.888115] [ INFO: possible recursive locking detected ] [ 39.888115] 3.4.0-next-20120524-sasha-00002-g11dc651 #273 Tainted: G W [ 39.888115] --------------------------------------------- [ 39.888115] trinity/4980 is trying to acquire lock: [ 39.888115] (&tty->legacy_mutex){+.+.+.}, at: [] tty_lock_nested+0x7b/0x90 [ 39.888115] [ 39.888115] but task is already holding lock: [ 39.888115] (&tty->legacy_mutex){+.+.+.}, at: [] tty_lock_nested+0x7b/0x90 [ 39.888115] [ 39.888115] other info that might help us debug this: [ 39.888115] Possible unsafe locking scenario: [ 39.888115] [ 39.888115] CPU0 [ 39.888115] ---- [ 39.888115] lock(&tty->legacy_mutex); [ 39.888115] lock(&tty->legacy_mutex); [ 39.888115] [ 39.888115] *** DEADLOCK *** [ 39.888115] [ 39.888115] May be due to missing lock nesting notation [ 39.888115] [ 39.888115] 1 lock held by trinity/4980: [ 39.888115] #0: (&tty->legacy_mutex){+.+.+.}, at: [] tty_lock_nested+0x7b/0x90 [ 39.888115] [ 39.888115] stack backtrace: [ 39.888115] Pid: 4980, comm: trinity Tainted: G W 3.4.0-next-20120524-sasha-00002-g11dc651 #273 [ 39.888115] Call Trace: [ 39.888115] [] print_deadlock_bug+0x119/0x140 [ 39.888115] [] validate_chain+0x5ee/0x790 [ 39.888115] [] ? sched_clock_cpu+0x108/0x120 [ 39.973550] [] __lock_acquire+0x423/0x4c0 [ 39.973550] [] lock_acquire+0x18a/0x1e0 [ 39.973550] [] ? tty_lock_nested+0x7b/0x90 [ 39.973550] [] __mutex_lock_common+0x60/0x590 [ 39.973550] [] ? tty_lock_nested+0x7b/0x90 [ 39.973550] [] ? __lock_release+0x1c2/0x1e0 [ 39.973550] [] ? flush_scheduled_work+0x20/0x20 [ 39.973550] [] ? tty_lock_nested+0x7b/0x90 [ 39.973550] [] mutex_lock_nested+0x40/0x50 [ 39.973550] [] tty_lock_nested+0x7b/0x90 [ 39.973550] [] tty_lock+0xb/0x10 [ 39.973550] [] tty_ldisc_release+0x47/0xb0 [ 39.973550] [] tty_release+0x453/0x4d0 [ 39.973550] [] __fput+0x11a/0x2c0 [ 39.973550] [] fput+0x15/0x20 [ 39.973550] [] filp_close+0x82/0xa0 [ 39.973550] [] close_files+0x1b4/0x200 [ 39.973550] [] ? wait_task_stopped+0x3d0/0x3d0 [ 39.973550] [] ? exit_files+0x45/0x60 [ 39.973550] [] put_files_struct+0x21/0x180 [ 39.973550] [] ? _raw_spin_unlock+0x30/0x60 [ 39.973550] [] exit_files+0x4d/0x60 [ 39.973550] [] do_exit+0x322/0x510 [ 39.973550] [] do_group_exit+0xa1/0xe0 [ 39.973550] [] sys_exit_group+0x12/0x20 [ 39.973550] [] system_call_fastpath+0x16/0x1b