The International Simutrans Forum

 

Author Topic: Using the water way removal tool crashes the game  (Read 378 times)

0 Members and 1 Guest are viewing this topic.

Offline Spenk009

  • Devotee
  • *
  • Posts: 336
  • Languages: en, de
Using the water way removal tool crashes the game
« on: March 21, 2020, 07:56:04 PM »
Using the water way remover (x) crashes the game when clicking on any river or canal tile. Tested in nightly/self compiled newest version.

Offline Matthew

  • *
  • Posts: 386
    • Japan Railway Journal
  • Languages: EN, some ZH, DE & SQ
Re: Using the water way removal tool crashes the game
« Reply #1 on: March 21, 2020, 08:03:56 PM »
I also get this.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 20207
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Using the water way removal tool crashes the game
« Reply #2 on: March 21, 2020, 09:12:46 PM »
Thank you both for your reports. I believe that I have now fixed this on the private-car-routing-memory-saving branch. I should be grateful if you could re-test with that branch, which I am hoping to integrate soon once it has been tested, to see whether this has been fixed. Thank you.

Offline Matthew

  • *
  • Posts: 386
    • Japan Railway Journal
  • Languages: EN, some ZH, DE & SQ
Re: Using the water way removal tool crashes the game
« Reply #3 on: March 21, 2020, 09:47:25 PM »
I can now destroy canals and canalized rivers using the water-way-remover tool with commit #d33d9dd, so thank you for making progress with this bug.

I cannot destroy streams (natural, non-navigable waterways) using the tool. Mostly I get an error message saying "Ways not connected". But one time I got a crash with this GDB backtrace:

Maybe we are not supposed to be able to use this tool with streams, but I thought that we could in the past.

EDIT: The crash was with an earlier commit, apologies.
« Last Edit: March 21, 2020, 09:58:51 PM by Matthew »

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 20207
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Using the water way removal tool crashes the game
« Reply #4 on: March 22, 2020, 11:36:18 AM »
This would be caused by the fact that the way removal tool uses a special sort of vehicle to iterate along the way tiles (a design from Standard): because streams are unnavigable, the special vehicle cannot find a route along them.

Offline Spenk009

  • Devotee
  • *
  • Posts: 336
  • Languages: en, de
Re: Using the water way removal tool crashes the game
« Reply #5 on: March 22, 2020, 11:58:28 AM »
Thank you very much, confirmed as fixed.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 20207
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Using the water way removal tool crashes the game
« Reply #6 on: March 22, 2020, 12:00:49 PM »
Splendid,m thank you for confirming.