Crash when exiting station

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

Crash when exiting station

Post by Lestradae »

I have now experienced a crash to desktop when exiting the station after a long flight & docking before several times.

The log always shows this as last line:
[script.javaScript.warning.206]: ----- JavaScript warning: player.dockedStation is deprecated, use player.ship.dockedStation instead.
Anyone an idea what or which oxp or the game itself (?) causes this?
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6629
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Insufficient info. We need more. Also, the warning is totally harmless and unrelated.
Screet
---- E L I T E ----
---- E L I T E ----
Posts: 1883
Joined: Wed Dec 10, 2008 3:02 am
Location: Bremen, Germany

Re: Crash when exiting station

Post by Screet »

Lestradae wrote:
I have now experienced a crash to desktop when exiting the station after a long flight & docking before several times.

The log always shows this as last line:
[script.javaScript.warning.206]: ----- JavaScript warning: player.dockedStation is deprecated, use player.ship.dockedStation instead.
Anyone an idea what or which oxp or the game itself (?) causes this?
I haven't seen such log entries with my version, but the circumstances you describe sometimes lead to similar behaviour. Most often while trying to dock or entering witchspace, but sometimes after launch or during flight. Could be something else in your case, though.

Anyway, since the texture corruption workaround I've got the impression that oolite runs more stable, but that might be luck.

Screet
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: Crash when exiting station

Post by JensAyton »

Lestradae wrote:
I have now experienced a crash to desktop when exiting the station after a long flight & docking before several times.

The log always shows this as last line:
[script.javaScript.warning.206]: ----- JavaScript warning: player.dockedStation is deprecated, use player.ship.dockedStation instead.
Anyone an idea what or which oxp or the game itself (?) causes this?
Again, the way to get more details about the cause of JavaScript warnings is to use the Debug OXP and JavaScript console. (If you leave the console running in the background, it won’t crash when Oolite does.)

However, it seems unlikely that the warning and the crash are actually related. It’s more likely that the cause of the crash is something that happens after the shipWillDockWithStation or shipDockedWithStation event is sent.
Post Reply