[fixed] Lastest master don't worked anymore

Discuss the future of Warzone 2100 with us.
Post Reply
User avatar
Prot
Trained
Trained
Posts: 165
Joined: 29 Nov 2010, 12:41

[fixed] Lastest master don't worked anymore

Post by Prot » 20 Mar 2018, 20:09

Just try run lastest master fc86aa03d33eb4f5c039593a9242461b634e7b49
The game crash after map loading:

Code: Select all

prot64@lightner:~$ warzone2100 
AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse"
AL lib: (WW) UpdateDeviceParams: SSE performs best with multiple of 4 update sizes (1115)
error   |09:43:08: [ReadPoints:296] File corrupt - could not read points
info    |09:43:08: [_imd_load_level:660] Expecting 'POLYGONS' directive, got: 11
info    |09:43:08: [_imd_load_level:660] Assert in Warzone: imdload.cpp:660 (strcmp(buffer, "POLYGONS") == 0), last script event: '<none>'
error   |09:43:08: [iV_ProcessIMD:994] scavmra.pie: Unsuccessful
error   |09:43:08: [ReadPoints:296] File corrupt - could not read points
info    |09:43:08: [_imd_load_level:660] Expecting 'POLYGONS' directive, got: 5.820343
info    |09:43:08: [_imd_load_level:660] Assert in Warzone: imdload.cpp:660 (strcmp(buffer, "POLYGONS") == 0), last script event: '<none>'
error   |09:43:08: [iV_ProcessIMD:994] radarsensor.pie: Unsuccessful
error   |09:43:09: [ReadPoints:296] File corrupt - could not read points
info    |09:43:09: [_imd_load_level:660] Expecting 'POLYGONS' directive, got: -27
info    |09:43:09: [_imd_load_level:660] Assert in Warzone: imdload.cpp:660 (strcmp(buffer, "POLYGONS") == 0), last script event: '<none>'
error   |09:43:09: [iV_ProcessIMD:994] blhq.pie: Unsuccessful
error   |09:43:09: [ReadPoints:296] File corrupt - could not read points
info    |09:43:09: [_imd_load_level:660] Expecting 'POLYGONS' directive, got: -105.387
info    |09:43:09: [_imd_load_level:660] Assert in Warzone: imdload.cpp:660 (strcmp(buffer, "POLYGONS") == 0), last script event: '<none>'
error   |09:43:09: [iV_ProcessIMD:994] blpower4.pie: Unsuccessful
error   |09:43:09: [ReadPoints:296] File corrupt - could not read points
terminate called after throwing an instance of 'std::length_error'
  what():  vector::_M_default_append

warning: the debug information found in "/lib64/ld-2.19.so" does not match "/lib64/ld-linux-x86-64.so.2" (CRC mismatch).

40	../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
No function contains program counter for selected frame.
56	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
Saved dump file to '/home/prot64/.warzone2100-master/logs/warzone2100.gdmp-FLtTqy'
If you create a bugreport regarding this crash, please include this file.
Аварийный останов
Saved dump file to '/home/prot64/.warzone2100-master/logs/warzone2100.gdmp-FLtTqy' is
wzdump.txt
(63.88 KiB) Downloaded 35 times
I do not search for now what commit is broken game, but i try on two machines with different videocards.
Last edited by Prot on 21 Mar 2018, 13:46, edited 1 time in total.

pastdue
Code contributor
Code contributor
Posts: 106
Joined: 13 Aug 2017, 17:44

Re: Lastest master don't worked anymore

Post by pastdue » 20 Mar 2018, 23:13

Check to see if commit 3ac5343a6c39bf86f918ef6e4e916faf80a4ca15 causes this for you, since that's the most recent commit that really affects the code in question.

(Also, are you building from a clean checkout? Because there are some other errors there that are odd...)

User avatar
Prot
Trained
Trained
Posts: 165
Joined: 29 Nov 2010, 12:41

Re: Lastest master don't worked anymore

Post by Prot » 21 Mar 2018, 06:38

Do not known, for now it works again, trying lastest master e059d4747129b8954e2974a3f04491492fd4a687 - and it works.
Then i again return to fc86aa03d33eb4f5c039593a9242461b634e7b49 - the game crash again, i think problem solved.

pastdue
Code contributor
Code contributor
Posts: 106
Joined: 13 Aug 2017, 17:44

Re: [fixed] Lastest master don't worked anymore

Post by pastdue » 23 Mar 2018, 00:57

@Prot: If it's working again, this has the smell of a locale-related issue (and we may currently be relying on a side-effect of Qt initialization). I'd very much like to track down what's going on.

What OS are you using, what version, and what is your system locale setting?

Can you try running fc86aa03d33eb4f5c039593a9242461b634e7b49 with a system locale setting of "English" (and same for the Warzone language) and see if the issue resolves?

User avatar
Prot
Trained
Trained
Posts: 165
Joined: 29 Nov 2010, 12:41

Re: [fixed] Lastest master don't worked anymore

Post by Prot » 24 Mar 2018, 10:33

Debian 8 Jessie
LANG=ru_RU.UTF-8
Qt 5.9.4
version fc86aa03d33eb4f5c039593a9242461b634e7b49
Game is crashed, but when i switch LANG=c - game is worked.

pastdue
Code contributor
Code contributor
Posts: 106
Joined: 13 Aug 2017, 17:44

Re: [fixed] Lastest master don't worked anymore

Post by pastdue » 26 Mar 2018, 02:58

Thanks @Prot!

I checked-in a fix to prevent this from happening again.

Post Reply