Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Crash]: Assertion failed at line 226 of /src/pathfinder/yapf/yapf_destrail.hpp: n.estimate >= n.parent->estimate #812

Open
lenatu opened this issue Jan 27, 2025 · 2 comments

Comments

@lenatu
Copy link

lenatu commented Jan 27, 2025

Version of OpenTTD

jgp 0.63.3, win10/64bit

Steps to reproduce

*** OpenTTD Crash Report ***

-=-=- As you loaded an emergency savegame no crash information would ordinarily be generated. -=-=-

Crash at: 2025-01-27 18:59:39 (UTC)
In game date: 2073-03-30 (13, 0) (DL: 2)
Calendar date: 2073-03-30 (13, 0)
Game loaded at: 2073-03-29 (49, 0), (76 state ticks ago), 2025-01-27 18:59:36

Crash reason:
Exception: E1212012
Location: 7FFDD07EB699
Message: Assertion failed at line 226 of /src/pathfinder/yapf/yapf_destrail.hpp: n.estimate >= n.parent->estimate

Within context:
0: CallVehicleTicks: veh: 8053: (Train 1299, c:0, st:FEM, vs:Ds, vf:FTLzsa, vcf:zdR, gvf:, tf:s, trk: 0x04, [tile: E7A2ED (749 x 1853), type: 10 (MP_RAILWAY), height: 01, data: 00 0350 21 F1 4C 00 00 0041])

Non-main thread (ottd:game)

OpenTTD version:
Version: jgrpp-0.63.3 (0)
Release ver: 0.63.3
NewGRF ver: 1f006d64
Bits: 64
Endian: little
Dedicated: no
Build date: Dec 28 2024 23:05:31
Defines: WITH_BITMATH_BUILTINS WITH_OVERFLOW_BUILTINS WITH_DEMANGLE WITH_BFD1 WITH_DBGHELP TTD_ENDIAN=TTD_LITTLE_ENDIAN WITH_PNG WITH_ZLIB WITH_LIBLZMA WITH_LZO WITH_ZSTD WITH_OPUSFILE WITH_OPENGL WITH_PERSONAL_DIR WITH_SSE WITH_ASSERT UNICODE _UNICODE WITH_UNISCRIBE PSAPI_VERSION=1 POINTER_IS_64BIT

I'm not really sure what causes this crash. But I suspect an increase in aircraft route operations may be relevant.

Upload crash files

crash-20250127T185939Z.log

Image

@JGRennison
Copy link
Owner

The crash log indicates that you've changed the pathfinder penalty settings to nonsense values. You should change all of them back to the defaults, or at least back to sensible values.
You should not change these values unless you are clear why you are doing so.

@lenatu lenatu closed this as completed Jan 27, 2025
@lenatu lenatu reopened this Jan 27, 2025
@lenatu
Copy link
Author

lenatu commented Jan 27, 2025

The crash log indicates that you've changed the pathfinder penalty settings to nonsense values. You should change all of them back to the defaults, or at least back to sensible values.
You should not change these values unless you are clear why you are doing so.

:) I have never changed that setting directly in the save file, but I have confirmed that the YAPF penalty value is set abnormally in the console setting.

However, we have not been able to resolve this issue at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants