Bug 87259 - [ivb/bsw regression] WARN_ON(obj->frontbuffer_bits)
Summary: [ivb/bsw regression] WARN_ON(obj->frontbuffer_bits)
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other All
: high normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
: 89189 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-12-12 07:54 UTC by Chris Wilson
Modified: 2017-07-24 22:49 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Chris Wilson 2014-12-12 07:54:10 UTC
[ 6259.993457] WARNING: CPU: 4 PID: 671 at drivers/gpu/drm/i915/i915_gem.c:4511 i915_gem_free_object+0x2d5/0x310()
[ 6259.993463] WARN_ON(obj->frontbuffer_bits)
[ 6259.993469] CPU: 4 PID: 671 Comm: Xorg Tainted: G        W      3.18.0+ #156
[ 6259.993475] Hardware name: Intel Corporation 2012 Client Platform/Emerald Lake 2, BIOS ACRVMBY1.86C.0078.P00.1201161002 01/16/2012
[ 6259.993480]  0000000000000009 ffff880252d6f9f8 ffffffff8156986c 00000000000038ac
[ 6259.993501]  ffff880252d6fa48 ffff880252d6fa38 ffffffff8108ba3c ffff8802557a0000
[ 6259.993513]  ffff8802550aee98 ffff8802550aee40 ffff8802550aef08 ffff8802557a0000
[ 6259.993524] Call Trace:
[ 6259.993531]  [<ffffffff8156986c>] dump_stack+0x46/0x58
[ 6259.993538]  [<ffffffff8108ba3c>] warn_slowpath_common+0x7c/0xa0
[ 6259.993553]  [<ffffffff8108bad6>] warn_slowpath_fmt+0x46/0x50
[ 6259.993559]  [<ffffffff813965df>] ? i915_vma_unbind+0x1ef/0x230
[ 6259.993566]  [<ffffffff81397f25>] i915_gem_free_object+0x2d5/0x310
[ 6259.993573]  [<ffffffff8134d587>] drm_gem_object_free+0x27/0x40
[ 6259.993579]  [<ffffffff8134d710>] drm_gem_object_handle_unreference_unlocked+0x120/0x130
[ 6259.993587]  [<ffffffff8134d777>] drm_gem_object_release_handle+0x57/0x80
[ 6259.993601]  [<ffffffff812b3fa5>] idr_for_each+0xa5/0x100
[ 6259.993607]  [<ffffffff8134d720>] ? drm_gem_object_handle_unreference_unlocked+0x130/0x130
[ 6259.993615]  [<ffffffff8134e384>] drm_gem_release+0x24/0x40
[ 6259.993621]  [<ffffffff8134d24b>] drm_release+0x43b/0x520
[ 6259.993629]  [<ffffffff8117254b>] __fput+0xcb/0x1c0
[ 6259.993635]  [<ffffffff8117268e>] ____fput+0xe/0x10
[ 6259.993647]  [<ffffffff810a55f4>] task_work_run+0xd4/0xf0
[ 6259.993656]  [<ffffffff8108db5b>] do_exit+0x38b/0xa60
[ 6259.993662]  [<ffffffff8108c55a>] ? child_wait_callback+0x5a/0x60
[ 6259.993669]  [<ffffffff810b6538>] ? update_curr+0xe8/0x140
[ 6259.993676]  [<ffffffff8108e2c7>] do_group_exit+0x47/0xc0
[ 6259.993682]  [<ffffffff81099181>] get_signal+0x281/0x650
[ 6259.993694]  [<ffffffff81046588>] do_signal+0x28/0xb80
[ 6259.993702]  [<ffffffff810b4503>] ? account_system_time+0x83/0x180
[ 6259.993708]  [<ffffffff810b4276>] ? get_vtime_delta+0x16/0x90
[ 6259.993714]  [<ffffffff810b4115>] ? local_clock+0x25/0x30
[ 6259.993719]  [<ffffffff810b4475>] ? account_user_time+0x85/0x90
[ 6259.993726]  [<ffffffff810b48f4>] ? vtime_account_user+0x44/0x60
[ 6259.993732]  [<ffffffff8104713c>] do_notify_resume+0x5c/0xa0
[ 6259.993738]  [<ffffffff8156f660>] int_signal+0x12/0x17
Comment 1 Rodrigo Vivi 2015-01-12 20:58:57 UTC
Is this happening without any other error before?

By https://bugs.freedesktop.org/attachment.cgi?id=112115
I'd just say the disable flow without plane being updated is broken but nothing wrong with this frontbuffer tracking warn in general.

But anyway I'm not sure this warn here is useful or if we should flush the frontbuffer instead of warning...
Comment 2 Rodrigo Vivi 2015-01-12 20:59:11 UTC
Is this happening without any other error before?

By https://bugs.freedesktop.org/attachment.cgi?id=112115
I'd just say the disable flow without plane being updated is broken but nothing wrong with this frontbuffer tracking warn in general.

But anyway I'm not sure this warn here is useful or if we should flush the frontbuffer instead of warning...
Comment 3 Chris Wilson 2015-02-17 20:43:28 UTC
*** Bug 89189 has been marked as a duplicate of this bug. ***
Comment 4 Chris Wilson 2015-02-17 20:43:55 UTC
Now affecting linus/master.
Comment 5 Daniel Vetter 2015-03-17 13:03:27 UTC
Does this still blow up with latest -nightly? I looked a bit at Steven Rostedts report for 4.0 and had no clue what's going wrong ...
Comment 6 Chris Wilson 2015-03-17 14:12:16 UTC
I used to be able to trigger it with a killall -9 Xorg, but no more.
Comment 7 Daniel Vetter 2015-03-18 10:17:18 UTC
Ok let's tentatively close it then. Bug is probably still around though, just hiding :(


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.