iXit / wine-nine-standalone

Build Gallium Nine support on top of an existing WINE installation
GNU Lesser General Public License v2.1
272 stars 23 forks source link

Guild Wars 2 hang/crash: double free or corruption #23

Open LingMan opened 5 years ago

LingMan commented 5 years ago

There's currently a seasonal event in Guild Wars 2 called "Super Adventure Box". When playing that mode the game randomly hangs/crashes. This appears to happen only in SAB and not in the normal game.

Due to the random nature of the crashes I can't be certain that nine is at fault but given that I've been unable to reproduce without it, nine is the likely culprit.

The base game of Guild Wars 2 is free to play and the SAB adventure is - to the best of my knowledge - part of that. There's a portal bringing you to SAB in every major city.

Important note: Since SAB is a seasonal event it is only available until April 18, 2019 at noon Pacific Time (UTC-7). After that testing patches will be impossible until next year.

Tested with: OS: Manjaro tkg-wine4.{3,5} from Lutris AMD Radeon R9 390 Kernel 4.18 amdgpu Mesa 19.0.1+really+18.3.5-1 LLVM 7.0.1 AUR nine-standalone-git v0.5.0.295-devel (should be either https://github.com/iXit/wine-nine-standalone/commit/a56cb11bb8d87ca02aca00a77b4ec3388afb276f or https://github.com/iXit/wine-nine-standalone/commit/d0173d5db769c69bc73ad15b2a16422c9f3a60b7)

gw2_sab_double_free_or_corruption_full_wine_output.txt

siro20 commented 5 years ago

Can you create an API trace that shows the problem or use mesa debug version to create a nine log, showing where it crashes?

LingMan commented 5 years ago

My nine setup is currently broken and I'd have to figure out how to do those things. Sadly I'll be way too busy for the next month.

I could maybe find the time to record an API trace on Windows and later check if replaying with nine shows the problem. Would that be a reasonable approach?

siro20 commented 5 years ago

yes, that might work.

dhewg commented 4 years ago

@LingMan any update on the issue?

dhewg commented 4 years ago

@LingMan any update on the issue?

LingMan commented 3 years ago

I remembered to make a trace[1] during this year's SAB but sadly the problem doesn't reproduce with it. Replayed it six times in total, thrice with Nine 0.7 and thrice with Nine 0.4. Usually playing that long would have resulted in a crash pretty reliably. Of course I can't tell if some other update to my system since then or a clean wine prefix might have fixed it. At this point I've long switched to dxvk, so I'm no longer affected.

I'll leave it up to you to close this bug for lack of reproducibility or to leave it open if you want to continue hunting.

[1] https://drive.google.com/file/d/1o9PZq_ZFSgolIWM1A_kX3jt4dgQtCbWf/view?usp=sharing

dhewg commented 3 years ago

Thanks for the trace! It doesn't replay on my setup, probably because of a different gpu. I don't see much we can do about it, and it sounds like it works for you too now.

I'll leave it up to @axeldavy to take a look and closing this