Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937648AbXHPBk1 (ORCPT ); Wed, 15 Aug 2007 21:40:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756473AbXHPBkL (ORCPT ); Wed, 15 Aug 2007 21:40:11 -0400 Received: from e36.co.us.ibm.com ([32.97.110.154]:46472 "EHLO e36.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756338AbXHPBkI (ORCPT ); Wed, 15 Aug 2007 21:40:08 -0400 Subject: [BUG -rt] circular locking deadlock From: john stultz To: Ingo Molnar , Thomas Gleixner Cc: lkml Content-Type: text/plain Date: Wed, 15 Aug 2007 18:39:53 -0700 Message-Id: <1187228393.6062.31.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3128 Lines: 87 Hey Ingo, Thomas, I was playing with the latency tracer on 2.6.23-rc2-rt2 while a "make -j8" was going on in the background and the box hung with this on the console: ============================================ [ BUG: circular locking deadlock detected! ] -------------------------------------------- cc1/7161 is deadlocking current task cc1/7164 1) cc1/7164 is trying to acquire this lock: [ffff8101fa375250] {&list->lock} .. ->owner: ffff8101ef7f7162 .. held by: cc1: 7161 [ffff8101ef7f7160, 120] 2) cc1/7161 is blocked on this lock: [ffff8102118e5900] {&list->lock} .. ->owner: ffff8100ddb3ace2 .. held by: cc1: 7164 [ffff8100ddb3ace0, 120] cc1/7161's [blocked] stackdump: ffff8101f9423c68 0000000000000086 0000000100000000 0000000000000002 ffffffff82205d00 0000000000000202 ffffffff82189280 ffff8101ef7f7160 ffff8100ddb3ace0 ffff8101f9423c10 0000000000000202 0000000000000000 Call Trace: [] mcount+0x2c/0x3a [] schedule+0x3b/0x130 [] rt_spin_lock_slowlock+0xdb/0x210 [] __rt_spin_lock+0x3d/0x50 [] rt_spin_lock+0xe/0x10 [] __lock_list+0x42/0x70 [] lock_list_splice_init+0x33/0xb0 [] file_move+0xc8/0xd0 [] __dentry_open+0xae/0x1d0 [] nameidata_to_filp+0x44/0x60 [] do_filp_open+0x4d/0x60 [] __lock_text_start+0xe/0x10 [] get_unused_fd_flags+0x103/0x130 [] do_sys_open+0x61/0x100 [] sys_open+0x20/0x30 [] tracesys+0x151/0x1be --------------------------- | preempt count: 00000002 ] | 2-level deep critical section nesting: ---------------------------------------- .. [] .... __schedule+0x23/0x265 .....[] .. ( <= schedule+0x3b/0x130) .. [] .... __spin_lock_irq+0x21/0x40 .....[] .. ( <= __schedule+0xb4/0x265) cc1/7164's [current] stackdump: Call Trace: [] show_stack+0x13/0x20 [] debug_rt_mutex_print_deadlock+0x163/0x180 [] rt_spin_lock_slowlock+0xd6/0x210 [] __rt_spin_lock+0x3d/0x50 [] rt_spin_lock+0xe/0x10 [] __lock_list+0x42/0x70 [] lock_list_del_init+0x26/0x70 [] file_kill+0x4a/0x60 [] __fput+0x12e/0x1d0 [] fput+0x25/0x30 [] filp_close+0x61/0x90 [] sys_close+0xa9/0x100 [] tracesys+0x151/0x1be --------------------------- | preempt count: 00000000 ] | 0-level deep critical section nesting: ---------------------------------------- [ turning off deadlock detection.Please report this trace. ] - 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/