Author Topic: [120.1.4 Nightly r7923]Server & client crash after removing company with nettool  (Read 2060 times)

0 Members and 1 Guest are viewing this topic.

Offline River

Hey,

With build r7923 or maybe earlyer the server (and client) crash after i remove a company with assets (without the senario script gives an error) using the nettool. The nettool is an older version but hasn't given any problems before. There is no real information in the logfiles.

the server is running the region senario.

River

Online DrSuperGood

Maybe caused by R7907? To transfer to Public service player more logic was required. Perhaps there is a null dereference there.

Offline Yona-TYT

@Rivers.
Why not publish the backtrace ?. ???


Offline Yona-TYT

This seems to be stagnant I'm afraid. :-[

Offline River

i really hope people can fix this, without companies being able to go bankrupt its gone cause problems for companies that can't be saved.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4247
  • Total likes: 175
  • Helpful: 149
  • Languages: EN, DE, AT
Is this happening consistently? Would it be possible to provide the savegame + script ?
Parsley, sage, rosemary, and maggikraut.

Online DrSuperGood

Quote
i really hope people can fix this, without companies being able to go bankrupt its gone cause problems for companies that can't be saved.
Is it crashing when any company goes bankrupt? Or only when companies are forcefully removed with nettool?

If it is any company going bankrupt it might be due to R7907. Instead of objects going to NULL player they go to the public service player. Although what was changed seemed logical, it is possible there are some undocumented/obscure behaviour at work.

Offline River

it crashes when a company goes bankrupt.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4247
  • Total likes: 175
  • Helpful: 149
  • Languages: EN, DE, AT
I cannot reproduce this locally. Could you please upload savegame + script somewhere?
Parsley, sage, rosemary, and maggikraut.

Online DrSuperGood

Quote
it crashes when a company goes bankrupt.
What sort of stuff do the companies own? For example do they own ways under public stops? Or maybe bridges with other player convoys on them at the time? These were both cases recently modified in an attempt to change ownership to the public service instead of to NULL.
« Last Edit: November 21, 2016, 03:58:56 AM by DrSuperGood »

Offline River

last time i checked it where mail stops and conoys. but i can try some more examples

Offline Yona-TYT

Would not it be more useful to debug using "gdb"?  ???

Offline Yona-TYT


I suspect that it can be a problem with the "text label", but I do not know how to use "nettool" to replicate the error.


I wonder if this worked well in early versions of the script ¿?