The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Askedal on August 10, 2011, 03:05:21 PM

Title: Assertion failed: Logic = NULL, file dings/crossing.cc line 52
Post by: Askedal on August 10, 2011, 03:05:21 PM
I can reproduce an assertion with this steps:

pack128.open.r515
Nightly 110.0.2 r4692

Build two parallel tracks of "Concrete Sleeper Track (160 km/h)" (some quares are enough) and then
build a street (road_50) over both tracks. When you then try to build a tram track (Tramway Track 50 km/h)
over it, the program closes with a

Assertion failed: Logic = NULL, file dings/crossing.cc line 52

(http://www.hortien.com/upload/bug.jpg)
(http://www.hortien.com/upload/assertion.jpg)

Best regards
Title: Re: Assertion failed: Logic = NULL, file dings/crossing.cc line 52
Post by: TurfIt on August 11, 2011, 04:17:28 AM
Crash should be fixed with r4768.

Remaining issues:
1) Subsequently removing the tram track doesn't put the crossings back.
2) Build road across 4 parallel tracks. Build tram tracks only on center two crossings. Outside crossings remain linked with a single crossing_logic_t.
Is removing the crossings really the best approach to this?
Title: Re: Assertion failed: Logic = NULL, file dings/crossing.cc line 52
Post by: Askedal on August 18, 2011, 02:11:07 PM
Hi,

I confirm, that the issue was solved in the newest nightly build.
Many thanks!

Regards

A.