<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Crash in src_register() during glClear() call"
href="https://bugs.freedesktop.org/show_bug.cgi?id=58718">58718</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Crash in src_register() during glClear() call
</td>
</tr>
<tr>
<th>Severity</th>
<td>critical
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>s_anikin@mail.ru
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86 (IA32)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>9.0
</td>
</tr>
<tr>
<th>Component</th>
<td>Other
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>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
<a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Crash in _mesa_unpack_rgba_row() during glDrawArrays() call"
href="show_bug.cgi?id=58716">https://bugs.freedesktop.org/show_bug.cgi?id=58716</a>.
The strange point is that Mesa tries to do something related to vertex
programs, while the sample application does not use shaders at all.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>