https://bugs.winehq.org/show_bug.cgi?id=55909
--- Comment #5 from teru ktmizugaki+wine@gmail.com ---
Does the issue still occur with a clean WINEPREFIX?
Yes, it occurs with clean WINEPREFIX.
I think I found where "free(): invalid pointer" occurs. It is free() in xf86vm_free_modes in dlls/winex11.drv/xvidmode.c https://source.winehq.org/git/wine.git/blob/wine-8.20:/dlls/winex11.drv/xvid... Commenting out this free() and the "free(): invalid pointer" gone.
It also seems like installing libxrandr2:i386 makes wine start as xvidmode is not used.