[915 mesa] compiz crashed with SIGSEGV in i915_emit_state()

Bug #733346 reported by lent
44
This bug affects 6 people
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Invalid
High
Unassigned
Oneiric
Invalid
High
Unassigned
xserver-xorg-video-intel (Ubuntu)
Fix Released
Undecided
Unassigned
Oneiric
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: compiz

Logged in. Opened gnome-terminal. Ran compiz --replace. Did suspend. Closed screen. Attached external monitor and KVM switch. Opened screen. Pressed power button to end suspend. compiz gave Segmenation fault (core dumped).

TEST CASE:
1. On oneiric: power on the system and login
2. Plug in an external monitor

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: compiz-core 1:0.9.4-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.38-1.28-generic 2.6.38-rc2
Uname: Linux 2.6.38-1-generic i686
Architecture: i386
Date: Fri Mar 11 11:00:50 2011
ExecutablePath: /usr/bin/compiz
InstallationMedia: Ubuntu-Netbook-Remix 9.10 "Karmic Koala" - Release i386 (20091028.4)
ProcCmdline: compiz --replace
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
 LANGUAGE=en_US:en
SegvAnalysis:
 Segfault happened at: 0xd468ac <i915_emit_state+444>: mov (%eax),%eax
 PC (0x00d468ac) ok
 source "(%eax)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%eax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: compiz
StacktraceTop:
 i915_emit_state (intel=0x84aa218) at i915_vtbl.c:312
 intelRenderStart (ctx=0x84aa218) at intel_tris.c:1088
 run_render (ctx=0x84aa218, stage=0x84ff3f0) at tnl/t_vb_render.c:276
 _tnl_run_pipeline (ctx=0x84aa218) at tnl/t_pipeline.c:153
 intelRunPipeline (ctx=0x84aa218) at intel_tris.c:1075
Title: compiz crashed with SIGSEGV in i915_emit_state()
UpgradeStatus: Upgraded to natty on 2011-02-02 (37 days ago)
UserGroups: adm admin cdrom dialout dip fax floppy fuse lpadmin plugdev sambashare tape video

Revision history for this message
lent (lent) wrote :
visibility: private → public
Revision history for this message
lent (lent) wrote :

Copy of gnome-terminal session screen attached.

Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 i915_emit_state () from /usr/lib/dri/i915_dri.so
 intelRenderStart () from /usr/lib/dri/i915_dri.so
 run_render () from /usr/lib/dri/libdricore.so
 _tnl_run_pipeline () from /usr/lib/dri/libdricore.so
 intelRunPipeline () from /usr/lib/dri/i915_dri.so

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in compiz (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
tags: added: compiz-0.9
Revision history for this message
Roman (m01brv) wrote : Re: compiz crashed with SIGSEGV in i915_emit_state()

I believe I experienced a very similar crash with KWin. It also ends in the same functions of i915_dri, so this issue is probably related to the intel driver-related stack.
The crash occured after I stopped the Euphoria screensaver (just by moving mouse), right before the normal desktop should appear. KWin restarted automatically, however.

Revision history for this message
Roman (m01brv) wrote :

My crash is for Ubuntu 11.04 too, with latest today updates

Revision history for this message
Roman (m01brv) wrote :

The crash in KWin is well-reproducible. The crash (or sometimes KDE hang-up) happens each time the screensaver is interrupted. It is necessary to have the option "Suspend desktop effects for fullscreen windows" ticked on (the last KWin settings tab). If this option is turned off, the crashes disappear.

Revision history for this message
Roman (m01brv) wrote :

After today update of the intel driver, I experience only X hang-ups instead of crashes (again after the screensaver interrupt, if the "Suspend desktop effects for fullscreen windows" is ticked on).
I now looked in XOrg.0.log and found the following lines there

[ 18468.582] (WW) intel(0): flip queue failed: Device or resource busy
[ 18468.582] (WW) intel(0): Page flip failed: Device or resource busy
and then X hang.

This is probably due to the unstable page flipping in the intel driver and is tied to this bug:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/737602
My video card is 82G33/G31 Express integrated Graphics Controller

However, the crashes do not happen anymore for me, so now I cannot say the page flipping issue is indeed related to this bug.
There may be multiple issues. It is better if the original reporter retests this with compiz.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

To reproduce on Oneiric:
Plug an external monitor.

Changed in compiz (Ubuntu):
assignee: nobody → Canonical Desktop Experience Team (canonical-dx-team)
importance: Medium → High
status: New → Confirmed
description: updated
Revision history for this message
David Barth (dbarth) wrote :

This doesn't look like a compiz bug to me, and as confirmed by the stacktrace

David Barth (dbarth)
Changed in compiz (Ubuntu Oneiric):
status: Confirmed → Invalid
assignee: Canonical Desktop Experience Team (canonical-dx-team) → nobody
bugbot (bugbot)
tags: added: crash
Chris Wilson (ickle)
summary: - compiz crashed with SIGSEGV in i915_emit_state()
+ [915 mesa] compiz crashed with SIGSEGV in i915_emit_state()
Chris Wilson (ickle)
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Fix Released
Revision history for this message
Rolf Leggewie (r0lf) wrote :

oneiric has seen the end of its life and is no longer receiving any updates. Marking the oneiric task for this ticket as "Won't Fix".

Changed in xserver-xorg-video-intel (Ubuntu Oneiric):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.