Windows XP dbghelp.dll error (gui-gtk client)

You can get help here if Freeciv doesn't start on your computer, or if you keep getting fatal errors while playing etc.
Saps
Posts: 2
Joined: Thu Feb 22, 2018 10:14 am

Windows XP dbghelp.dll error (gui-gtk client)

Postby Saps » Tue Mar 06, 2018 9:37 am

Hi,

I am running freeciv with Windows XP Home (Version 5.1.2600 Service Pack 3 Build 2600) in a VirtualBox. ok - Windows XP may not be supported anymore, but it still works well. There is a little anoying error message when starting the game. The Messagebox has the tittle "freeciv-server.exe - Entry point not found" and the content "The procedure entry point EnumDirTree could not be located in the dynamic link library dbghelp.dll."

I get this message with Freeciv "2.6.0-beta2, gui-gtk-3.0 client" and with "2.5.10, gui-gtk-2.0 client". The message appears two times. First when starting freeciv-gtk3.exe (or freeciv-gtk2.exe) and next when i click on the buttons "Start New Game", "Start Scenario Game" or "Load Saved Game".

DbgHelp are Debugging Tools for Windows and it seems that DbgHelp is not supported anymore for Windows XP by Microsoft. Therefore there may no solution for this error anymore.
Attachments
dbghelp.jpg
German for: freeciv-server.exe - Entry point not found. The procedure entry point EnumDirTree could not be located in the dynamic link library dbghelp.dll.

log65536
Posts: 1
Joined: Mon Aug 23, 2021 11:09 am

Re: Windows XP dbghelp.dll error (gui-gtk client)

Postby log65536 » Mon Aug 23, 2021 12:00 pm

I had the same problem and solved it by grabbing a more recent version of dbghelp.dll and placing it into the Freeciv directory, right next to the freeciv-gtk2.exe file.
It seems that the version of dbghelp.dll supplied by Windows XP does not have the required entry point.

Where to find dbghelp.dll?
Not every recent version of dbghelp.dll will be compatible, according to https://bugs.launchpad.net/midori/+bug/1464836.
What worked for me was, I downloaded https://www.videohelp.com/download/MPC-HC.1.7.11.41.x86.7z, opened it in 7-zip and grabbed the file from MPC-HC.1.7.11.41.x86\CrashReporter\dbghelp.dll.

Which versions of Freeciv are affected?
My workaround worked with the official build of Freeciv 2.5.12-gtk2.
I never had this problem at all with the official build of Freeciv 2.5.5-gtk2.
You are talking about 2.5.10 and 2.6.0-beta2.
According to https://freeciv.fandom.com/wiki/NEWS-2.6.0, official builds of 2.6.0 now require Vista as a minimum (for unrelated reasons). From the information in the ticket, probably official 2.6.0 builds actively refuse to run on XP, with no trivial workarounds.