Skip to main content
Topic: Very hard-to-track-down bug.... (Read 6331 times) previous topic - next topic

Very hard-to-track-down bug....

This one is hard to track down because it's only happening, mysteriously, with my local builds of the pak.  This is one reason I'm hoping to get the pak built in a standardized manner, so that someone else can reproduce the errors I get.  :-(

Crash on 'save' before getting to the save window:

FATAL ERROR: list_tpl<item_t>::[]
23gui_table_column_list_t: index out of bounds: 0 not in empty list

Re: Very hard-to-track-down bug....

Reply #1
This seems to be related to Bernd Gabriel's new work on the table structure for the windows used for loading and saving games. Bernd - do you have any idea what might be causing this?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Re: Very hard-to-track-down bug....

Reply #2
I will try to compile with gcc and look into it...
The journey is the reward!

Re: Very hard-to-track-down bug....

Reply #3
Thank you :-)
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Re: Very hard-to-track-down bug....

Reply #4
Fixed in my master branch :)
The journey is the reward!

 

Re: Very hard-to-track-down bug....

Reply #5
Excellent - thank you!
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.