Bug 486498

Summary: BUG: bad unlock balance detected
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: kernelAssignee: Dave Airlie <airlied>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: kernel-maint, quintela, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-20 00:42:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bill Nottingham 2009-02-20 00:41:04 UTC
Description of problem:

Feb 19 19:20:21 nostromo kernel: =====================================
Feb 19 19:20:21 nostromo kernel: [ BUG: bad unlock balance detected! ]
Feb 19 19:20:21 nostromo kernel: -------------------------------------
Feb 19 19:20:21 nostromo kernel: Xorg/2717 is trying to release lock (&dev->struct_mutex) at:
Feb 19 19:20:21 nostromo kernel: [<ffffffff8137a18a>] mutex_unlock+0x9/0xb
Feb 19 19:20:21 nostromo kernel: but there are no more locks to release!
Feb 19 19:20:21 nostromo kernel:
Feb 19 19:20:21 nostromo kernel: other info that might help us debug this:
Feb 19 19:20:21 nostromo kernel: 1 lock held by Xorg/2717:
Feb 19 19:20:21 nostromo kernel: #0:  (&dev->mode_config.mutex){--..}, at: [<ffffffffa001df00>] drm_mode_cursor_ioctl+0x6c/0x155 [drm]
Feb 19 19:20:21 nostromo kernel:
Feb 19 19:20:21 nostromo kernel: stack backtrace:
Feb 19 19:20:21 nostromo kernel: Pid: 2717, comm: Xorg Not tainted 2.6.29-0.134.rc5.git2.fc11.x86_64 #1
Feb 19 19:20:21 nostromo kernel: Call Trace:
Feb 19 19:20:21 nostromo kernel: [<ffffffff8137a18a>] ? mutex_unlock+0x9/0xb
Feb 19 19:20:21 nostromo kernel: [<ffffffff8106d2e8>] print_unlock_inbalance_bug+0xd6/0xe1
Feb 19 19:20:21 nostromo kernel: [<ffffffff8106d3a2>] lock_release_non_nested+0xaf/0x1e9
Feb 19 19:20:21 nostromo kernel: [<ffffffff8137a610>] ? __mutex_lock_common+0x330/0x394
Feb 19 19:20:21 nostromo kernel: [<ffffffff8106b7a6>] ? trace_hardirqs_on_caller+0x12f/0x153
Feb 19 19:20:21 nostromo kernel: [<ffffffff8137a18a>] ? mutex_unlock+0x9/0xb
Feb 19 19:20:21 nostromo kernel: [<ffffffff8106d639>] lock_release+0x15d/0x189
Feb 19 19:20:21 nostromo kernel: [<ffffffff8137a10d>] __mutex_unlock_slowpath+0xc2/0x136
Feb 19 19:20:21 nostromo kernel: [<ffffffff8137a18a>] mutex_unlock+0x9/0xb
Feb 19 19:20:21 nostromo kernel: [<ffffffffa0054af5>] intel_crtc_cursor_set+0x239/0x279 [i915]
Feb 19 19:20:21 nostromo kernel: [<ffffffff8137a18a>] ? mutex_unlock+0x9/0xb
Feb 19 19:20:21 nostromo kernel: [<ffffffffa001de94>] ? drm_mode_cursor_ioctl+0x0/0x155 [drm]
Feb 19 19:20:21 nostromo kernel: [<ffffffffa001df91>] drm_mode_cursor_ioctl+0xfd/0x155 [drm]
Feb 19 19:20:21 nostromo kernel: [<ffffffffa0012d5f>] drm_ioctl+0x1f9/0x292 [drm]
Feb 19 19:20:21 nostromo kernel: [<ffffffff810e615a>] vfs_ioctl+0x6a/0x82
Feb 19 19:20:21 nostromo kernel: [<ffffffff810e65d8>] do_vfs_ioctl+0x466/0x4a7
Feb 19 19:20:21 nostromo kernel: [<ffffffff810e666a>] sys_ioctl+0x51/0x74
Feb 19 19:20:21 nostromo kernel: [<ffffffff8101123a>] system_call_fastpath+0x16/0x1b

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)

Version-Release number of selected component (if applicable):

2.6.29-0.134.rc5.git2.fc11.x86_64

Comment 1 Bill Nottingham 2009-02-20 00:42:18 UTC

*** This bug has been marked as a duplicate of bug 485930 ***