[r2870] Simutrans-Experimental savegame cause crash on "Load" dialogue November 16, 2009, 11:38:03 am r2870 GDI, MSYS+MinGWIf there is a Simutrans-Experimental savegame in save folder, simutrans will crash when I open "Load" dialogue.But I can open "Save" dialogue without problem.And also no problem with open/save bz2 savegame.Quotesim.exe caused an Access Violation at location 7c95b21a in module ntdll.dll Writing to location 10009740.Registers:eax=10009730 ebx=00000000 ecx=00000000 edx=061b6528 esi=061b6528 edi=00000000eip=7c95b21a esp=0023ddec ebp=0023de60 iopl=0 nv up ei pl nz na pe nccs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000202Call stack:7C95B21A ntdll.dll:7C95B21A RtlpWaitForCriticalSection7C941046 ntdll.dll:7C941046 RtlEnterCriticalSection77BF0ADD msvcrt.dll:77BF0ADD fclose0044794A sim.exe:0044794A loadsave_t::close() loadsave.cc:243 ... else { int err_no = ferror(fp);> fclose(fp); if(err_no!=0) { success = strerror(err_no); ...005DF7C7 sim.exe:005DF7C7 WinMain simsys_w16.cc:79100401247 sim.exe:0040124700401298 sim.exe:004012987C817077 kernel32.dll:7C817077 RegisterWaitForInputIdle Quote Selected
Re: [r2870] Simutrans-Experimental savegame cause crash on "Load" dialogue Reply #1 – November 16, 2009, 08:18:03 pm I did not manage to compile bzlib with Visual Studio. The lib-files from gnuwin at sourceforge crahs simutrans while reading settings.xml any help appreciated. Quote Selected
Re: [r2870] Simutrans-Experimental savegame cause crash on "Load" dialogue Reply #2 – November 16, 2009, 08:42:26 pm I use the mingw files for GCC and the home compiled ones for VSC++ 5.0, and both work fine. Quote Selected Last Edit: November 16, 2009, 08:50:49 pm by prissi
Re: [r2870] Simutrans-Experimental savegame cause crash on "Load" dialogue Reply #3 – November 17, 2009, 05:48:48 am Strange. Any Simutrans-Experimental savegame cause crash for me.Problem will happen when I open "Load" window from "New Map" window.Problem doesn't happen when I open "Load" window from "Options" window.I don't know difference between, but 100% reproducible. Quote Selected
Re: [r2870] Simutrans-Experimental savegame cause crash on "Load" dialogue Reply #4 – November 17, 2009, 09:23:54 am I crashes from me only using the save dialoge. I know why, omitting one time closing the BZ2-Lib correctly causes all strange stuff. Will look into this today evening. Quote Selected