app crashes after upgrade alsa-lib 1.2.9->1.2.10

Questions about Wine on Linux
Locked
pulsar12
Newbie
Newbie
Posts: 2
Joined: Tue Sep 12, 2023 7:55 pm

app crashes after upgrade alsa-lib 1.2.9->1.2.10

Post by pulsar12 »

Wine version: 8.15
OS: archlinux

After upgrading alsa-lib from 1.2.9 to 1.2.10, wine apps crash on startup. (I have tried two: PokerStars and VLC). Below example of VLC app crashing:

Code: Select all

$ wine vlc.exe 
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0024:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented!
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
free(): invalid pointer
unhandled vlc exception
I did bisect of alsa-lib commit between 1.2.9 and 1.2.10. Found that commit introducing the app crashes is https://github.com/alsa-project/alsa-li ... b3e11256a7. The vlc crash log above is when using this specific commit. I have tried commits after this, and the app still hangs, but the error might be slightly different. (eg: "free(): invalid pointer" is not shown).

I'm not sure if this is a alsa-lib issue because I didn't spot any malfunction with sound or other linux applications, except WINE apps.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: app crashes after upgrade alsa-lib 1.2.9->1.2.10

Post by jkfloris »

I cannot reproduce the problem on Debian Sid.
However, a bug similar to your problem has been created.
Do you use the 32-bit or 64-bit version of VLC?
pulsar12
Newbie
Newbie
Posts: 2
Joined: Tue Sep 12, 2023 7:55 pm

Re: app crashes after upgrade alsa-lib 1.2.9->1.2.10

Post by pulsar12 »

jkfloris wrote: Thu Sep 14, 2023 11:02 am I cannot reproduce the problem on Debian Sid.
However, a bug similar to your problem has been created.
Do you use the 32-bit or 64-bit version of VLC?
32-bit.
After installing latest alsa-lib commit (81a7a93636d9472fcb0c2ff32d9bfdf6ed10763d) app crashes stopped.
Locked