Bug 20246 - [852GM/855GM] Crash due to assertion failure
Summary: [852GM/855GM] Crash due to assertion failure
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-21 14:41 UTC by Stephen Paul Weber
Modified: 2009-06-30 20:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
output of dmesg (32.86 KB, text/plain)
2009-02-21 14:41 UTC, Stephen Paul Weber
Details
xorg.conf (1.73 KB, application/octet-stream)
2009-02-21 14:42 UTC, Stephen Paul Weber
Details
xorg log (25.15 KB, text/plain)
2009-02-21 14:42 UTC, Stephen Paul Weber
Details
crash dump #1 (14.53 KB, text/plain)
2009-02-21 14:42 UTC, Stephen Paul Weber
Details
Crash dump #2 (15.16 KB, text/plain)
2009-02-21 14:43 UTC, Stephen Paul Weber
Details
Crash dump #3 (14.27 KB, text/plain)
2009-04-26 20:09 UTC, Stephen Paul Weber
Details

Description Stephen Paul Weber 2009-02-21 14:41:28 UTC
Created attachment 23167 [details]
output of dmesg

$ uname -m
i686

$ glxinfo | grep ^OpenGL
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 852GM/855GM 20061102 x86/MMX/SSE2
OpenGL version string: 1.3 Mesa 7.2
OpenGL extensions:

$ uname -r
2.6.27-11-generic

Ubuntu 8.10

Sony Vaio (Laptop, internal LCD)

Steps to reproduce:

Play warzone2100 ... will crash at some random point in the game.

Additional info:

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
Comment 1 Stephen Paul Weber 2009-02-21 14:42:03 UTC
Created attachment 23168 [details]
xorg.conf
Comment 2 Stephen Paul Weber 2009-02-21 14:42:28 UTC
Created attachment 23169 [details]
xorg log
Comment 3 Stephen Paul Weber 2009-02-21 14:42:45 UTC
Created attachment 23170 [details]
crash dump #1
Comment 4 Stephen Paul Weber 2009-02-21 14:43:02 UTC
Created attachment 23171 [details]
Crash dump #2
Comment 5 Eric Anholt 2009-03-03 12:03:02 UTC
commit 46e9274e8538e5b0517f611dca99dde611f4e95d
Author: Eric Anholt <eric@anholt.net>
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.
Comment 6 Stephen Paul Weber 2009-04-26 20:09:18 UTC
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
Comment 7 Stephen Paul Weber 2009-04-26 20:09:50 UTC
Created attachment 25171 [details]
Crash dump #3
Comment 8 Eric Anholt 2009-06-30 20:10:05 UTC
Since the reported assertion failure is fake bufmgr-only, this is fixed with GEM and UXA.


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.