Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

Segmentation fault after loading a skirmish game #4372

Closed
wzdev-ci opened this issue May 8, 2016 · 11 comments
Closed

Segmentation fault after loading a skirmish game #4372

wzdev-ci opened this issue May 8, 2016 · 11 comments

Comments

@wzdev-ci
Copy link
Contributor

wzdev-ci commented May 8, 2016

resolution_fixed type_bug | by ilario


I had a segmentation fault after loading a saved skirmish game.
This happened just once, running wz2100 (branch master, updated on 8 May 2016) compiled on Debian testing 32 bit running fullscreen 1280x800.
I attach the log file.


Issue migrated from trac:4372 at 2022-04-16 11:55:47 -0700

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented May 8, 2016

ilario uploaded file warzone2100.gdmp-LX4Cha (58.0 KiB)

Segmentation fault log after loading a skirmish game

@wzdev-ci
Copy link
Contributor Author

Per changed blocking which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

Per changed blockedby which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

Per commented


Can you reproduce it by loading the saved skirmish game again? If so, can you attach this save game to this ticket? Thanks.

@wzdev-ci
Copy link
Contributor Author

Per commented


You can reproduce the problem if the game starts showing assert errors during loading. No need to wait for it to crash.

@wzdev-ci
Copy link
Contributor Author

Per commented


I can reproduce the problem now. The issue is that we do not save the local template list to savegames (why do we still have three different template lists in the game??). We can fix it either by writing out the local list, or by removing it.

@wzdev-ci
Copy link
Contributor Author

Per commented


Possible fix: perim/warzone2100@d106905

@wzdev-ci
Copy link
Contributor Author

Per Inge Mathisen <per.mathisen@...> changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

Per Inge Mathisen <per.mathisen@...> changed owner from `` to Per Inge Mathisen <per.mathisen@gmail.com>

@wzdev-ci
Copy link
Contributor Author

Per Inge Mathisen <per.mathisen@...> changed resolution from `` to fixed

@wzdev-ci
Copy link
Contributor Author

Per Inge Mathisen <per.mathisen@...> committed [0556]


In Warzone2100/warzone2100@0556c63:

#CommitTicketReference repository="" revision="0556c63f676828db552420bff3e979b5a0be1c72"
Store designed templates in a better way. Also, keep copy of designed templates in master list.

Adds some backwards compatibility code for beta1 that should be removed before final release.

Closes #4372

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant