glamor-egl crashes when running autopilot tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glamor |
Fix Released
|
Medium
|
|||
glamor-egl (Ubuntu) |
Fix Released
|
High
|
Maarten Lankhorst | ||
Saucy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* When compositing is toggled, xorg-server can crash when dereferencing freed memory, killing the xserver.
* Bug is fixed by updating the window pixmap when that pixmap is changed in SetWindowPixmap.
[Test Case]
* See first comment for full testcase.
* Start recordmydesktop, then start window-mocker.
* Kill window-mocker, xserver shouldn't crash.
* Run X in valgrind with --free-fill to be certain.
* Automated version: "autopilot run -v autopilot.
[Regression Potential]
* Fix uploaded to trusty. Will watch ubuntu-x bugs for any new bugs regarding glamor-egl.
[Other Info]
Crash in Xorg dereferencing freed memory when running "autopilot run -v autopilot.
no longer affects: | mesa (Ubuntu) |
Changed in glamor-egl (Ubuntu): | |
assignee: | nobody → Maarten Lankhorst (mlankhorst) |
importance: | Undecided → High |
status: | New → Triaged |
Changed in glamor-egl (Ubuntu): | |
status: | Triaged → In Progress |
Changed in glamor: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in glamor: | |
status: | Confirmed → Fix Released |
description: | updated |
Minimal testcase:
Have window-mocker, recordmydesktop and compiz installed.
Create a file mock with this content:
{"Menu": [{"Menu": ["Open", "Save", "Save As", "Quit"], "Title": "File"}, {"Menu": ["Help 1", "Help 2", "Help 3", "Help 4"], "Title": "Help"}], "Contents": "TextEdit"}
start recordmydesktop with compiz enabled:
/usr/bin/ recordmydesktop --no-sound --no-frame -o /dev/null
start window-mocker:
/usr/bin/python /usr/bin/ window- mocker -testability mock
Kill window mocker, the xserver will crash.