http://bugs.winehq.org/show_bug.cgi?id=15858
Summary: FEAR 1.08: Crash in D3D8 mode when ARBfp pipeline is used Product: Wine Version: 1.1.7 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: liquid.acid@gmx.net
Created an attachment (id=16994) --> (http://bugs.winehq.org/attachment.cgi?id=16994) FEAR crash with ARBfp pipe selected (includes backtrace)
After loading the gamedata (loading savegame) and right before getting ingame the application crashes.
This does not happen when overriding the settings in select_fragment_implementation (direct.x) and always selecting the nvts_fragment_pipeline pipeline.
So it always crashes with the ARBfp pipeline. Sometimes it also crashes with nvts, but that's kinda random. What's not random is the backtrace (attaching that one).
Crashing happens in shader_glsl_load_constantsF (glsl_shader.c) FEAR is running in D3D8 shader mode with GLSL enabled (through wine registry).
Hardware: NV35 nvidia-drivers-173.14.12-r1
Greets, Tobias
http://bugs.winehq.org/show_bug.cgi?id=15858
Tobias Jakobi liquid.acid@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jb.faq@gmx.de
http://bugs.winehq.org/show_bug.cgi?id=15858
--- Comment #1 from H. Verbeet hverbeet@gmail.com 2008-10-31 02:29:48 --- constant_locations has the value 0x3, that's not supposed to happen. prog->puniformF_locations in allocated in set_glsl_shader_program(), around line 3314. Could you check if the array is allocated properly? Also check that "prog" has the value you expect in shader_glsl_load_constants().
http://bugs.winehq.org/show_bug.cgi?id=15858
--- Comment #2 from Tobias Jakobi liquid.acid@gmx.net 2008-11-01 15:03:05 --- Debugging reveals that the shader is released before it is used.
Possibly a (known) problem. AFAIK the native D3D implementation only kills certain shader objects after they unbound. Wine's current implementation also kills them when still bound, so the app crashes here.
Greets, Tobias
http://bugs.winehq.org/show_bug.cgi?id=15858
--- Comment #3 from Tobias Jakobi liquid.acid@gmx.net 2008-11-01 15:18:59 --- Created an attachment (id=17035) --> (http://bugs.winehq.org/attachment.cgi?id=17035) [wined3d] some code to debug the FEAR crash issue
http://bugs.winehq.org/show_bug.cgi?id=15858
--- Comment #4 from Austin English austinenglish@gmail.com 2009-05-03 21:30:14 --- Is this still an issue in current (1.1.20 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=15858
--- Comment #5 from Tobias Jakobi liquid.acid@gmx.net 2009-05-04 02:28:07 --- Yep!
http://bugs.winehq.org/show_bug.cgi?id=15858
--- Comment #6 from Austin English austinenglish@gmail.com 2009-11-19 12:52:56 --- This is your friendly reminder that there has been no bug activity for 6 months. Is this still an issue in current (1.1.33 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=15858
Tobias Jakobi liquid.acid@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |ABANDONED
--- Comment #7 from Tobias Jakobi liquid.acid@gmx.net 2009-11-19 13:13:16 --- No time to test this, already finished FEAR in WinXP by now, abandoning bug...
However AFAIK the problems in comment #2 remain, at least I never saw a commit to git that would have fixed those.
http://bugs.winehq.org/show_bug.cgi?id=15858
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Austin English austinenglish@gmail.com 2009-11-19 13:32:18 --- Closing.