News:

Use the "Forum Search"
It may help you to find anything in the forum ;).

[10.x] stuck to depot causes crash

Started by sdog, March 25, 2012, 04:29:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sdog


stuck vehicles that were teleported to depot often have impossible consists in depot. Trying to sell them caused a crash.


I also very much suspect those vehicles are responsible for unrecoverable savegames, reported earlier.



Program received signal SIGSEGV, Segmentation fault.
0x00000000004a6044 in gui_convoy_assembler_t::update_data() ()
(gdb) bt
#0  0x00000000004a6044 in gui_convoy_assembler_t::update_data() ()
#1  0x00000000004d0564 in depot_frame_t::update_data() ()
#2  0x00000000004a8415 in gui_convoy_assembler_t::build_vehicle_lists() ()
#3  0x00000000004d1340 in depot_frame_t::action_triggered(gui_action_creator_t*, value_t) ()
#4  0x000000000049e476 in button_t::infowin_event(event_t const*) ()
#5  0x00000000004ea93f in gui_container_t::infowin_event(event_t const*) ()
#6  0x00000000004ebd99 in gui_frame_t::infowin_event(event_t const*) ()
#7  0x00000000004d06c3 in depot_frame_t::infowin_event(event_t const*) ()
#8  0x00000000006045e5 in check_pos_win(event_t*) ()
#9  0x000000000061e8c6 in karte_t::interactive(unsigned int) ()
#10 0x00000000005d045b in simu_main(int, char**) ()
#11 0x00000000004091cc in main ()

jamespetts

Interesting. Do you have a saved game in which you can reproduce this?

Edit: I was unable to reproduce this when using the demo.sve of Pak128.Britain.
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.

el_slapper

had the same on a previous save(and version). It was only for electric locos, though. Not sure I have the save anymore, I'll have a look this evening.

sdog

http://dl.dropbox.com/u/1876190/autosave01.sve

a few minutes later saves are not recoverable anymore.
check trains on line
341 bristol - reigate
they got "unstuck" and are in depot now.

jamespetts

Can anyone confirm whether or not this is fixed in 10.13?
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.

asaphxiix

I've encountered some crashes in the depot, it seems to happen if I sell a vehicle then try to buy a new one, clicking on it crashes the game, happened a few times (also in 10.13) but I have not been able to recreate it. It may have to do with the above.


Also, I can't find the original report, but I should report that the block reservation bug seems to happen in 10.13 as trains still get stuck and need release with 'b'.
http://simutrans-germany.com/files/upload/bug1.sve - this is a save of it, but the scenario seems the same.


jamespetts

#6
Thank you for your report. Would you mind posting the second item as a separate thread? I might end up forgetting about it or not properly tracking the problem if it ends up in this thread. We need one bug report per thread if possible - it helps with management of issues. Thank you!

Edit: I can't reproduce the blcok reservation issue with your saved game and 10.13. Can you give more detail, or steps to reproduce...?
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.


jamespetts

Can anyone reproduce the original crash, or is this solved?
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.

ӔO

I don't know if this is related, but sometimes convoys won't go to the nearest depot or get stuck on a "retire" command.

http://dl.dropbox.com/u/17111233/client3-network.sve

Steps to reproduce:
1. Go to Nutish
2. Switch to ant fleet
3. build sailing depot at 891,753
4. tell ship (6484), which is just off the coast, to retire
5. It should now become stuck at its final destination

Also peculiar, send any of the ships waiting at Nutish to "go to depot" and it won't head to the nearest depot, which was just built at Nutish.
My Sketchup open project sources
various projects rolled up: http://dl.dropbox.com/u/17111233/Roll_up.rar

Colour safe chart: