[Bug 45080] Null pointer dereference in member function of D3D11 device

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Apr 28 10:27:02 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=45080

--- Comment #11 from Toni <eldrad at autistici.org> ---
Yep by the apitrace it looks like it's getting a null IDXGIDevice2 and that
might be the reason of a crash if the app is using the pointer blindly after
that. You can try returning IDXGIDevice1 instead on that query and see what
happens. If you get lucky IDXGIDevice2 specific methods won't be really used,
otherwise you would have to implement the interface more or less properly
(something like bug 41063), or more interfaces might be needed after that.

It might be smth else, but if that's the whole apitrace it doesn't seem to be
much more going on.

About using the debugger I can't help you but I'm sure there must be a way,
although by your previous info and the apitrace it already seems to be pointing
somewhere.

-- 
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.



More information about the wine-bugs mailing list