joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.66k stars 377 forks source link

Crash with DOSBox-X x64 in Windows XP x64 #2235

Open OltScript313 opened 3 years ago

OltScript313 commented 3 years ago

Describe the bug Crashes as soon as I run the application

Expected behavior : Let there be no problem...

Screenshot : https://www.zupimages.net/up/21/05/ntyf.gif

Environment :

Additional context DOSBox-X 0.83.10 MinGW x86 works on XP x64 It works in Windows 7 x64 (MinGW one)

Wengier commented 3 years ago

I just tried to install Windows XP Pro x64 SP2 and DOSBox-X 0.83.10 in a VM, and they worked here:

image

Tested with both MinGW 64-bit SDL1 and SDL2 builds. Perhaps the issue is specific to your system/DOSBox-X configuration?

Wengier commented 3 years ago

Can you also try the (patched) Visual Studio 64-bit builds on your Windows XP x64 SP2 system? You can download them below, and both SDL1 and SDL2 builds are tested to work on my Windows XP x64 SP2 too:

OltScript313 commented 3 years ago

dosbox-x-sdl2.exe works without problem (even without the configuration file), on the other hand, dosbox-x-sdl1.exe does not work without its configuration file...

DOSBox-X MinGW x64 SDL1 still doesn't work, with or without the config file in its folder... But the SDL2 one works without any problems...

My Specs : AMD A10-7700K 4C, 3,40 Ghz 32 Gb RAM Windows XP x64 SP2/Windows 7 SP1/Windows 10 v1903

Wengier commented 3 years ago

So it seems to be a SDL1-specific issue. In such case just use the SDL2 build then for now.

hlizard commented 3 years ago

@Wengier Windows XP Pro x64 SP2, install dosbox-x-win32-0.83.16-setup.exe, only vs build sdl1 and sdl2 works, all mingw build error: 无法定位程序输入点 GetFileInformationByHandleEx 于动态链接库 Kernel32.dll 上。

And, when use cp936, will crash if no set "getsysfont" to false.

Wengier commented 2 years ago

@hlizard Latest MinGW version no longer support Windows XP, so MinGW builds will no longer support XP, unfortunately. But patched Visual Studio builds may work fine in XP.

I have not experienced with cp936 crash with "getsysfont=true" myself yet.

Wengier commented 2 years ago

@hlizard I was able to reproduce the crash with getsysfont=true when I set my computer to code page 950, and I fixed it accordingly.

Meanwhile, both 32-bit VS and MinGW builds of 0.83.19 should work in Windows XP.