The International Simutrans Forum

 

Author Topic: Crash on showing other players financials  (Read 173 times)

0 Members and 1 Guest are viewing this topic.

Offline Vladki cz

  • Devotee
  • *
  • Posts: 2547
    • My addons, mostly roadsigns
  • Languages: EN, CS
Crash on showing other players financials
« on: March 18, 2019, 09:55:22 PM »
On Stephenson-Siemnes server game, we have a player with quite long name:
"Passengerpigeon's overland travel, city traction and shipping company"

I wanted to look at his finances graphs, but simutrans crashed with:
Code: [Select]
*** buffer overflow detected ***: /home/vladki/simutrans-ext/simutrans-extended terminated
And long backtrace.

But I can see finances of other players without any problems. So I suspect that the player extremely long name or special characters are the problem.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18376
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Crash on showing other players financials
« Reply #1 on: March 18, 2019, 10:32:33 PM »
Thank you for your report. I believe that I have now fixed this. I should be grateful if you could re-test with the next nightly build.

Offline Vladki cz

  • Devotee
  • *
  • Posts: 2547
    • My addons, mostly roadsigns
  • Languages: EN, CS
Re: Crash on showing other players financials
« Reply #2 on: March 19, 2019, 07:37:52 PM »
Fixed, thank you

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18376
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Crash on showing other players financials
« Reply #3 on: March 19, 2019, 11:17:06 PM »
Splendid, thank you for confirming.