http://bugs.winehq.org/show_bug.cgi?id=9492
Summary: Gothic 3 is crashing during loading of new game Product: Wine Version: CVS/GIT Platform: PC-x86-64 URL: http://www.gamershell.com/news/34248.html OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: greg87@online.de
Created an attachment (id=7838) --> (http://bugs.winehq.org/attachment.cgi?id=7838) console output
Tested with Demo and Retail. This is a regression, I'll will do a regression test.
http://bugs.winehq.org/show_bug.cgi?id=9492
--- Comment #1 from Gregor Münch greg87@online.de 2007-08-27 17:04:23 --- 06e51c21e1fce91079a7d6bd3e2621d687522ba3 is first bad commit commit 06e51c21e1fce91079a7d6bd3e2621d687522ba3 Author: Stefan Dösinger stefan@codeweavers.com Date: Fri Aug 3 19:53:25 2007 +0200
wined3d: Determine used streams at vdecl creation.
:040000 040000 c66f34c6ea7357e8c668ed3a4df3523db5db09e1 cca5a7b04850ae62f0478ebbd988e4fc65634263 M dlls
http://bugs.winehq.org/show_bug.cgi?id=9492
Gregor Münch greg87@online.de changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.gamershell.com/ne%7Chttp://nzone.com/object/nzon |ws/34248.html |e_lostplanet_downloads.html
--- Comment #2 from Gregor Münch greg87@online.de 2007-08-27 17:48:30 --- I just found out that Lost Planet: Extreme Condition has exact the same issue. I change the url because its a smaller download.
http://bugs.winehq.org/show_bug.cgi?id=9492
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefandoesinger@gmx.at Keywords| |download, regression
--- Comment #3 from Austin English austinenglish@gmail.com 2007-08-27 19:18:40 --- CC'ing author of patch
http://bugs.winehq.org/show_bug.cgi?id=9492
Stefan Dösinger stefandoesinger@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine-bugs@winehq.org AssignedTo|wine-bugs@winehq.org |stefandoesinger@gmx.at
--- Comment #4 from Stefan Dösinger stefandoesinger@gmx.at 2007-08-28 02:08:32 --- This patch removed an implicit NULL pointer check from that function, that's why it crashes. I wrote a test for this, and Windows also crashes when a stream that is referenced in the vdecl doesn't have a buffer assigned, so I think that the patch brings up a problem that lies elsewhere.
Can you attach a +d3d trace?
http://bugs.winehq.org/show_bug.cgi?id=9492
--- Comment #5 from Gregor Münch greg87@online.de 2007-08-28 07:03:55 --- The file was to big for bugzilla, so I had to upload it elsewhere. http://www.file-upload.net/download-385314/log.tar.bz2.html
compressed: 3,2Mb ; uncompressed: 316Mb
http://bugs.winehq.org/show_bug.cgi?id=9492
--- Comment #6 from Lei Zhang thestig@google.com 2007-08-29 21:07:31 --- 550k if you compress it with rzip.
http://bugs.winehq.org/show_bug.cgi?id=9492
--- Comment #7 from Stefan Dösinger stefandoesinger@gmx.at 2007-08-30 04:27:38 --- The download website doesn't work in my browser(konqueror)
http://bugs.winehq.org/show_bug.cgi?id=9492
--- Comment #8 from Gregor Münch greg87@online.de 2007-08-30 06:25:00 --- Created an attachment (id=7893) --> (http://bugs.winehq.org/attachment.cgi?id=7893) compressed log
@stefand, indeed the download button isnt displayed under Konqueror. But its the button above the "Tipp: Wie lange lebst du noch?" ;))
@LeiZhang, thx for the hint. I found out that lrzip does even more compress.
http://bugs.winehq.org/show_bug.cgi?id=9492
Coathalem cedric.coathalem@laposte.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cedric.coathalem@laposte.net
--- Comment #9 from Coathalem cedric.coathalem@laposte.net 2007-08-30 12:26:54 --- Just for say, I have the same bug... And i'm in 64 bits too
http://bugs.winehq.org/show_bug.cgi?id=9492
Gregor Münch greg87@online.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Gothic 3 is crashing during |Gothic 3 and LostPlanet are |loading of new game |crashing during loading of | |new game
--- Comment #10 from Gregor Münch greg87@online.de 2007-08-31 12:13:09 --- changed title
http://bugs.winehq.org/show_bug.cgi?id=9492
--- Comment #11 from Coathalem cedric.coathalem@laposte.net 2007-09-01 13:06:33 --- Maybe I'm going to said something wrong but... This bug, it isn't a duplicate of http://bugs.winehq.org/show_bug.cgi?id=9332 ?
I say that just for be sure, sorry if it's wrong
http://bugs.winehq.org/show_bug.cgi?id=9492
--- Comment #12 from Gregor Münch greg87@online.de 2007-09-01 13:14:15 --- No, 1st; Im using nvidia 2nd; This is a _regression_
Why do you think this is a dup?
http://bugs.winehq.org/show_bug.cgi?id=9492
--- Comment #13 from Coathalem cedric.coathalem@laposte.net 2007-09-01 13:43:51 --- Arf, sorry
Beacause the bug is game crashing during loading off 1st level or 1st mission. And my bug is the same but in an other game. http://bugs.winehq.org/show_bug.cgi?id=9533 and it has been marked as a duplicate of bug 9332 So i think it was same same
Sorry again
http://bugs.winehq.org/show_bug.cgi?id=9492
--- Comment #14 from Gregor Münch greg87@online.de 2007-09-01 13:56:06 --- The important line in your backtrace is: 1 0x7dace0f0 in fglrx_dri.so (+0x2c40f0) (0x01c0ed08)
This indicates that the crash happens in your drivers. Where in this bug the crash happens in wine.
http://bugs.winehq.org/show_bug.cgi?id=9492
--- Comment #15 from Coathalem cedric.coathalem@laposte.net 2007-09-01 14:02:21 --- Ha okay, thank you for explanations.
http://bugs.winehq.org/show_bug.cgi?id=9492
--- Comment #16 from Stefan Dösinger stefandoesinger@gmx.at 2007-09-03 04:22:43 --- As far as I can see, the application only sets stream 0 to a vertex buffer, stream 1, 2 and 3 are NULL. Unfortunately I cannot see the vertex declaration, can you include +d3d_decl in the trace?
http://bugs.winehq.org/show_bug.cgi?id=9492
--- Comment #17 from Gregor Münch greg87@online.de 2007-09-03 05:17:06 --- Created an attachment (id=7942) --> (http://bugs.winehq.org/attachment.cgi?id=7942) +d3d,+d3d_decl
http://bugs.winehq.org/show_bug.cgi?id=9492
Rico kgbricola@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kgbricola@web.de
--- Comment #18 from Rico kgbricola@web.de 2007-09-06 12:59:54 --- Gothic 3 crashes in version 0.9.44 and 0.9.43 when loading the game. In version 0.9.42 it starts it.
http://bugs.winehq.org/show_bug.cgi?id=9492
--- Comment #19 from Rico kgbricola@web.de 2007-09-06 13:02:18 --- Created an attachment (id=7976) --> (http://bugs.winehq.org/attachment.cgi?id=7976) Gothic 3 crash
http://bugs.winehq.org/show_bug.cgi?id=9492
--- Comment #20 from Coathalem cedric.coathalem@laposte.net 2007-09-06 14:30:58 --- I have try with the 0.9.42 and it start too but crash immediatly, like rico
http://bugs.winehq.org/show_bug.cgi?id=9492
--- Comment #21 from Gregor Münch greg87@online.de 2007-09-14 18:28:33 --- Created an attachment (id=8069) --> (http://bugs.winehq.org/attachment.cgi?id=8069) +d3d,+d3d_decl,+d3d_shader
http://bugs.winehq.org/show_bug.cgi?id=9492
--- Comment #22 from Stefan Dösinger stefandoesinger@gmx.at 2007-09-15 04:55:35 --- Yes, the shader indeed does not use the attributes that are sourced from the streams that are set to NULL. I will write a test for this and then find a fix. I think the best is just to add a NULL pointer check and let gl send the unused attributes to /dev/null.
http://bugs.winehq.org/show_bug.cgi?id=9492
--- Comment #23 from Stefan Dösinger stefandoesinger@gmx.at 2007-09-18 17:20:05 --- Created an attachment (id=8136) --> (http://bugs.winehq.org/attachment.cgi?id=8136) Proposed fix
This patch should fix the problem. It simply adds the NULL pointer check back, and adds a test that shows that this is correct.
http://bugs.winehq.org/show_bug.cgi?id=9492
--- Comment #24 from Rico kgbricola@web.de 2007-09-19 06:22:46 --- For me the patch worked correctly. Gothic 3 starts as before.
http://bugs.winehq.org/show_bug.cgi?id=9492
--- Comment #25 from Rico kgbricola@web.de 2007-09-19 06:37:45 --- Now I tried Lost Planet Trial and it crashed. But it didn't run on any other version of wine before.
@Gregor Münch, so is there another Bug or what do I have to do, to get it working?
http://bugs.winehq.org/show_bug.cgi?id=9492
Gregor Münch greg87@online.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #26 from Gregor Münch greg87@online.de 2007-09-20 15:36:09 --- Fixed in git, thx. Lost Planet starts now with fbo. But there seems to be other problems as actual gameplay seems to be impossible atm.
http://bugs.winehq.org/show_bug.cgi?id=9492
Gregor Münch greg87@online.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #27 from Gregor Münch greg87@online.de 2007-09-20 15:38:20 --- closing...
http://bugs.winehq.org/show_bug.cgi?id=9492
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified