http://bugs.winehq.org/show_bug.cgi?id=59000
Bug ID: 59000 Summary: Wine 10.19 crash when using xaudio2_9 Product: Wine Version: 10.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: xaudio2 Assignee: wine-bugs@list.winehq.org Reporter: niklas_petersen@web.de Distribution: ---
Created attachment 79728 --> http://bugs.winehq.org/attachment.cgi?id=79728 Stacktrace
Each program which wants to use this dll crashes. The issue was given with the update to wine 10.19. With the previous version, the sound played fine and no crashes
http://bugs.winehq.org/show_bug.cgi?id=59000
--- Comment #1 from Andrew Nguyen arethusa26@gmail.com --- This is likely the same issue as the one reported in bug 58971. If possible, you can try applying attachment 79712 from the bug on top of wine-10.19 to see if that resolves your reported crash.
http://bugs.winehq.org/show_bug.cgi?id=59000
--- Comment #2 from niklas_petersen@web.de --- From bug 58971 I don't really get how to put in this workaround. Do I have to download the Git repository and build the version again? Or can I change these to files directly? Then I need guidance where to find these. I'm on Arch Linux.
http://bugs.winehq.org/show_bug.cgi?id=59000
--- Comment #3 from Andrew Nguyen arethusa26@gmail.com --- A fix for bug 58971 has been merged to master. If you build Wine from the latest Git, it should include the fix. I'm not too familiar with Arch, but installing wine-git from AUR might allow you to do this.
http://bugs.winehq.org/show_bug.cgi?id=59000
mata sutupud@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sutupud@yahoo.com
--- Comment #4 from mata sutupud@yahoo.com --- wine-git in aur seems to have been last updated in june and point to wine 10.11, so that won't help much.
What I prefer to do is to just clone the official arch package repor and rebuild that with patches, e.g.:
git clone https://gitlab.archlinux.org/archlinux/packaging/packages/wine.git
then apply the patches in PKGBUILD, by downloading and applying them inside prepare():
prepare() { # Get rid of old build dirs rm -rf $pkgname-64-build mkdir $pkgname-64-build
cd wine curl https://gitlab.winehq.org/wine/wine/-/merge_requests/9494.patch | git apply cd .. }
Cleaner would be to add the patches to `souce`, but for me this works well enough as quick fix. Also, changing `pkgrel` to something like `pkgrel=1.1` shouldn't hurt, so that the version is greater than official arch package but will not prevent future updates. Then build using `makepkg` and install using `pacman -U ...`. Oh, and changing `/etc/makepkg.conf` so that it doesn'T use `MAKEFLAGS="-j2"` but something closer to your CPU count can help the build being much faster...
http://bugs.winehq.org/show_bug.cgi?id=59000
--- Comment #5 from niklas_petersen@web.de --- I removed the installed Arch package and tried to compile the 64-bit version of wine from the git repo. Unfortunately then the programs won't at all anymore because wine couldn't load netdll.
http://bugs.winehq.org/show_bug.cgi?id=59000
niklas_petersen@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #6 from niklas_petersen@web.de --- With the Arch package wine-git the issue is fixed.
http://bugs.winehq.org/show_bug.cgi?id=59000
--- Comment #7 from mata sutupud@yahoo.com --- It points to a 4 month old git branch:
pkgver=10.11.r72.g54238a0646c
So it "fixes" the problem because that version didn't contain the breaking changes. You could as well just have downgraded the official wine package to an earlier version that's not quite as old. The wine-git aur package doesn't seem to get a lot of updates lately.
http://bugs.winehq.org/show_bug.cgi?id=59000
--- Comment #8 from mata sutupud@yahoo.com --- Ah, sorry, disregard that, i didn't realize that it uses a pkgver() function to dymanically override the version and really just builds the latest git branch. So all should be ok. Only that it doesn't support the ntysnc hook yet that was added in the official PKGBUILD.
http://bugs.winehq.org/show_bug.cgi?id=59000
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |DUPLICATE
--- Comment #9 from Andrew Nguyen arethusa26@gmail.com --- Thank you for confirming the fix. (In reply to niklas_petersen from comment #6)
With the Arch package wine-git the issue is fixed.
Thank you for confirming the fix. I'll go ahead and consolidate this bug with the earlier reported one.
*** This bug has been marked as a duplicate of bug 58971 ***
http://bugs.winehq.org/show_bug.cgi?id=59000
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |normal Component|xaudio2 |-unknown