Looky1173 / launchpad-bugs-migration2

0 stars 0 forks source link

[BUG n°1112864] Crash on startup of x1422 #1163

Closed Looky1173 closed 11 years ago

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/bugs/1112864

Property Value
Reported by Carlo Santucci (carlosanit1)
Date reported Fri, 01 Feb 2013 20:43:13 GMT
Tags crash

I get a crash just at startup of activities and also of "explore route" sessions in Italian route Sicilia_1. Route loaded with x1390. Logfile attached.

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1112864/comments/1

Property Value
Posted by Carlo Santucci (carlosanit1)
Date posted Fri, 01 Feb 2013 20:43:13 GMT
Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1112864/comments/2

Property Value
Posted by r.roeterdink (r-roeterdink)
Date posted Fri, 01 Feb 2013 21:09:23 GMT

Are you sure this log-file is complete? There is no 'crash' at the end! Is anything shown in the command-window?

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1112864/comments/3

Property Value
Posted by Carlo Santucci (carlosanit1)
Date posted Sat, 02 Feb 2013 08:23:46 GMT

I'm sorry Rob, I attached the file related to rel x1390, that works. Now I attach the one related to rel x1422, that shows the crash. Carlo

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1112864/comments/4

Property Value
Posted by r.roeterdink (r-roeterdink)
Date posted Sat, 02 Feb 2013 11:20:01 GMT

Could you please run the attached pathed version? It prints additional info in the log-file which might help to locate the problem.

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1112864/comments/5

Property Value
Posted by Carlo Santucci (carlosanit1)
Date posted Sat, 02 Feb 2013 11:30:56 GMT

Here the extended log file as per your request. Carlo

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1112864/comments/6

Property Value
Posted by r.roeterdink (r-roeterdink)
Date posted Sat, 02 Feb 2013 11:52:37 GMT

Thanks - things are getting clearer. The problem lies with tracknode 1484 - there was allready a TDB warning on that. Could you please send the TDB-file so I can have a look at what is wrong with this node? Thanks.

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1112864/comments/7

Property Value
Posted by Carlo Santucci (carlosanit1)
Date posted Sat, 02 Feb 2013 12:00:10 GMT

Here is the .tdb file. Thanks for fast reaction.

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1112864/comments/8

Property Value
Posted by Carlo Santucci (carlosanit1)
Date posted Sat, 02 Feb 2013 12:09:12 GMT

...three way switch... a rarity ;)

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1112864/comments/9

Property Value
Posted by r.roeterdink (r-roeterdink)
Date posted Sat, 02 Feb 2013 12:26:23 GMT

A rarity - and a nightmare. It is something well beyond OR's logic - everything is based on 2 pins. To change that is well and truly beyond the boundaries of reality - I can't even begin to imagine all the complications that would bring. Only thing I can think of is to split it into two separate nodes, but it would need quite a bit of additional programming. It is possible to make a change to avoid the crash, but the switch would not work - well, only for two out of the three routes anyway.

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1112864/comments/10

Property Value
Posted by Carlo Santucci (carlosanit1)
Date posted Sat, 02 Feb 2013 14:42:02 GMT

Hi Rob, I suspected where the 3-way switch was - and it was there, at the entrance of a ferry (see picture Ferry_ORTS.jpg) in Messina, where ferries link Sicily with the continent. I went a bit further, and tried to create with the AE an activity where the shunting engine enters - one after the other - into all three tracks managed by the switch. Then I run it on MSTS and - miracle - it worked! In picture Ferry_MSTS.jpg you see the shunting engine in central track at end of activity. MSTS often shows us that it was no trivial program at all! I won't be so unhappy if you decide not to implement the whole functionality of such switches in ORTS (maybe others will - I have no idea about what other MSTS routes use such switches), but pls. avoid the crash. And a night when you have nothing to do (I think this will not happen so early) maybe you will implement full management of such a switch.

By the way, the route is very old but however very nice. There is another ferry near the one with the three-way switch, and I implemented an activity to unload/load a train (divided in parts) from such ferry.

Carlo

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1112864/comments/11

Property Value
Posted by Carlo Santucci (carlosanit1)
Date posted Sat, 02 Feb 2013 14:43:02 GMT

Here the other picture, taken with ORTS rel 1390.

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1112864/comments/12

Property Value
Posted by r.roeterdink (r-roeterdink)
Date posted Tue, 05 Feb 2013 18:19:54 GMT

Fix committed in V1424 - solves the crash, but not the working of the 3-way switch.

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1112864/comments/13

Property Value
Posted by Carlo Santucci (carlosanit1)
Date posted Tue, 12 Feb 2013 21:00:37 GMT

If I understood it correctly, 2 of the 3 ways of the switch should work corrctly. Instead, When the 3-way switch should be shown on the F8 window because the train approaches it, I get a crash. See attached image. Error is not shown in the log file.

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1112864/comments/14

Property Value
Posted by r.roeterdink (r-roeterdink)
Date posted Tue, 12 Feb 2013 22:16:11 GMT

From what end did you approach the switch - trailing or facing?

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1112864/comments/15

Property Value
Posted by Carlo Santucci (carlosanit1)
Date posted Wed, 13 Feb 2013 13:11:00 GMT

Facing

Looky1173 commented 11 years ago

Imported from https://bugs.launchpad.net/or/+bug/1112864/comments/16

Property Value
Posted by r.roeterdink (r-roeterdink)
Date posted Wed, 13 Feb 2013 14:43:14 GMT

Next fix is on it's way, will be included next time I commit (not yet in version 1433, but later).