[Bug 19563] New: Guitar Hero World Tour crashes after dinput's QueryInterface
http://bugs.winehq.org/show_bug.cgi?id=19563 Summary: Guitar Hero World Tour crashes after dinput's QueryInterface Product: Wine Version: 1.1.26 Platform: PC URL: http://worldtour.guitarhero.com/uk/ OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dinput AssignedTo: wine-bugs(a)winehq.org ReportedBy: andras(a)csevego.net After fixing bug 19562, the next problem will be, we are not offering IDirectInputDevice8W in IDirectInputDevice2AImpl_QueryInterface. This will result in null pointer access. It can fixed by adding IDirectInputDevice8W to IDirectInputDevice2AImpl_QueryInterface, but proper tests needed, what does dinput on windows. Patch: diff --git a/dlls/dinput/device.c b/dlls/dinput/device.c index 941206c..cb66b03 100644 --- a/dlls/dinput/device.c +++ b/dlls/dinput/device.c @@ -753,6 +753,14 @@ HRESULT WINAPI IDirectInputDevice2AImpl_QueryInterface( *ppobj = This; return DI_OK; } + + if (IsEqualGUID(&IID_IDirectInputDevice8W,riid)) { + IDirectInputDevice8_AddRef(iface); + *ppobj = This; + return DI_OK; + } + + TRACE("Unsupported interface !\n"); return E_FAIL; } -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19563 Andras Kovacs <andras(a)csevego.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |19562 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19563 Andras Kovacs <andras(a)csevego.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |19564 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19563 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19563 Juan Lang <juan_lang(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |19565 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19563 --- Comment #1 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2009-08-17 00:43:03 --- No, this patch is wrong. You can't return Unicode interface for the ASCII object. This should be the same sort of thing as DirectInput itself - all interfaces in one. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19563 --- Comment #2 from Austin English <austinenglish(a)gmail.com> 2010-09-07 16:48:42 CDT --- This is your friendly reminder that there has been no bug activity for a year. Is this still an issue in current (1.3.2 or newer) wine? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19563 --- Comment #3 from Andras Kovacs <andras(a)csevego.net> 2010-09-09 17:42:15 CDT --- (In reply to comment #2)
This is your friendly reminder that there has been no bug activity for a year. Is this still an issue in current (1.3.2 or newer) wine?
yes -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19563 Bug 19563 depends on bug 19562, which changed state. Bug 19562 Summary: Guitar Hero World Tour crashes after dinput GetProperty http://bugs.winehq.org/show_bug.cgi?id=19562 What |Old Value |New Value ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19563 MisterE <mistere2002(a)zonnet.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mistere2002(a)zonnet.nl --- Comment #4 from MisterE <mistere2002(a)zonnet.nl> 2010-11-14 06:05:34 CST --- i am no developer. But applying this patch makes the game not crash anymore. Normally it stops working after: "checking game data...". -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19563 --- Comment #5 from MisterE <mistere2002(a)zonnet.nl> 2010-11-14 06:06:34 CST --- i am no developer. But applying this patch makes the game not crash anymore. Normally it stops working after: "checking game data...". -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19563 --- Comment #6 from MisterE <mistere2002(a)zonnet.nl> 2010-11-14 06:07:22 CST --- i am no developer. But applying this patch makes the game not crash anymore. Normally it stops working after: "checking game data...". -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19563 --- Comment #7 from MisterE <mistere2002(a)zonnet.nl> 2010-11-14 06:11:31 CST --- sorry, about the multiple replys (damn you konqueror!) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19563 --- Comment #8 from Al-Mutawa, Hussain A. <s200458460(a)kfupm.edu.sa> 2011-01-16 02:08:15 CST --- Created an attachment (id=32867) --> (http://bugs.winehq.org/attachment.cgi?id=32867) copressed log files, wine 1.3.11, ghwt 1.0.1.25215 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19563 Al-Mutawa, Hussain A. <s200458460(a)kfupm.edu.sa> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |s200458460(a)kfupm.edu.sa --- Comment #9 from Al-Mutawa, Hussain A. <s200458460(a)kfupm.edu.sa> 2011-01-16 02:08:53 CST --- Guitar Hero World Tour still crashes on wine 1.3.11. I don't know if it is caused by this bug, so I tested running the game with and without dinput. Attached are the log files. It does not crash at a certain point, but it take variable time before crashing. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19563 --- Comment #10 from Al-Mutawa, Hussain A. <s200458460(a)kfupm.edu.sa> 2011-01-16 02:35:07 CST --- I applied that patch and tested again and it still crashes after some time. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19563 Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #11 from Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> 2011-02-01 21:18:57 CST --- This should be fixed in current GIT. Last wine version (wine-1.1.12) has only partial fix. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19563 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #12 from Alexandre Julliard <julliard(a)winehq.org> 2011-02-04 13:20:59 CST --- Closing bugs fixed in 1.3.13. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org