https://bugs.winehq.org/show_bug.cgi?id=54810
Bug ID: 54810 Summary: PmxEditor 0.2.7.5 doesn't start after Wine 8.4. Product: Wine Version: 8.4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: sagawa.aki+winebugs@gmail.com Distribution: Ubuntu
Created attachment 74303 --> https://bugs.winehq.org/attachment.cgi?id=74303 Full console output
PmxEditor is an editor software for PMX (MikuMikuDance's next generation model data) file. It starts fine with Wine 8.3 and some native modules. But, after Wine 8.4, the executable doesn't start anymore and shows X Error (BadWindow) in the console.
Steps to reproduce: 1. Download PmxEditor_0275.zip from https://kkhk22.seesaa.net/article/498439954.html because the author disallows deep linking. 2. Create a new 32-bit Wine prefix, e.g. export WINEPREFIX=$HOME/.wine-pmxeditor WINEARCH=win32 3. Download winetricks and run as follows: % ./winetricks d3dcompiler_43 d3dxof d3dx9_43 dotnet48 vcrun2010 vcrun2022 4. Create a work directory for PmxEditor and extract the archive. % mkdir $WINEPREFIX/drive_c/works % cd $WINEPREFIX/drive_c/works % unzip ~/Downloads/PmxEditor_0275.zip 5. Copy the 32-bit executable to the work directory % cd PmxEditor_0275 % cp x86/PmxEditor_x86.exe* . 6. Run the executable with Wine. % wine PmxEditor_x86.exe
Expected result: It starts and shows two windows titled PmxView and Pmx編集.
Actual result: It doesn't start. The console shows the following message: --- X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 12 (X_ConfigureWindow) Resource id in failed request: 0x54014a2 Serial number of failed request: 3418 Current serial number in output stream: 3418 --- Resource id and Serial numbers changes with each execution. Full console output is attached.
This issue was originally reported by @kakurakutekiko1 on Twitter.