-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Lua Call Stack (infinity) #374
Comments
We need the complete log.txt |
I know and it's the complete log. I think it gets cut when it's bigger then 50mb? Don't know, I just zipped the whole log without changes. I was a bit surprised too that there is only this call stack in it. Tried to do the same with a backup save file but for now no Errors. I can attach a log from now without the call stack if that helps. |
yeah that would be okay |
log.txt I think the call stack happened when the bale wrapper was finished but couldn't check because I was in a different vehicle and could not change the vehicle. It was a mission with a borrowed vehicle and tool. The mission was on field 84. |
Where exactly you saw them? Coordinates of what? |
They were long lines of numbers, once where the minimap is (the standard coordinates, but very long numbers). Edit: when I think about it, the big number on the right side was the actual speed display. At this moment I wasn't able to move around, the whole 3d scene was frozen. But I was able to go to the menu, but there it lagged like crazy which is to be expected when I see this log. |
Thanks, no need to paint it, if you can reproduce, that would be interesting. But if it is the coordinates and the speed, then it isn't likely a CP problem, I saw this error with infinity in another issue, may somehow be related with their new Luau interpreter, but no idea how can we find the root cause. |
Sure I will report back in case I can reproduce it. |
The speed being a huge number may indicate, that the Giants engine somehow messed up the vehicle coordinates, putting them infinitely far away which resulted in an infinitely high speed. Looked at our code where it complains about the infinite number, we don't manipulate that number, we just store the coordinate what the Giants engine gives us. This really doesn't sound something CP screwing up, but of course, I can't rule it out. |
That sounds reasonable. I only reached out to you because I saw CP in the log. So if I understand this right, the call stack is because CP just tried to store an infinite number right? If it's a bug in the giants engine I can report that to giants as well. |
Had it again today, while rolling. The Roller was this: https://www.farming-simulator.com/mod.php?mod_id=305467&title=fs2025 Will try an vanilla roller next and see what happens. |
I found something interesting, this linked mod sometimes clips into the ground. While the giants engine seems to not have a problem with this, CP seems to not like this behaviour. Is there any way to detect this strange coordinates and stop CP when this happens? |
Version
8.0.0.6
Spielversion
1.4.0.0
SP/MP
SP (Singleplayer)
Was ist passiert?
Plötzlicher Fehler, Lua Call Stack, Spiel war nicht mehr Steuerbar, Es wurden riesige Koordinaten angezeigt (Leider kein Screenshot da es sich komplett aufgehangen hat)
Ach ja ich hab auf der USA map gespielt (komm gerade nicht drauf wie heißt)
2025-01-16 10:24 Validity check failed in TransformGroup_worldToLocal: D:\auto_builder\cache\svn\8022dc32ec56c80b0ff1ab93fb984fac\src\engine\app\ReflectionAndScriptBinding.cpp (10054): MathUtil::isFinite(pArgs->arg[2].f)2025-01-16 10:24 Script error: Argument is an infinity LUA call stack: =[C]:-1 worldToLocal =C:/Users/domin/OneDrive/Documents/My Games/FarmingSimulator2025/mods/FS25_Courseplay/scripts/ai/FieldWorkerProximityController.lua:107 getFieldWorkProximity =C:/Users/domin/OneDrive/Documents/My Games/FarmingSimulator2025/mods/FS25_Courseplay/scripts/ai/strategies/AIDriveStrategyFieldWorkCourse.lua:855 getFieldWorkProximity =C:/Users/domin/OneDrive/Documents/My Games/FarmingSimulator2025/mods/FS25_Courseplay/scripts/ai/FieldWorkerProximityController.lua:146 getMaxSpeed =C:/Users/domin/OneDrive/Documents/My Games/FarmingSimulator2025/mods/FS25_Courseplay/scripts/ai/strategies/AIDriveStrategyFieldWorkCourse.lua:220 checkDistanceToOtherFieldWorkers =C:/Users/domin/OneDrive/Documents/My Games/FarmingSimulator2025/mods/FS25_Courseplay/scripts/ai/strategies/AIDriveStrategyFieldWorkCourse.lua:213 getDriveData =dataS/scripts/vehicles/specializations/AIFieldWorker.lua:330 updateAIFieldWorker =dataS/scripts/vehicles/specializations/AIFieldWorker.lua:310 onUpdate =[C]:-1 xpcall =C:/Users/domin/OneDrive/Documents/My Games/FarmingSimulator2025/mods/FS25_Courseplay/scripts/CpUtil.lua:267 try =C:/Users/domin/OneDrive/Documents/My Games/FarmingSimulator2025/mods/FS25_Courseplay/scripts/specializations/CpAIFieldWorker.lua:309 onUpdate =dataS/scripts/utils/Utils.lua:601 =dataS/scripts/specialization/SpecializationUtil.lua:56 raiseEvent =dataS/scripts/vehicles/Vehicle.lua:1890 update =dataS/scripts/network/NetworkNode.lua:164 updateActiveObjects =dataS/scripts/network/Server.lua:64 update =dataS/scripts/BaseMission.lua:1017 update =dataS/scripts/FSBaseMission.lua:1936 update =dataS/scripts/mission00.lua:658 update =dataS/scripts/main.lua:1195 update
Log ist 50mb Groß, immer dieser Fehler zum Schluss...
Wie können wir diesen Fehler nachstellen?
Ich hatte mehrere CP Kurse am laufen, einmal Walzen, einmal Ballen wickeln, Baumwolle Ernten, das lief aber bis zu dem Crash wunderbar.
Was hätte passieren sollen?
Kein Crash ;)
Bitte hänge deine log.txt an!
log (2).zip
Screenshots
Keine da ich nicht in der Lage war einen zu erstellen...
The text was updated successfully, but these errors were encountered: