intel_buffer_objects.c:103: intel_bufferobj_free: Assertion `!obj->Pointer' failed.

Bug #396667 reported by Kees Cook
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mesa
Fix Released
High
mesa (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

$ chromium-bsu
chromium-bsu: intel_buffer_objects.c:103: intel_bufferobj_free: Assertion `!obj->Pointer' failed.
Aborted (core dumped)

Appears to be fixed upstream: http://bugs.freedesktop.org/show_bug.cgi?id=22428

ProblemType: Bug
Architecture: amd64
Date: Tue Jul 7 10:41:36 2009
DistroRelease: Ubuntu 9.10
Package: libgl1-mesa-dri 7.5~rc4-1ubuntu2
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.31-2-generic root=/dev/mapper/systemvg-root2lv ro splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-2.16-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu4
 libgl1-mesa-glx 7.5~rc4-1ubuntu2
 libdrm2 2.4.11-0ubuntu1
 xserver-xorg-video-intel 2:2.7.99.1+git20090602.ec2fde7c-0ubuntu4
 xserver-xorg-video-ati 1:6.12.99+git20090629.f39cafc5-0ubuntu1
SourcePackage: mesa
Uname: Linux 2.6.31-2-generic x86_64
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
dmi.bios.date: 09/22/2008
dmi.bios.vendor: Intel Corp.
dmi.bios.version: JOQ3510J.86A.0954.2008.0922.2331
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: DQ35JO
dmi.board.vendor: Intel Corporation
dmi.board.version: AAD82085-800
dmi.chassis.type: 3
dmi.modalias: dmi:bvnIntelCorp.:bvrJOQ3510J.86A.0954.2008.0922.2331:bd09/22/2008:svn:pn:pvr:rvnIntelCorporation:rnDQ35JO:rvrAAD82085-800:cvn:ct3:cvr:
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: x86_64kernel: 2.6.31-2-generic

Related branches

Revision history for this message
In , Haien-liu (haien-liu) wrote :

Created an attachment (id=27029)
xorg conf file

Revision history for this message
In , Haien-liu (haien-liu) wrote :

mesa demo/isosurf got the similar issue,but the error is as below:
isosurf: intel_buffer_objects.c:103: intel_bufferobj_free: Assertion `!obj->Pointer' failed.
Aborted

Revision history for this message
In , Brian-paul (brian-paul) wrote :

I can't reproduce this here with Mesa 7.5.
I'm checking in some fixes for glxcontexts.c though.

Revision history for this message
In , Jonathan Michalon (johndescs) wrote :

Same issue here. I'm using version of
7.5.0~git20090622+mesa-7-5-branch.abfd56c2-0ubuntu0sarvatt
package. No 3D application working anymore, switching to High importance.

Revision history for this message
In , Haien-liu (haien-liu) wrote :

same issue happens in playing neverball game.

Revision history for this message
In , Gordon Jin (gordon-jin) wrote :

Ian, can you reproduce?

I'm increasing severity since it impacts real-world application.

Revision history for this message
In , Haien-liu (haien-liu) wrote :

the issue also impacts our glean case (texgen,vertattrib),I think it is a regression in mesa 7.5 branch. I am trying to bisect.

Revision history for this message
In , Haien-liu (haien-liu) wrote :

I find the reason, below commit caused this issue:
commit ff3da0966fc91cd5bcfed994e5edadbf25903c47
Author: Eric Anholt <email address hidden>
Date: Tue Jun 2 06:53:40 2009 -0700

 i915: Don't put VBOs in graphics memory unless required for an operation.

 This saves doing swtnl from uncached memory, which is painful. Improves
 clutter test-text performance by 10% since it started using VBOs.
 (cherry picked from commit a945e203d4fe254593bc0c5c5d6caca45e65f9f7)

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

commit c72261f2a886e1f53025c2cf4b38b33ccfd62857
Author: Eric Anholt <email address hidden>
Date: Mon Jun 29 18:48:27 2009 -0700

    i915: Fix assertion failure on remapping a non-BO-backed VBO.

    Failure to set the obj->Pointer back to null tripped up the assertion.
    Bug #22428.
    (cherry picked from commit 57a06d3a48c9af1067ec05e3ad96c58f4b9b99be)

Revision history for this message
In , Haien-liu (haien-liu) wrote :

verified with below commits:
Libdrm: (master)de1ed01214874dcdd6116ff2587c8710d6ed4d2d
Mesa: (mesa_7_5_branch)4e43126a5915b1233c89c61400c8270d23d48ea3
Xserver: (server-1.6-branch)a7a93c12f91e0de72868f17a555215f1795d9e2f
Xf86_video_intel: (master)afac333bef4a0ac934f0e4d933dc5053d81ca88c
Kernel: (qa-branch)07a2039b8eb0af4ff464efd3dfd95de5c02648c6

Revision history for this message
Kees Cook (kees) wrote :

$ chromium-bsu
chromium-bsu: intel_buffer_objects.c:103: intel_bufferobj_free: Assertion `!obj->Pointer' failed.
Aborted (core dumped)

Appears to be fixed upstream: http://bugs.freedesktop.org/show_bug.cgi?id=22428

ProblemType: Bug
Architecture: amd64
Date: Tue Jul 7 10:41:36 2009
DistroRelease: Ubuntu 9.10
Package: libgl1-mesa-dri 7.5~rc4-1ubuntu2
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.31-2-generic root=/dev/mapper/systemvg-root2lv ro splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-2.16-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu4
 libgl1-mesa-glx 7.5~rc4-1ubuntu2
 libdrm2 2.4.11-0ubuntu1
 xserver-xorg-video-intel 2:2.7.99.1+git20090602.ec2fde7c-0ubuntu4
 xserver-xorg-video-ati 1:6.12.99+git20090629.f39cafc5-0ubuntu1
SourcePackage: mesa
Uname: Linux 2.6.31-2-generic x86_64
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
dmi.bios.date: 09/22/2008
dmi.bios.vendor: Intel Corp.
dmi.bios.version: JOQ3510J.86A.0954.2008.0922.2331
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: DQ35JO
dmi.board.vendor: Intel Corporation
dmi.board.version: AAD82085-800
dmi.chassis.type: 3
dmi.modalias: dmi:bvnIntelCorp.:bvrJOQ3510J.86A.0954.2008.0922.2331:bd09/22/2008:svn:pn:pvr:rvnIntelCorporation:rnDQ35JO:rvrAAD82085-800:cvn:ct3:cvr:
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: x86_64kernel: 2.6.31-2-generic

Revision history for this message
Kees Cook (kees) wrote :
Changed in mesa:
status: Unknown → Fix Released
Revision history for this message
Robert Hooker (sarvatt) wrote :

This was fixed shortly after mesa 7.5 rc4 released. debdiff attached containing the patch incase it's important enough to patch before 7.5 final is released and synced.

mesa (7.5~rc4-1ubuntu3) karmic; urgency=low

  * Add 108_bo_assertion.patch: Fix assertion failure on remapping a
    non-BO-backed VBO with intel video. (LP: #396667)

 -- Robert Hooker (Sarvatt) <email address hidden> Tue, 07 Jul 2009 14:35:54 -0400

Changed in mesa (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mesa - 7.5~rc4-1ubuntu3

---------------
mesa (7.5~rc4-1ubuntu3) karmic; urgency=low

  * Add 108_bo_assertion.patch: Fix assertion failure on remapping a
    non-BO-backed VBO with intel video. (LP: #396667)

 -- Robert Hooker (Sarvatt) <email address hidden> Tue, 07 Jul 2009 14:35:54 -0400

Changed in mesa (Ubuntu):
status: Confirmed → Fix Released
Changed in mesa:
importance: Unknown → High
Changed in mesa:
importance: High → Unknown
Changed in mesa:
importance: Unknown → High
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.