<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 --- - [bisected] Eufloria HD crash on start"
href="https://bugs.freedesktop.org/show_bug.cgi?id=72281">72281</a>
</td>
</tr>
<tr>
<th>Keywords</th>
<td>regression
</td>
</tr>
<tr>
<th>CC</th>
<td>eric@anholt.net
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>[bisected] Eufloria HD crash on start
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>pavel.ondracka@email.cz
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Component</th>
<td>Mesa core
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>Eufloria HD crash on start here with all tested drivers (llvmpipe, softpipe,
r300g). This is a regression introduced by:
e5885c119de1e508099cc1111e1c9f8ff00fab88 is the first bad commit
commit e5885c119de1e508099cc1111e1c9f8ff00fab88
Author: Eric Anholt <<a href="mailto:eric@anholt.net">eric@anholt.net</a>>
Date: Fri Sep 20 10:13:32 2013 -0700
mesa: Dynamically allocate the storage for program local parameters.
The array was 64kb per struct gl_program, plus we statically stored a copy
of one on disk for _mesa_DummyProgram. Given that most struct gl_programs
we generate are for GLSL shaders that don't have local parameters, this
was a waste.
Since you can store and fetch parameters beyond what the program actually
uses, we do have to do a late allocation if necessary at
GetProgramLocalParameter time.
Reduces peak memory usage in the dota2 trace I made by 76MB (4.5%)
Reviewed-by: Brian Paul <<a href="mailto:brianp@vmware.com">brianp@vmware.com</a>>
Reviewed-by: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>>
Program received signal SIGSEGV, Segmentation fault.
__memcpy_ia32 () at ../sysdeps/i386/i686/memcpy.S:74
74 rep
#0 __memcpy_ia32 () at ../sysdeps/i386/i686/memcpy.S:74
#1 0x00000001 in ?? ()
#2 0xb6336a15 in _mesa_ProgramLocalParameters4fvEXT (target=34336, index=1,
count=4, params=0x87c8f48) at main/arbprogram.c:551
#3 0x4e9b3dbc in ?? () from /usr/local/games/EufloriaHD/lib/libCgGL.so
#4 0x4e9afc6a in ?? () from /usr/local/games/EufloriaHD/lib/libCgGL.so
#5 0x4e9af055 in ?? () from /usr/local/games/EufloriaHD/lib/libCgGL.so
#6 0x4e987702 in ?? () from /usr/local/games/EufloriaHD/lib/libCgGL.so
#7 0x4e987819 in ?? () from /usr/local/games/EufloriaHD/lib/libCgGL.so
#8 0x4e9899ee in cgGLLoadProgram () from
/usr/local/games/EufloriaHD/lib/libCgGL.so
#9 0x081e85f8 in Coal::Shader::LoadBinary(char const*) ()
#10 0x081e7a06 in Coal::Win32Renderer::LoadShaderBinary(char const*, bool) ()
#11 0x080e64dd in Drawing::Drawing() ()
#12 0x080fb7c4 in EufloriaApp::Initialise() ()
#13 0x081db653 in Coal::App::Run() ()
#14 0x081579a5 in main ()</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>