es2_info crashed with SIGSEGV in nv50_screen_fence_update()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mesa |
Fix Released
|
Medium
|
|||
mesa (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Oneiric |
Won't Fix
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
Users running the nouveau X driver with the egl_dri2 mesa driver may experience a windowing system crash (kwin_gles, etc.) in the nv50_screen_
[Development Fix]
The problem was fixed upstream in mesa 8.0 which we are shipping in Precise. The patch switches from using a context object for flushing purposes, to a screen object; the context object can go NULL sometimes which leads to the crash.
[Stable Fix]
Upstream also created a backport of the mesa 8.0 patch to 7.11, although at time of writing this was not yet released in a 7.11.x point release. The patch applies cleanly to the oneiric mesa and is what we're using for this SRU.
[Text Case]
1. install nouveau video driver
2. call /usr/bin/es2_info from mesa-utils-extra
Broken Behavior: application crashes
Fixed Behavior: egl information is printed out
[Regression Potential]
The scope of this patch is limited to nouveau (and specifically to newer NVIDIA cards of the 8xxx series and up). Indeed it probably has no effect on non-egl window systems (like Unity/Compiz), so the scope is probably quite small.
Since the patch is included upstream as part of the mesa 8.0 tree, and is selected for the 7.11 stable series, the patch is likely quite safe. If there were any regressions caused by this, I would expect symptoms similar to the original bug (i.e. crashes).
[Original Report]
called /usr/bin/es2_info from mesa-utils-extra
ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: mesa-utils-extra 8.0.1+git201101
ProcVersionSign
Uname: Linux 3.0.0-15-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Sat Feb 4 23:52:38 2012
ExecutablePath: /usr/bin/es2_info
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcCmdline: es2_info
SegvAnalysis:
Segfault happened at: 0x7fcea9943fa7: mov (%rax),%eax
PC (0x7fcea9943fa7) ok
source "(%rax)" (0x7fceacc81000) not located in a known VMA region (needed readable region)!
destination "%eax" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: mesa-demos
StacktraceTop:
?? () from /usr/lib/
nouveau_
nv50_default_
nouveau_
nouveau_grobj_free () from /usr/lib/
Title: es2_info crashed with SIGSEGV in nouveau_
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare users
Related branches
affects: | mesa-demos (Ubuntu) → mesa (Ubuntu) |
visibility: | private → public |
Changed in mesa (Ubuntu): | |
status: | New → Triaged |
Changed in mesa (Ubuntu Precise): | |
status: | Triaged → Fix Released |
Changed in mesa (Ubuntu Oneiric): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in mesa: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
description: | updated |
description: | updated |
Changed in mesa (Ubuntu Oneiric): | |
status: | Fix Committed → In Progress |
tags: | removed: verification-failed |
tags: | added: removal-candidate |
Created attachment 54024
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.