The International Simutrans Forum

 

Author Topic: [Crash] Error when selecting vehicle in the depot  (Read 466 times)

0 Members and 1 Guest are viewing this topic.

Offline Yona-TYT

  • Devotee
  • *
  • Posts: 1611
    • Simutrans-BLOG
  • Languages: ES
[Crash] Error when selecting vehicle in the depot
« on: June 14, 2020, 11:55:43 PM »
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:
Code: [Select]
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:
« Last Edit: June 15, 2020, 12:06:22 AM by Yona-TYT »

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10627
  • Languages: De,EN,JP
Re: [Crash] Error when selecting vehicle in the depot
« Reply #1 on: June 15, 2020, 03:15:41 AM »
Should be fixed in r9135.

Offline Yona-TYT

  • Devotee
  • *
  • Posts: 1611
    • Simutrans-BLOG
  • Languages: ES
Re: [Crash] Error when selecting vehicle in the depot
« Reply #2 on: June 15, 2020, 09:26:41 AM »
Thank you, I can already proceed with the tutorial for pak64.  8)