News:

Simutrans Tools
Know our tools that can help you to create add-ons, install and customize Simutrans.

[Crash] Error when selecting vehicle in the depot

Started by Yona-TYT, June 14, 2020, 11:55:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT

Simutrans stopped working just when I clicked the vehicle to buy it.
savegame -> https://www.mediafire.com/file/u107otgomtpqvxs/tutorial_pak64-err.sve/file
This is what gdb shows:Thread 1 "sim" received signal SIGSEGV, Segmentation fault.
convoi_t::get_fixed_cost (this=<optimized out>) at simconvoi.cc:3241
3241            fix_cost += welt->scale_with_month_length( v->get_desc()->get_fixed_cost() );
(gdb) where
#0  convoi_t::get_fixed_cost (this=<optimized out>) at simconvoi.cc:3241
#1  0x0000555555713dc8 in depot_frame_t::update_data (
    this=this@entry=0x555557f1d610) at gui/depot_frame.cc:1160
#2  0x0000555555716d40 in depot_frame_t::build_vehicle_lists (
    this=0x555557f1d610) at gui/depot_frame.cc:783
#3  0x0000555555903ac7 in depot_t::update_win (this=<optimized out>)
    at simdepot.cc:598
#4  0x00005555559550e1 in tool_change_depot_t::init (this=<optimized out>,
    player=<optimized out>) at simtool.cc:7396
#5  0x000055555597c5b7 in karte_t::local_set_tool (this=0x555558f09e30,
    tool_in=0x555557ebdcc0, player=0x55555b90be20) at simworld.cc:3045
#6  0x0000555555901a32 in depot_t::call_depot_tool (this=0x55555b96d0b0,
    tool=<optimized out>, cnv=..., extra=0x5555591ea8e8 "BuessingLinie")
    at simdepot.cc:128
#7  0x00005555557150d5 in depot_frame_t::image_from_storage_list (
    this=0x555557f1d610, image_data=0x555557d90680) at gui/depot_frame.cc:1238
#8  0x00005555557183b9 in depot_frame_t::action_triggered (
    this=0x555557f1d610, comp=<optimized out>, p=...)
    at gui/depot_frame.cc:1329
#9  0x00005555556e5182 in gui_action_creator_t::call_listeners (v=...,
    this=0x555557f1f318) at gui/components/gui_action_creator.h:32
#10 gui_image_list_t::infowin_event (this=0x555557f1f2f8, ev=<optimized out>)
    at gui/components/gui_image_list.cc:34
---Type <return> to continue, or q <return> to quit---

capture of the moment:

prissi


Yona-TYT

Thank you, I can already proceed with the tutorial for pak64.  8)