Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freeing indices instead of pointers #3421

Closed
DorpsGek opened this issue Dec 24, 2009 · 5 comments
Closed

Freeing indices instead of pointers #3421

DorpsGek opened this issue Dec 24, 2009 · 5 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

twpol opened the ticket and wrote:

Connecting to a server ("!PLAY! Desert # 1" at 85.25.193.7:3990), was downloading map. Windows 7 64bit, OpenTTD 1.0.0-beta1 64bit. Attaching crash.png, crash.log and crash.dmp.

Attachments

Reported version: 1.0.0-beta1
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/3421
@DorpsGek
Copy link
Member Author

Rubidium wrote:

Have you tried joining a server later on? If not, can you post network_client.tmp? It's in the autosave directory that's in the directory with savegames.

It looks like it failed loading that game and that has caused this crash.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3421#comment7120

@DorpsGek
Copy link
Member Author

Rubidium wrote:

When loading a savegame fails between loading the savegame data and converting the indices in the savegame into a pointer OpenTTD will interpret the indices as pointers. It can't fall back to the intro game or similar because then it has to reinitialise the pool, which is the action that tries to free the pointers (/indices).


This comment was imported from FlySpray: https://bugs.openttd.org/task/3421#comment7121

@DorpsGek
Copy link
Member Author

twpol wrote:

I've been playing other network games since the crash, sorry. I'll attach that file for any future network crashes.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3421#comment7123

@DorpsGek
Copy link
Member Author

Rubidium wrote:

The attached savegame will roughly reproduce the same issue. That is corruption of the savegame (during downloading).

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/3421#comment7128

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

In r18634


This comment was imported from FlySpray: https://bugs.openttd.org/task/3421

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant