[Bug 39023] Final Fantasy XI Using a Bluetooth PS3 Controller crashes the game.

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Sep 18 01:15:08 CDT 2015


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

--- Comment #27 from Ken Thomases <ken at codeweavers.com> ---
(In reply to Naan from comment #25)

> So this is what I did:
> 1. Change the brew formula to apply your patch 
> 2. Reinstall wine
> 3. Start the game with: WINEDEBUG="+tid,+seh,+dinput"
> WINELOADER=/usr/local/Cellar/wine/1.7.51/bin/wine.bin wine polboot.exe >
> debug.log 2>&1
> 4. Sream: IT WORKS!!!
> 
> So thank you very much :D you're the man!

You're welcome!  I'm glad to hear it.  And thank you for testing!

> But I will still attach the log file in case you need it for the Wineloader
> thingy, but unfornately it got almost 400MB, so you gotta download it here
> again:
> https://www.dropbox.com/s/en6vrm6ewv7bj5l/debug.tar.gz?dl=0 (10MB tar.gz)
> 
> Since you're probably able to read passwords through the dinput debug
> messages please let me know when you're done so I can remove that file :P

Thanks, I got it.


(In reply to Naan from comment #26)

> The patch only introduces debug log, so the problem is be the Wineloader?

My patch (attachment 52364) did more than just add logging.  If the
IOHIDDeviceGetValue() function fails, it skips trying to query the value with
IOHIDValueGetIntegerValue().  The "break" statements exit out of the switch
statement and thus prevent the immediately-following code from running.  That's
the code which would have crashed.

Setting the WINELOADER variable just helps produce better backtraces if it
crashes.  Since it didn't crash, that part didn't make any difference this
time.

If you have other crashes with this version of Wine, then you can use that to
get better backtraces.  I expect that it won't be necessary in future versions
of Wine, because I've submitted a patch to improve backtraces without it.

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