News:

SimuTranslator
Make Simutrans speak your language.

Dragging signals crash

Started by HDomos, September 19, 2013, 02:23:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

HDomos

In the recent nightlies, when i try to drag signals, the program crashes almost always. Sometimes it does not fail but there is no pattern to it. It sometimes crasheswhen i move just one tile, but sometimes only after like 40 tiles... :-[

Vladki

I have encountered the same problem with stable version. Pak128.Britain, and Pak128.cz. I suspect it happens mostly on double track lines, when I accidentaly touch the other line - thus ordering to build signals to far away station (out of view) and back to me. Maybe some overflow? But I'm not 100% sure. I can provide a savegame with instructions how to crash it.

Dwachs

Quote from: Vladki on September 19, 2013, 04:46:14 PMI can provide a savegame with instructions how to crash it.
Please do! That would be very helpful!
Parsley, sage, rosemary, and maggikraut.

Vladki

Savegame with addons: https://uran.webstep.net/~vladki/simutrans/bughunt/.
Played with simutrans standard 112.3 (r6520), and pak128.Britain 1.14, running on Linux
The game is the british demo played for quite a long time - enjoy it :)

Well I think I have found where the bug occurs - I am using a minimum speed sing on railways - see this thread
http://forum.simutrans.com/index.php?topic=10813.msg104814#msg104814
Sources are here: https://uran.webstep.net/~vladki/simutrans/pak128/minspeed.unpacked/

Dragging the signal over the minspeed sign is a sure crash - there are four of them in the savegame - one on passing loop between Melchester and Marygreen and the other between Melchester and Casterbridge. However it is possible to crash the game by dragging on the diagonal track between Melchester and the passing loop even without speedsigns involved - it is enough if you accidentaly drag out of the track, under the road bridge or to the opposite direction track. Maybe the signal tool has low speed and cannot pass the signs ;)

I could not crash the game if loaded without addons, or when I deleted all four minspeed signs (green H). Deleting only one pair was not enough. The search somehow reached the far away signs and crashed the game as well.

Hdomos - do you use some addons? Could you repeat the crash without addons?



HDomos

Quote from: Vladki on September 21, 2013, 10:46:44 AM
Savegame with addons: https://uran.webstep.net/~vladki/simutrans/bughunt/.
Played with simutrans standard 112.3 (r6520), and pak128.Britain 1.14, running on Linux
The game is the british demo played for quite a long time - enjoy it :)

Well I think I have found where the bug occurs - I am using a minimum speed sing on railways - see this thread
http://forum.simutrans.com/index.php?topic=10813.msg104814#msg104814
Sources are here: https://uran.webstep.net/~vladki/simutrans/pak128/minspeed.unpacked/

Dragging the signal over the minspeed sign is a sure crash - there are four of them in the savegame - one on passing loop between Melchester and Marygreen and the other between Melchester and Casterbridge. However it is possible to crash the game by dragging on the diagonal track between Melchester and the passing loop even without speedsigns involved - it is enough if you accidentaly drag out of the track, under the road bridge or to the opposite direction track. Maybe the signal tool has low speed and cannot pass the signs ;)

I could not crash the game if loaded without addons, or when I deleted all four minspeed signs (green H). Deleting only one pair was not enough. The search somehow reached the far away signs and crashed the game as well.

Hdomos - do you use some addons? Could you repeat the crash without addons?

I am using a lot of addons, and I am using the minimum speed sign also, and it indeed crashes the game instantly if I try to drag a signal through it. The game crashes also, if I try to drag the electrification through some of them (i believe the 220km/h one).

But most of the times dragging the signals crashes the game without the need of the signals...

I will try to make a smaller game and test it with and without the addons.

Btw: here is my game. It is quite developed game with a lot of addons used...:
Here is the save:https://docs.google.com/file/d/0B1T_qBCnXlPdN2lQNjQwczA1dUk/edit?usp=sharing
And my pakset (pak128 with a lot of addons): https://docs.google.com/file/d/0B1T_qBCnXlPdUHVaQU50RHptZ2c/edit?usp=sharing

Dwachs

Please try with r6733 again, at least dragging over minimum speed sign should not crash anymore.
Parsley, sage, rosemary, and maggikraut.

HDomos

#6
Quote from: Dwachs on September 21, 2013, 01:02:50 PM
Please try with r6733 again, at least dragging over minimum speed sign should not crash anymore.

Wow you are fast ;) I will try it when the git mirror updates :)
Edit: It works now, and not just through the minimum speed sign. I tried to drag signals through a long line, and it didn't crash :)

Vladki

I wanted to try with the latest nightly (6740) but I get the following error:

FATAL ERROR: alles_geladen() - 12skin_besch_t-object Squarebutton not found.
*** PLEASE INSTALL PROPER BASE FILE AND CHECK PATH ***
Aborting program execution ...

Perhaps I need some pak file for new features, that is missing in pak128.Britain?
I have not tried nightly builds or self-compiled simutrans before.

prissi

Either download the full nightly or read the annouce in the forum.

Vladki

Tested, does not crash any more. Thank you very much.