diff options
author | Marcin Slusarz <[email protected]> | 2011-09-25 16:01:19 +0200 |
---|---|---|
committer | Marcin Slusarz <[email protected]> | 2011-09-25 19:18:45 +0200 |
commit | 65b8eea0644fdb7e9150d0e98c06d7f8ba6d5302 (patch) | |
tree | ae9caf5b26b4e06bb99ad31828081b73690a0f77 /src/gallium/targets | |
parent | a4d72189b271664501338cc93107845f3d40ae54 (diff) |
nouveau: fix crash during fence emission
Fence emission can flush the push buffer, which through flush_notify
unreferences recently emitted fence. If ref count is increased after
fence emission, unreference deletes the fence, which causes SIGSEGV.
Backtrace:
nouveau_fence_del
nouveau_fence_ref
nouveau_fence_next
nouveau_pushbuf_flush
MARK_RING
nv50_screen_fence_emit
nouveau_fence_emit
nv50_flush
This bug manifested as an assertion failure in nouveau_fence.c, because
SIGSEGV handler tried to shutdown the application and used messed up
fence.
This issue was reported by Maxim Levitsky.
Note: This is a candidate for the 7.11 branch.
Diffstat (limited to 'src/gallium/targets')
0 files changed, 0 insertions, 0 deletions