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

Crash with "Assertion failed at ..srccommand.cpp:629: res.GetCost() == res2.GetCost() && CmdFailed #1614

Closed
DorpsGek opened this issue Jan 1, 2008 · 1 comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Jan 1, 2008

electricmonk opened the ticket and wrote:

When playing OpenTTD 0.6.0 beta 2, I can get the attatched savegame ("AE Transport 1b, 6th Dec 1948.sav") to crash if I do the following:

  1. Press the "Ships" button
  2. Press the "New Group" button (a group called "Group 77" should appear)
  3. Select "Group 77" and press the rename button
  4. Type in a new name (eg. "Blah").
  5. The game crashes with "Assertion failed at ..srccommand.cpp:629: res.GetCost() == res2.GetCost() && CmdFailed(res) == CmdFailed(res2)".

This occurs every time I load the game and carry out these steps. Sometimes, when I try and load the generated crash.sav file, I get "Game Load FailednInternal Error: inflate() failed", but sometimes, the crash.sav loads normally (the attatched crash.sav loads normally). When It does load, if I attempt to rename "Group 77", I just get a "Can't rename group... Too many names defined" message.

I am currently close to the limit for the number of names defined. If I load "AE Transport 1b, 6th Dec 1948.sav", I can place one more sign normally, but if I attempt to place a second sign, I get a "Can't change sign name... Too many names defined" message when I attempt to rename it. After I've done this, if I then try and create a new group of ships using the procedure described above, I get the "Can't rename group... Too many names defined" message when attempting to rename the new group. Also if I delete one of my signs before I create the new group of ships, I can successfully create and rename the new group.

See http://bugs.openttd.org/?getfile=2131 for a list of GRFs I'm using.

AE.

Attachments

Reported version: 0.6.0-beta1
Operating system: All


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

DorpsGek commented Jan 1, 2008

Rubidium closed the ticket.

Reason for closing: Fixed

In r11743.


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

@DorpsGek DorpsGek closed this as completed Jan 1, 2008
@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 6, 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