[Mesa-dev] [Bug 58718] New: Crash in src_register() during glClear() call

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 24 05:12:53 PST 2012


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

          Priority: medium
            Bug ID: 58718
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: Crash in src_register() during glClear() call
          Severity: critical
    Classification: Unclassified
                OS: Windows (All)
          Reporter: s_anikin at mail.ru
          Hardware: x86 (IA32)
            Status: NEW
           Version: 9.0
         Component: Other
           Product: Mesa

Mesa3d 9.0 crashes in Gallium software rasterizer (gallium/targets/libgl-gdi) +
LLVM 3.1 compiled with MS VC++ 2010 for Win32 platform during glClear() call.

OS: Windows 7 64-bit.

The stack dump as reported by MS VC++ 2010 debugger:

    src_register(st_translate * t=0x0046b498, gl_register_file file=52787676,
int index=638833664) Line 233    C
     translate_src(st_translate * t=0x0046b498, const prog_src_register *
SrcReg=0x0326ad8c) Line 348    C
     compile_instruction(st_translate * t=0x0046b498, const prog_instruction *
inst=0x0326ad88, unsigned char clamp_dst_color_output=0) Line 698    C
     st_translate_mesa_program(gl_context * ctx=0x006f0ec0, unsigned int
procType=4633752, ureg_program * ureg=0x037353d0, const gl_program *
program=0x032579dc, unsigned int numInputs=3, const unsigned int *
inputMapping=0x032579dc, const unsigned char * inputSemanticName=0x00000000,
const unsigned char * inputSemanticIndex=0x00000000, const unsigned int *
interpMode=0x00000000, unsigned int numOutputs=3, const unsigned int *
outputMapping=0x03257ae4, const unsigned char * outputSemanticName=0x03257b70,
const unsigned char * outputSemanticIndex=0x03257b93, unsigned char
passthrough_edgeflags=0, unsigned char clamp_color=0) Line 1250    C
     st_get_vp_variant(st_context * st=0x03390970, st_vertex_program *
stvp=0x2613d400, const st_vp_variant_key * key=0x0046c520) Line 430    C
     update_vp(st_context * st=0x03390970) Line 154    C
     st_validate_state(st_context * st=0x03390970) Line 223    C
     st_Clear(gl_context * ctx=0x006f0ec0, unsigned int mask=256) Line 459    C
     _mesa_Clear(unsigned int mask=16640) Line 233    C
     execute_list(gl_context * ctx=0x006f0ec0, unsigned int list=1) Line 7773  
 C
     _mesa_BindTexture(unsigned int target=1, unsigned int texName=4652224)
Line 1250    C
     GLWidget::paintGL() Line 181    C++

The sample application to reproduce the problem is attached to
https://bugs.freedesktop.org/show_bug.cgi?id=58716.

The strange point is that Mesa tries to do something related to vertex
programs, while the sample application does not use shaders at all.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20121224/f0077229/attachment.html>


More information about the mesa-dev mailing list