Skip to contentSkip to conversation

igt@gem_flink_race@flink_close - Failed assertion: obj_count == 0

Bug 102655 [email protected] 1 participant 7 messages Sep 11, 2017 – Oct 23, 2017 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=102655

Chris Wilson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         QA Contact|[email protected] |
                   |sktop.org                   |
          Component|DRM/Intel                   |IGT
           Assignee|[email protected] |[email protected]
                   |sktop.org                   |.org
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=102655

--- Comment #2 from Chris Wilson <[email protected]> --- Given all the floating references held on objects, I'm not sure if we can do a "stable_obj_count" without the loop and sleeping. I'm not sure of all the places that we do have such objects in a timer, so getting the interval right or adding a flush control is hard. E.g. one thing we are not flushing before counting are the kms workqueues which hold a reference on the old object until finished.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=102655

Chris Wilson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #3 from Chris Wilson <[email protected]> --- *** Bug 102696 has been marked as a duplicate of this bug. ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=102655

--- Comment #4 from Marta Löfstedt <[email protected]> --- Also, CI_DRM_3223 HSW-shards

(prime_self_import:1525) CRITICAL: Test assertion failure function test_export_close_race, file prime_self_import.c:363:
(prime_self_import:1525) CRITICAL: Failed assertion: obj_count == 0 (prime_self_import:1525) CRITICAL: Last errno: 9, Bad file descriptor (prime_self_import:1525) CRITICAL: error: -32 != 0
Subtest export-vs-gem_close-race failed.

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3223/shard-hsw4/igt@prime_self_import@export-vs-gem_close-race.html

and:
https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_339/shard-hsw3/igt@prime_self_import@export-vs-gem_close-race.html

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=102655

--- Comment #5 from Chris Wilson <[email protected]> --- Had a thought:
drm/i915: Flush the idle-worker for debugfs/i915_drop_caches
https://patchwork.freedesktop.org/patch/183116/

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=102655

Chris Wilson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #6 from Chris Wilson <[email protected]> --- This should help:

commit 8d03573de74ebd38d1047131a698a2068605efed

Author: Chris Wilson <[email protected]>
Date:   Wed Oct 18 13:28:14 2017 +0100

lib: Flush the driver's internal cache of objects before counting

As the driver itself keeps a cache of objects, these too need to be flushed prior to producing a stable count of objects.

there is still an open for dropping framebuffers and their ilk, but unlikely to be affecting this test. Treating as fixed, we will know if it reoccurs again.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=102655

Marta Löfstedt <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel