Bug 43428 - Segmentation Fault in nv50_screen_fence_update
Summary: Segmentation Fault in nv50_screen_fence_update
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/nouveau (show other bugs)
Version: 7.11
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-01 08:59 UTC by Philipp Knechtges
Modified: 2011-12-11 08:07 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
backtrace of the crash (2.04 KB, text/plain)
2011-12-01 08:59 UTC, Philipp Knechtges
Details
simple fix (1.94 KB, patch)
2011-12-03 05:20 UTC, Marcin Slusarz
Details | Splinter Review

Description Philipp Knechtges 2011-12-01 08:59:53 UTC
Created attachment 54024 [details]
backtrace of the crash

Nouveau in the combination with the egl_dri2 driver crashes in the aforementioned function. The egl_gallium driver seems to work fine (tested with Mesa 7.11.2), but this driver is unfortunately not shipped with fedora.

As the bug vanishes if I use the latest Mesa 7.12-devel (git-ccd4d43), I would suggest that some of the patches that substitute the function nv50_screen_fence_update are ported back to 7.11.

Thanks a lot.

For completeness: I'm using a nvidia NVS 3100M and the fedora 2.6.41 kernel.
Comment 1 Marcin Slusarz 2011-12-03 05:20:58 UTC
Created attachment 54088 [details] [review]
simple fix

Cherry-picking 3069a7eaa5d83e7f41616347ba244c0dc0d944ae (and 27e77cb902b4f7f5e127dcd78951e3167f13d59c) to 7.11 should fix it.

Alternatively we could apply attached patch.


Can you verify both patches fix your crash?
Comment 2 Philipp Knechtges 2011-12-07 04:42:49 UTC
The attached patch as well as the commit 3069a7eaa5d83e7f41616347ba244c0dc0d944ae fix the bug. The commit 3069a7ea seems to be sufficient, what also explains why it even worked with mesa master before you commited 27e77cb902b4f7f5e127dcd78951e3167f13d59c. Thanks a lot :)
Comment 3 Marcin Slusarz 2011-12-11 08:07:31 UTC
Commited to 7.11. Thanks.


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.