warzone2100 crash in Intel GFX driver

Bug #332682 reported by Singpolyma
2
Affects Status Importance Assigned to Milestone
X.Org X server
Fix Released
Medium
mesa (Ubuntu)
Fix Released
Undecided
Timo Aaltonen

Bug Description

Binary package hint: libgl1-mesa-dri

$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10

$ apt-cache policy libgl1-mesa-dri
libgl1-mesa-dri:
  Installed: 7.2-1ubuntu2
  Candidate: 7.2-1ubuntu2
  Version table:
 *** 7.2-1ubuntu2 0
        500 http://mirror.csclub.uwaterloo.ca intrepid/main Packages
        100 /var/lib/dpkg/status

I was playing warzone2100 when the game crashed. I reported the bug and was told it's a bug in the Intel Graphics driver.

http://developer.wz2100.net/ticket/282

I have below the transcript of two terminal sessions and have attached two crash dumps.

Transcript 1:

$ warzone2100 error : [NETregisterServer] NETregisterServer: Cannot connect to masterserver "lobby.wz2100.net:9997": Couldn't connect to remote host error : [recvDroid] recvDroid: Not enough power to build droid for player = 2 error : [recvDroid] recvDroid: Not enough power to build droid for player = 0 error : [recvDroid] recvDroid: Not enough power to build droid for player = 2 error : [recvDroid] recvDroid: Not enough power to build droid for player = 0 error : [recvDroid] recvDroid: Not enough power to build droid for player = 2 error : [recvDroid] recvDroid: Not enough power to build droid for player = 0 last message repeated 2 times last message repeated 2 times (total 4 repeats)

warzone2100: ../common/dri_bufmgr_fake.c:982: dri_fake_emit_reloc: Assertion `target_fake->is_static target_fake->size_accounted' failed. Saved dump file to '/tmp/warzone2100.gdmp-4oLC38' If you create a bugreport regardings this crash, please include this file. Aborted

Transcript 2:

$ warzone2100
error : [NETfindGame] NETfindGame: Cannot connect to "lobby.wz2100.net:9997": Couldn't connect to remote host
error : [recvDroid] recvDroid: Not enough power to build droid for player = 2
last message repeated 2 times
last message repeated 1 times (total 3 repeats)
error : [recvDroid] recvDroid: Not enough power to build droid for player = 0
error : [recvDroid] recvDroid: Not enough power to build droid for player = 2
error : [recvDroid] recvDroid: Not enough power to build droid for player = 0
error : [recvDroid] recvDroid: Not enough power to build droid for player = 2
error : [recvDroid] recvDroid: Not enough power to build droid for player = 0
error : [recvDroid] recvDroid: Not enough power to build droid for player = 2
error : [recvDroid] recvDroid: Not enough power to build droid for player = 0
last message repeated 2 times
last message repeated 2 times (total 4 repeats)
last message repeated 4 times (total 8 repeats)
last message repeated 3 times (total 11 repeats)
error : [recvDroid] recvDroid: Not enough power to build droid for player = 2
last message repeated 2 times
error : [recvDroid] recvDroid: Not enough power to build droid for player = 0
error : [recvDroid] recvDroid: Not enough power to build droid for player = 2
last message repeated 2 times
error : [recvDroid] recvDroid: Not enough power to build droid for player = 0
last message repeated 2 times
last message repeated 2 times (total 4 repeats)
last message repeated 4 times (total 8 repeats)
last message repeated 3 times (total 11 repeats)
error : [recvDroid] recvDroid: Not enough power to build droid for player = 2
error : [recvDroid] recvDroid: Not enough power to build droid for player = 0
error : [recvDroid] recvDroid: Not enough power to build droid for player = 2
error : [recvDroid] recvDroid: Not enough power to build droid for player = 0
error : [recvDroid] recvDroid: Not enough power to build droid for player = 2
warzone2100: ../common/dri_bufmgr_fake.c:982: dri_fake_emit_reloc: Assertion `target_fake->is_static || target_fake->size_accounted' failed.
Saved dump file to '/tmp/warzone2100.gdmp-4nGQFd'
If you create a bugreport regardings this crash, please include this file.
Aborted

Tags: crash
Revision history for this message
In , Singpolyma (singpolyma) wrote :

Created an attachment (id=23168)
xorg.conf

Revision history for this message
In , Singpolyma (singpolyma) wrote :

Created an attachment (id=23169)
xorg log

Revision history for this message
In , Singpolyma (singpolyma) wrote :

Created an attachment (id=23170)
crash dump #1

Revision history for this message
In , Singpolyma (singpolyma) wrote :

Created an attachment (id=23171)
Crash dump #2

Revision history for this message
Singpolyma (singpolyma) wrote :
Download full text (3.7 KiB)

Binary package hint: libgl1-mesa-dri

$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10

$ apt-cache policy libgl1-mesa-dri
libgl1-mesa-dri:
  Installed: 7.2-1ubuntu2
  Candidate: 7.2-1ubuntu2
  Version table:
 *** 7.2-1ubuntu2 0
        500 http://mirror.csclub.uwaterloo.ca intrepid/main Packages
        100 /var/lib/dpkg/status

I was playing warzone2100 when the game crashed. I reported the bug and was told it's a bug in the Intel Graphics driver.

http://developer.wz2100.net/ticket/282

I have below the transcript of two terminal sessions and have attached two crash dumps.

Transcript 1:

$ warzone2100 error : [NETregisterServer] NETregisterServer: Cannot connect to masterserver "lobby.wz2100.net:9997": Couldn't connect to remote host error : [recvDroid] recvDroid: Not enough power to build droid for player = 2 error : [recvDroid] recvDroid: Not enough power to build droid for player = 0 error : [recvDroid] recvDroid: Not enough power to build droid for player = 2 error : [recvDroid] recvDroid: Not enough power to build droid for player = 0 error : [recvDroid] recvDroid: Not enough power to build droid for player = 2 error : [recvDroid] recvDroid: Not enough power to build droid for player = 0 last message repeated 2 times last message repeated 2 times (total 4 repeats)

warzone2100: ../common/dri_bufmgr_fake.c:982: dri_fake_emit_reloc: Assertion `target_fake->is_static target_fake->size_accounted' failed. Saved dump file to '/tmp/warzone2100.gdmp-4oLC38' If you create a bugreport regardings this crash, please include this file. Aborted

Transcript 2:

$ warzone2100
error : [NETfindGame] NETfindGame: Cannot connect to "lobby.wz2100.net:9997": Couldn't connect to remote host
error : [recvDroid] recvDroid: Not enough power to build droid for player = 2
last message repeated 2 times
last message repeated 1 times (total 3 repeats)
error : [recvDroid] recvDroid: Not enough power to build droid for player = 0
error : [recvDroid] recvDroid: Not enough power to build droid for player = 2
error : [recvDroid] recvDroid: Not enough power to build droid for player = 0
error : [recvDroid] recvDroid: Not enough power to build droid for player = 2
error : [recvDroid] recvDroid: Not enough power to build droid for player = 0
error : [recvDroid] recvDroid: Not enough power to build droid for player = 2
error : [recvDroid] recvDroid: Not enough power to build droid for player = 0
last message repeated 2 times
last message repeated 2 times (total 4 repeats)
last message repeated 4 times (total 8 repeats)
last message repeated 3 times (total 11 repeats)
error : [recvDroid] recvDroid: Not enough power to build droid for player = 2
last message repeated 2 times
error : [recvDroid] recvDroid: Not enough power to build droid for player = 0
error : [recvDroid] recvDroid: Not enough power to build droid for player = 2
last message repeated 2 times
error : [recvDroid] recvDroid: Not enough power to build droid for player = 0
last message repeated 2 times
last message repeated 2 times (total 4 repeats)
last message repeated 4 times (total 8 repeats)
last message repeated 3 times (total 11 repeats)
error : [recvDroid] recvDroid: N...

Read more...

Revision history for this message
Singpolyma (singpolyma) wrote :
Revision history for this message
Singpolyma (singpolyma) wrote :
Revision history for this message
Singpolyma (singpolyma) wrote :
Revision history for this message
In , Eric Anholt (eric-anholt) wrote :

commit 46e9274e8538e5b0517f611dca99dde611f4e95d
Author: Eric Anholt <email address hidden>
Date: Fri Aug 8 13:13:46 2008 -0700

    Replace the check_aperture API with one we can make thread-safe.

    While the bufmgr isn't thread-safe at the moment, we need it to be for share
    objects between contexts.

Revision history for this message
Bryce Harrington (bryce) wrote :

Hi singpolyma,

Could you please collect a full backtrace from when this crash occurs? Directions on collecting full backtraces are at https://wiki.ubuntu.com/X/Backtracing

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

Changed in mesa:
status: New → Incomplete
Revision history for this message
Singpolyma (singpolyma) wrote :

This bug has *apparantly* been fixed upstream http://bugs.freedesktop.org/show_bug.cgi?id=20246

I am running on the debian-experimental libdrm2, which I believe includes the relevant patch, but due to the nature of the bug, have not been able to confirm yet that it is indeed fixed.

Revision history for this message
Bryce Harrington (bryce) wrote :

Timo, guessing this is fixed in 7.4? If not, may want to cherrypick the aforementioned patch.

Changed in mesa (Ubuntu):
assignee: nobody → tjaalton
status: Incomplete → Confirmed
Changed in xorg-server:
status: Unknown → Fix Released
Revision history for this message
In , Singpolyma (singpolyma) wrote :

Running libdrm2 2.4.4+git+20090205+8b88036-1 (from debian) this occurred again today.

Dump attached as Crash dump #3

Terminal log:

libGL: XF86DRIGetClientDriverName: 1.9.0 i915 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/tls/i915_dri.so
libGL: OpenDriver: trying /usr/lib/dri/i915_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
libGL error:
Can't open configuration file /etc/drirc: No such file or directory.
libGL error:
Can't open configuration file /home/singpolyma/.drirc: No such file or directory.
error : [recvDroid] recvDroid: Not enough power to build droid for player = 1
error : [recvDroid] recvDroid: Not enough power to build droid for player = 2
last message repeated 2 times
last message repeated 2 times (total 4 repeats)
last message repeated 3 times (total 7 repeats)
error : [recvDroid] recvDroid: Not enough power to build droid for player = 1
last message repeated 2 times
last message repeated 2 times (total 4 repeats)
warzone2100: ../common/dri_bufmgr_fake.c:982: dri_fake_emit_reloc: Assertion `target_fake->is_static || target_fake->size_accounted' failed.
Saved dump file to '/tmp/warzone2100.gdmp-b5iBAv'
If you create a bugreport regardings this crash, please include this file.
Aborted

Revision history for this message
In , Singpolyma (singpolyma) wrote :

Created an attachment (id=25171)
Crash dump #3

Revision history for this message
Singpolyma (singpolyma) wrote :

Running libdrm2 2.4.4+git+20090205+8b88036-1 (from debian) this occurred again today.

Dump attached.

Terminal log:

libGL: XF86DRIGetClientDriverName: 1.9.0 i915 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/tls/i915_dri.so
libGL: OpenDriver: trying /usr/lib/dri/i915_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
libGL error:
Can't open configuration file /etc/drirc: No such file or directory.
libGL error:
Can't open configuration file /home/singpolyma/.drirc: No such file or directory.
error : [recvDroid] recvDroid: Not enough power to build droid for player = 1
error : [recvDroid] recvDroid: Not enough power to build droid for player = 2
last message repeated 2 times
last message repeated 2 times (total 4 repeats)
last message repeated 3 times (total 7 repeats)
error : [recvDroid] recvDroid: Not enough power to build droid for player = 1
last message repeated 2 times
last message repeated 2 times (total 4 repeats)
warzone2100: ../common/dri_bufmgr_fake.c:982: dri_fake_emit_reloc: Assertion `target_fake->is_static || target_fake->size_accounted' failed.
Saved dump file to '/tmp/warzone2100.gdmp-b5iBAv'
If you create a bugreport regardings this crash, please include this file.
Aborted

Changed in xorg-server:
status: Fix Released → Confirmed
Revision history for this message
In , Eric Anholt (eric-anholt) wrote :

Since the reported assertion failure is fake bufmgr-only, this is fixed with GEM and UXA.

Changed in xorg-server:
status: Confirmed → Fix Released
Revision history for this message
Bryce Harrington (bryce) wrote :

According to the upstream bug, this issue occurs only with non-UXA setups. Since with Karmic we're only providing UXA on the -intel driver, this bug is not relevant now.

Changed in mesa (Ubuntu):
status: Confirmed → Fix Released
Changed in xorg-server:
importance: Unknown → Medium
Changed in xorg-server:
importance: Medium → Unknown
Changed in xorg-server:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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