[Mesa-dev] [Bug 43682] New: SIGSEGV src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4560

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Dec 10 00:02:56 PST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=43682

             Bug #: 43682
           Summary: SIGSEGV
                    src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4560
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: vlee at vmware.com
                CC: maraeo at gmail.com


mesa: 06f217d80f3d1318da4974bf7b31ea7edcf5eb0b

Run piglit test fdo23670-depth_test on a Gallium driver.

$ ./bin/fdo23670-depth_test -auto
Segmentation fault (core dumped)

(gdb) bt
#0  0x00007effa69ce1b7 in st_translate_program (ctx=0x25fdd10, procType=0,
ureg=0x280a730, program=0x2713570,
    proginfo=0x2860380, numInputs=1, inputMapping=0x7fffa6d5f500,
inputSemanticName=0x7fffa6d5f680 "\005\366զ",
    inputSemanticIndex=0x7fffa6d5f6a0 "", interpMode=0x7fffa6d5f580,
numOutputs=1, outputMapping=0x7fffa6d5f600,
    outputSemanticName=0x7fffa6d5f6c0 "\001\367զ\377\177",
outputSemanticIndex=0x7fffa6d5f6e0 "",
    passthrough_edgeflags=0 '\000') at
src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4560
#1  0x00007effa68edd53 in st_translate_fragment_program (st=0x2666b20,
stfp=0x2860380, key=0x7fffa6d5f780)
    at src/mesa/state_tracker/st_program.c:653
#2  0x00007effa68edf73 in st_get_fp_variant (st=0x2666b20, stfp=0x26e04d0,
key=0x7fffa6d5f780)
    at src/mesa/state_tracker/st_program.c:728
#3  0x00007effa69b757d in get_color_fp_variant (st=0x2666b20) at
src/mesa/state_tracker/st_cb_drawpixels.c:1008
#4  0x00007effa69b779b in st_DrawPixels (ctx=0x25fdd10, x=0, y=0, width=1,
height=1, format=6408, type=5126,
    unpack=0x260d5e0, pixels=0x669300) at
src/mesa/state_tracker/st_cb_drawpixels.c:1089
#5  0x00007effa692046b in _mesa_DrawPixels (width=1, height=1, format=6408,
type=5126, pixels=0x669300)
    at src/mesa/main/drawpix.c:131
#6  0x0000000000429929 in piglit_display () at
piglit/tests/bugs/fdo23670-depth_test.c:67
#7  0x0000000000429a29 in display () at piglit/tests/util/piglit-framework.c:56
#8  0x00007effa62bd220 in fghRedrawWindow (window=0x2541ad0) at
freeglut_main.c:210
#9  fghcbDisplayWindow (window=0x2541ad0, enumerator=0x7fffa6d5f9b0) at
freeglut_main.c:227
#10 0x00007effa62c0939 in fgEnumWindows (enumCallback=0x7effa62bd120
<fghcbDisplayWindow>, enumerator=0x7fffa6d5f9b0)
    at freeglut_structure.c:394
#11 0x00007effa62bd65a in fghDisplayAll () at freeglut_main.c:249
#12 glutMainLoopEvent () at freeglut_main.c:1450
#13 0x00007effa62bdf0e in glutMainLoop () at freeglut_main.c:1498
#14 0x000000000042a14f in main (argc=1, argv=0x7fffa6d5fd08)
    at piglit/tests/util/piglit-framework.c:294
(gdb) frame 0
#0  0x00007effa69ce1b7 in st_translate_program (ctx=0x25fdd10, procType=0,
ureg=0x280a730, program=0x2713570,
    proginfo=0x2860380, numInputs=1, inputMapping=0x7fffa6d5f500,
inputSemanticName=0x7fffa6d5f680 "\005\366զ",
    inputSemanticIndex=0x7fffa6d5f6a0 "", interpMode=0x7fffa6d5f580,
numOutputs=1, outputMapping=0x7fffa6d5f600,
    outputSemanticName=0x7fffa6d5f6c0 "\001\367զ\377\177",
outputSemanticIndex=0x7fffa6d5f6e0 "",
    passthrough_edgeflags=0 '\000') at
src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4560
4560          if (program->shader_program->FragDepthLayout !=
FRAG_DEPTH_LAYOUT_NONE) {
(gdb) print program->shader_program
$3 = (gl_shader_program *) 0x0


06f217d80f3d1318da4974bf7b31ea7edcf5eb0b is the first bad commit
commit 06f217d80f3d1318da4974bf7b31ea7edcf5eb0b
Author: Marek Olšák <maraeo at gmail.com>
Date:   Fri Nov 18 15:45:03 2011 +0100

    gallium: implement ARB_conservative_depth

    This adds a new TGSI property to represent the GLSL layout qualifier in
TGSI.

:040000 040000 60cb0724736eca98d91fc0e3c0de339832a33416
e5e763680792788c93c6ebfdf11eac6527792617 M      src
bisect run success

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


More information about the mesa-dev mailing list