Summary: | SIGSEGV program/ir_to_mesa.cpp:1596 | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Mesa core | Assignee: | Eric Anholt <eric> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | critical | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vinson Lee
2010-08-23 16:52:14 UTC
6606fde3ec18288ecc4c6ce6d3fd32224a6c5248 is the first bad commit commit 6606fde3ec18288ecc4c6ce6d3fd32224a6c5248 Author: Eric Anholt <eric@anholt.net> Date: Sun Aug 22 18:15:20 2010 -0700 glsl: Convert constant folding to the rvalue visitor. This should be mostly a noop, except that a plain dereference of a variable that is not part of a constant expression could now get "constant folded". I expect that for all current backends this will be either a noop, or possibly a win when it provokes more ir_algebraic. It'll also ensure that when new features are added, tree walking will work normally. Before this, constants weren't getting folded inside of loops. :040000 040000 601ca0726891241b4e7dc80c66b3da5f175e48f0 1074a237465baab107934540e0e89c84b9482eb5 M src bisect run success I'm not seeing this with glsl-array-bounds-02 (it just fails) but I am seeing the failed assertion with glsl-fs-main-return on a 32-bit host. No failed assertions on a 64-bit host. Also, the assertions doesn't fail when I run in gdb. Some kind of crazy memory/compiler bug I guess. I'm trying a few things... Seems like a gcc bug. Moving the constructor from the .h file to the .cpp file works around the issue. I'm using gcc 4.4.4 on 32-bit Linux. The assertion also failed for me when I ran many other GLSL tests/demos but now they all seem OK. Fixed with commit 2eb8b2d3bb68cef1d3fc431debe1b18f6c017aeb mesa: 2f5bf20e44d509fa3afbe2cfbb9bb65347daea6a (master) The crash still occurs for me. commit 264ba1ab88f273dc92add8018f24edcdd67fa5e5 Author: Eric Anholt <eric@anholt.net> Date: Thu Aug 26 11:23:09 2010 -0700 ir_to_mesa: Don't assume that an ir_dereference_array is of a variable. Fixes: glsl-array-bounds-02 (software) glsl-array-bounds-04 glsl-array-bounds-06 (software) glsl-array-bounds-08 mesa: 977f7d48eefee281cc6bb3ccfb462290854b05cd (master) Verified fixed. |
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.