[Mesa-dev] [Bug 72281] New: [bisected] Eufloria HD crash on start
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Dec 3 11:56:37 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=72281
Priority: medium
Bug ID: 72281
Keywords: regression
CC: eric at anholt.net
Assignee: mesa-dev at lists.freedesktop.org
Summary: [bisected] Eufloria HD crash on start
Severity: normal
Classification: Unclassified
OS: All
Reporter: pavel.ondracka at email.cz
Hardware: Other
Status: NEW
Version: git
Component: Mesa core
Product: Mesa
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 <eric at anholt.net>
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 <brianp at vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
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 ()
--
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/20131203/7901ad63/attachment-0001.html>
More information about the mesa-dev
mailing list