[kovarex] [2.0] Crash inputting variable "RuntimeError.cpp:24: Unknown variable 'p0_i4' at position 0 near 'p0_i4*10'.

NegevsTheBear
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Nov 27, 2024 6:40 pm
Contact:

[kovarex] [2.0] Crash inputting variable "RuntimeError.cpp:24: Unknown variable 'p0_i4' at position 0 near 'p0_i4*10'.

Post by NegevsTheBear »

My game experienced very heavy lag spikes upon doing a few things.

Most notable:
Typing in numerical variables for the parameterized blueprints
Setting the power consumption and production of the Cheat Code 'Energy Interface' item in a editor playground.

Log included, I see internal crashes related to the items I performed starting around line 1500:

Code: Select all

3837.638 Error RuntimeError.cpp:24: Unknown variable 'p0_i3' at position 0 near 'p0_i3*10'.
Factorio crashed. Generating symbolized stacktrace, please wait ...
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\libraries\StackWalker\StackWalker.cpp(924): StackWalker::ShowCallstack
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Util\Logger.cpp(337): Logger::writeStacktrace
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Util\Logger.cpp(379): Logger::logStacktrace
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\libraries\CommonUtil\Exceptions.cpp(9): InputException::InputException
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Util\MathExpressions\Evaluator.cpp(89): MathExpressions::Evaluator::run
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Util\MathExpressions\Evaluator.cpp(212): MathExpressions::Evaluator::run
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Util\MathExpressions\Evaluator.cpp(204): MathExpressions::Evaluator::run
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Blueprint\BlueprintParametersNumberItem.cpp(95): BlueprintParametersNumberItem::evaluate
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Blueprint\BlueprintParameters.cpp(180): BlueprintParameters::evaluateValues
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Graphics\DrawBlueprintToBeBuiltLogic.cpp(145): DrawBlueprintToBeBuiltLogic::drawEntities
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Graphics\BuildingRenderer.cpp(253): BuildingRenderer::drawBlueprintToBeBuilt
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Graphics\BuildingRenderer.cpp(199): BuildingRenderer::prepareBuildingInGame
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Graphics\BuildingRenderer.cpp(102): BuildingRenderer::prepare
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Graphics\GameRenderer.cpp(102): GameRenderer::prepare
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\GameView.cpp(1499): GameView::prepareRender
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Game.cpp(330): Game::prepareRender
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\MainLoop.cpp(1140): MainLoop::prepare
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\MainLoop.cpp(708): MainLoop::mainLoopStep
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\MainLoop.cpp(412): MainLoop::run
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Main.cpp(1357): fmain
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Main.cpp(1379): wmain
D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(288): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF911BC257D)
00007FF911BC257D (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF91244AF08)
00007FF91244AF08 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
Attachments
factorio-previous.log
Log, items of interest near end.
(161.58 KiB) Downloaded 9 times
Loewchen
Global Moderator
Global Moderator
Posts: 9674
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [2.0.21] Crash inputting variable "RuntimeError.cpp:24: Unknown variable 'p0_i4' at position 0 near 'p0_i4*10'."

Post by Loewchen »

Post a save and steps you can produce the crash with please, see 3638.
NegevsTheBear
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Nov 27, 2024 6:40 pm
Contact:

Re: [2.0.21] Crash inputting variable "RuntimeError.cpp:24: Unknown variable 'p0_i4' at position 0 near 'p0_i4*10'."

Post by NegevsTheBear »

Still occurring on current Experimental [2.0.27].

Standard troubleshooting steps like validating game files via steam have had no effect.

Save with example blueprint in inventory included.

Bug occurs on a fresh save, pulling blueprint from global blueprint library, and attempting to place.
Attachments
Bug_Example.zip
(1.89 MiB) Downloaded 8 times
Factorio_Bug_Negevs_12_19_2024.mp4
(23.26 MiB) Downloaded 8 times
Post Reply

Return to “Assigned”