r2101 - Crash when rotate map November 09, 2008, 10:52:14 am simutrans r2101 GDIWhen I rotate map, simutrans always crash.There is no useful information in simu.log. Quote Selected
Re: r2101 - Crash when rotate map Reply #1 – November 09, 2008, 05:08:29 pm I compile r2101 with MS VC++ EE 2005 on WinXP (de)no problemstest pak64 svn and pak.german Quote Selected
Re: r2101 - Crash when rotate map Reply #2 – November 09, 2008, 05:31:30 pm I compiled with gcc4 and linux and couldn't observe crashes during rotation. Quote Selected
Re: r2101 - Crash when rotate map Reply #3 – November 09, 2008, 05:43:31 pm Thanks for information.I tried the version on nightly site, and they didn't crash.It seems to happen only with my compiled version. (msys MinGW gcc3)Dr.MinGW reportQuoteRegisters:eax=0000003f ebx=05a4ca78 ecx=006331ac edx=05a4ca78 esi=006d0074 edi=00730070eip=005f84f8 esp=0023eeec ebp=0023f298 iopl=0 nv up ei pl nz ac pe nccs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000212Call stack:005F84F8 simutrans-.exe:005F84F8 quickstone_tpl<convoi_t>::operator->() const quickstone_tpl.h:175 ... T* operator->() const {> return data[entry]; } ...00579922 simutrans-.exe:00579922 karte_t::interactive() simworld.cc:4334 ... if (!swallowed) {> interactive_event(ev); } ...005A0F33 simutrans-.exe:005A0F33 WinMain simsys_w16.cc:75600401247 simutrans-.exe:0040124700401298 simutrans-.exe:004012987C817067 kernel32.dll:7C817067 RegisterWaitForInputIdle Quote Selected
Re: r2101 - Crash when rotate map Reply #4 – November 09, 2008, 06:45:24 pm This look most liekely like an access at an illegal halthandle_t. But is is hard to debug. You may try valgrind to find this error. Quote Selected
Re: r2101 - Crash when rotate map Reply #5 – November 09, 2008, 06:53:27 pm Sorry, I can't understand the meaning what you said.This also happen with startup map, which don't have halt. Quote Selected
Re: r2101 - Crash when rotate map Reply #6 – November 09, 2008, 07:01:04 pm valgrind is a tools to find illegal pointer access (but only for Linux )quickstones are only used for convoi pointers and halt pointers. Thus such an acess con be only due to a convoi or a halt (and oil rigs would be halts too). But I am not sure, what goes wrong here. Quote Selected
Re: r2101 - Crash when rotate map Reply #7 – November 09, 2008, 07:06:39 pm Thank you. Yes, my startup map have a oil rig. Quote Selected
[solved]Re: r2101 - Crash when rotate map Reply #8 – November 10, 2008, 07:54:48 am I compiled r2107, crash problem didn't happen anymore.Somethig was wrong with me. Thank you for many help. Quote Selected