Skip to contentSkip to conversation

New: [bisected regression] sauerbraten asserts with: Assertion `code->inst_end >= 0' failed.

Bug 26954 [email protected] 1 participant 6 messages Mar 8, 2010 – Mar 20, 2010

lore
Share & tools
lore
#0 lore raw

http://bugs.freedesktop.org/show_bug.cgi?id=26954

Summary: [bisected regression] sauerbraten asserts with:
Assertion `code->inst_end >= 0' failed.
Product: Mesa
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: Drivers/DRI/r300
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]

Sauerbraten game creashes on loading any map with:
sauer_client: r500_fragprog_emit.c:472: r500BuildFragmentProgramHwCode:
Assertion `code->inst_end >= 0' failed.

This is happening since:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e5c691f445e1c02e6e2f75b817b13d7024f7a3a6

and affects both master and 7.8 branch.

Card:
GL_RENDERER = Mesa DRI R300 (RV530 71C5) 20090101 x86/MMX/SSE2 TCL

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#1 lore raw

[Bug 26954] [bisected regression] sauerbraten asserts with: Assertion `code->inst_end >= 0' failed.

http://bugs.freedesktop.org/show_bug.cgi?id=26954

--- Comment #1 from Fabio Pedretti <[email protected]> 2010-03-09 03:18:36 PST --- Created an attachment (id=33888)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33888)
sauerbraten backtrace

Note that shaders have to be enabled in the game to get the assertion failure.

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#2 lore raw

[Bug 26954] [bisected regression] sauerbraten asserts with: Assertion `code->inst_end >= 0' failed.

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26954

--- Comment #2 from Fabio Pedretti <[email protected]> 2010-03-15 02:20:35 PST --- Created an attachment (id=34056)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34056)
r300 compiler: workaround for sauerbraten crash

The game always run fine before the recently added assert. The attached patch uses _mesa_problem instead of the assert. Please apply the patch to the 7.8 branch until the real bug is fixed.

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#3 lore raw

[Bug 26954] [bisected regression] sauerbraten asserts with: Assertion `code->inst_end >= 0' failed.

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26954

--- Comment #3 from Dave Airlie <[email protected]> 2010-03-15 02:26:44 PST --- demos/shadowtex also has this assert firing.

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#4 lore raw

[Bug 26954] [bisected regression] sauerbraten asserts with: Assertion `code->inst_end >= 0' failed.

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26954

Marek Olšák <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Marek Olšák <[email protected]> 2010-03-20 11:10:55 PST --- I've committed a fix to the 7.8 branch. The game now works here with r300c and shaders enabled. Closing...

Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#5 lore raw

[Bug 26954] [bisected regression] sauerbraten asserts with: Assertion `code->inst_end >= 0' failed.

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26954

Marek Olšák <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED

Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel