Bug 34167 - [bisected pineview]some piglit and oglc case segfault
Summary: [bisected pineview]some piglit and oglc case segfault
Status: VERIFIED DUPLICATE of bug 34119
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: git
Hardware: All Linux (All)
: high major
Assignee: Eric Anholt
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-11 00:41 UTC by fangxun
Modified: 2011-02-14 23:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description fangxun 2011-02-11 00:41:54 UTC
System Environment:
--------------------------
Arch:           i386
Platform:       pineview 
Libdrm:		(master)2.4.23-6-g550fe2ca3b29ad2191eab4fdfbed9ed21e25492d
Mesa:		(master)fc9170d0cf1c7a7dcd580e9da17742a6ab68bd1b
Xserver:        (master)xorg-server-1.9.99.901-197-gea1ffd3e60bdcedbec5a6f28929f8677bf45d450
Xf86_video_intel: (master)2.14.0-27-g90c56ced00f8b951a1a72885cac8eba956a006bf
Kernel:	(drm-intel-next) 9db4a9c7b2a3bd5b4952846bc0c2f58daa80ddd7


Bug detailed description:
-------------------------
8 oglc fbo sub-case: mrt.renderToTexFragShader, mrt.renderToRbFragShader, mrt.renderToTexFragShaderTexTargets, mrt.renderToTexFragShaderZOffset, mrt.renderToTexFragShaderBaseLevel, mrt.renderToTexFragShaderTexSizes, mrt.renderToRbFragShaderIntFormat, mrt.renderToRbFragShaderRbSizes.

3 oglc shad-interactions sub-case: advanced.TestVaryingMat2, advanced.TestVaryingMat3, advanced.TestVaryingMat4.

1 oglc GLSLlinker sub-case: negative.varying.beyondMaxVaryingFloats
1 pigilt case: shaders_glsl-vs-varying-array

Bisect find 76857e8954484d5bf8758d7bfc87f264f95a0ebd is the first bad commit. commit 76857e8954484d5bf8758d7bfc87f264f95a0ebd
Author: Eric Anholt <eric@anholt.net>
Date:   Fri Feb 4 13:31:02 2011 -0600

    mesa: Fix the Mesa IR copy propagation to not read past writes to the reg.
    
    Fixes glsl-vs-post-increment-01.
    
    Reviewed-by: José Fonseca <jfonseca@vmware.com>

Backtrace[fbo(mrt.renderToTexFragShader)]:
#0  0xb7c850c6 in ir_to_mesa_visitor::copy_propagate (this=0xbfffcd60) at program/ir_to_mesa.cpp:2757
#1  0xb7c85d72 in get_mesa_program (shader=0x999b850, shader_program=0x97b6b70, ctx=0x941ca50) at program/ir_to_mesa.cpp:2909
#2  _mesa_ir_link_shader (shader=0x999b850, shader_program=0x97b6b70, ctx=0x941ca50) at program/ir_to_mesa.cpp:3094
#3  0xb7c834f1 in _mesa_glsl_link_shader (ctx=0x941ca50, prog=0x97b6b70) at program/ir_to_mesa.cpp:3248
#4  0xb7bc3a59 in link_program (ctx=0x941ca50, program=<value optimized out>) at main/shaderapi.c:885
#5  0x082a3c85 in LinkAProgramObject(unsigned int) ()
#6  0x0810b817 in InitializeAndLoadShader(unsigned int*, unsigned int*, char*) ()
#7  0x081297cb in MultiRenderTexTargetsTest(FBOTestContext*) ()
#8  0x08111c81 in FramebufferObjectExec(_testParameters*) ()
#9  0x088da11e in callFunctionHandleExceptionsInner(long (*)(_testParameters*), long (*)(), _testParameters*, char*) ()
#10 0x088da26e in callFunctionHandleExceptions(long (*)(_testParameters*), long (*)(), _testParameters*) ()
#11 0x088d8d60 in Driver(testR*, testF*) ()
#12 0x0888b187 in Exec(_TK_EventRec*) ()
#13 0x088d7d05 in tkExec(long (*)(_TK_EventRec*)) ()
#14 0x0888a487 in tkShellExecute(long, long, long (*)(_TK_EventRec*), testR*) ()
#15 0x08890f7d in main ()
Comment 1 Ian Romanick 2011-02-11 15:11:58 UTC
It seems obvious that this bug has nothing to do with the i915 driver.  This should have been filed against the glsl-compiler component.

*** This bug has been marked as a duplicate of bug 34119 ***
Comment 2 fangxun 2011-02-14 23:35:33 UTC
Verified with Mesa(master)07eb660fc92b63213b542d47671b0d944286b77a.


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.