[SOLVED] [bug r4954] Crahs loading savegames November 22, 2011, 05:10:26 pm Hi,I just downloaded the last nightly version r4954 and since then I can't load anygames. It can start a new game and save it but not load it. The error is as following:The log can be found here:http://dl.dropbox.com/u/3876059/simu.logI just tested it on windows. Quote Selected Last Edit: November 23, 2011, 07:02:58 pm by T0m4S
Re: [bug r4954] Crahs loading savegames Reply #1 – November 22, 2011, 06:22:13 pm Downloaded r4954? Hmmm I can still only see r4951 as the lastest when I call the nightly page... I had to compile r4954 myself- and the error you describe did not happen to me. Saving, loading... old games, new games... all worked perfectly normal for me. Quote Selected
Re: [bug r4954] Crahs loading savegames Reply #2 – November 22, 2011, 06:30:44 pm I didn't downloaded it from the nightly site, but directly from the svn repository. So nobody else has the problem. :s Quote Selected
Re: [bug r4954] Crahs loading savegames Reply #3 – November 22, 2011, 08:44:52 pm Well, so far just I don't have it - and there are not that many people out there, who compile their own nightlies regularly (I also don't usually), I think (most probably download nightlies only from the nightly site). Quote Selected
Re: [bug r4954] Crahs loading savegames Reply #4 – November 22, 2011, 09:07:28 pm Yes, bad choice of words sorry... Actually I find it's strange that it refers to the file algorithm from MSCV 10, and at the line 3665 mentioned by the error there's:Quote // TEMPLATE FUNCTION sort WITH PREDtemplate<cl**** _BidIt, cl**** _Pr, cl**** _Ty> inline void _Insertion_sort1(_BidIt _First, _BidIt _Last, _Pr _Pred, _Ty *) { // insertion sort [_First, _Last), using _Pred if (_First != _Last) for (_BidIt _Next = _First; ++_Next != _Last; ) { // order next element _BidIt _Next1 = _Next; _Ty _Val = _Move(*_Next); if (_DEBUG_LT_PRED(_Pred, _Val, *_First)) { // found new earliest element, move to front _Move_backward(_First, _Next, ++_Next1); *_First = _Move(_Val); } else { // look for insertion point after first for (_BidIt _First1 = _Next1; _DEBUG_LT_PRED(_Pred, _Val, *--_First1); _Next1 = _First1) *_Next1 = _Move(*_First1); // move hole down *_Next1 = _Move(_Val); // insert element in hole } } } Quote Selected
Re: [bug r4954] Crahs loading savegames Reply #5 – November 22, 2011, 09:20:35 pm Quote from: T0m4S – on November 22, 2011, 09:07:28 pmYes, bad choice of words sorry...No need to be sorry. Just wanted to let you know, that just because it seems to work for me, does not mean there's no problem. But apparently, if there is one, it is not 100% reproducable. So solving might be a little tricky for the Devs. Quote Selected
Re: [bug r4954] Crahs loading savegames Reply #6 – November 22, 2011, 09:21:20 pm @Tomas: do you get similar error when rotating the map?Edit: I think I know what the error is. The r4954 calls std::sort with a comparison function that is not a strict weak ordering... will fix this soon. Quote Selected Last Edit: November 22, 2011, 09:26:57 pm by Dwachs
Re: [bug r4954] Crahs loading savegames Reply #7 – November 22, 2011, 09:28:15 pm Quote from: Dwachs – on November 22, 2011, 09:21:20 pm@Tomas: do you get similar error when rotating the map?Edit: I think I know what the error is. The r4954 calls std::sort with a comparison function that is not a strict weak ordering... will fix this soon.Yes it happens also when rotating. So I think you are right about what it is... Quote Selected
Re: [bug r4954] Crahs loading savegames Reply #8 – November 23, 2011, 04:58:53 pm could not commit a fix, the svn seems to be down.Can you test whether changing '>=' to '>' in dataobj/dingliste.cc line 428 makes 'your' crash go away? Quote Selected