if you still crash without cursed, then it might be an other mod, or a compleetly other problem, thus we would need a new translated/translatable stack trace.
As I said in the post linked here, I identified same crash in getMapOptionCount with certain maps, so yes I would say it can be some of your maps which trigger this crash too.
Joined: 17 Nov 2005, 02:43 Location: Raegquitting Spring on 04/24/12
It's not a map causing this. Left only evo 196 and small divide remake in and it still crashes.
It's a lobby bug. Confirmed and now I know how to reproduce it.
I left only evo 196 installed and small divide remake in. Deleted .lobby, and ran it. Started up fine and let me join the game correctly (except it was saying that I was unsynced). I closed the lobby, restarted it, tried to join the same game, boom crash.
Joined: 02 Dec 2009, 12:01 Location: Russia, Krasnodar
Yes. It's a lobby bug, because first start is incorrect. When you see "unsynced" state it's mean that getModOptionCount not called. In second launch you catch crash. I'll try to launch evo mod (evo:revision:196) and submit backtrace.
Joined: 02 Dec 2009, 12:01 Location: Russia, Krasnodar
I check option.cpp source and found as in previous crash was caused by thrown exception: throw content_error(). In case of evo:revision:196. It's called in Option.cpp:153
Joined: 02 Dec 2009, 12:01 Location: Russia, Krasnodar
The function above is from Spring git. https://github.com/spring/spring/blob/develop/rts/System/Option.cpp I can share my test code, but to compile and run it you should install Qt libraries. I'm use (4.7.4 version). I think error's reason is different compilers. Notalobby used mingw 4.4.0 and unitsync - 4.4.4. I'll try new compiler version.
Finally someone begins to understand the problem ... It is not a (pure) unitsync issue, unitsync throws an exception _but_ it should get catched _in_ the unitsync. So if this doesn't happen it must be a problem between lobby & unitsync. So lobby devs need to do a little bit more than saying "it crashes".
Is it perhaps a problem that the unitsync gets build with dwarf2 exception handling and the lobby uses sjlj? and if so does it matter if the unitsync is static or dynamic linked??
Joined: 02 Dec 2009, 12:01 Location: Russia, Krasnodar
Sorry for noobish troubleshooting ))) Lobby used dwarf2 exception handling and unitsync.dll linked dynamicly. But unitsync and lobby use different libgcc_s_dw2-1.dll due different mingw version.
Joined: 17 Nov 2005, 02:43 Location: Raegquitting Spring on 04/24/12
I found the solution to this problom. It is cause by games that have an old version of engineoptions.lua which has the option for diminishing mms.
Obviously it returns to unitsync with unknown because that no longer exists, However, unitsync should be smart enough to pass by without throwing an exception. Or maybe throw a soft warning. As it is now, unitsync causes everything to implode.
To fix it, just copy and pasta engineoptions.lua from spring base content into game (actually, it is quite possible that the game doesn't even need engineoptions as it is in base content anyway).
Joined: 08 Feb 2010, 22:21 Location: Saint-Petersburg, Russia
we need to fix some little issues. and then we try to rebuild using microsoft compiler first, then another version of mingw news will be these weekends or next week
Joined: 02 Dec 2009, 12:01 Location: Russia, Krasnodar
We compiled Qt libraries using compiler msvc2010, and built NotaLobby using them. The crashes was gone! Then we used mingw 4.6.1 with sjlj exceptions from TDM bundle to recompile Qt and NotaLobby again. All works fine! Crashes did not appeared.
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum