[Genhis] [1.1.104] Crash generating surface (FloatCast.hpp:129: -3.965784 < 0.000000)

Post Reply
Natha
Fast Inserter
Fast Inserter
Posts: 199
Joined: Sun Mar 15, 2015 1:48 pm
Contact:

[Genhis] [1.1.104] Crash generating surface (FloatCast.hpp:129: -3.965784 < 0.000000)

Post by Natha »

I created a surface with custom map settings and used frequency 1000 in autoplace_settings.decorative.rock-small

Code: Select all

Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\users\build\appdata\local\temp\factorio-build-iemlsv\src\floatcast.hpp (129): float_cast<unsigned int>
c:\users\build\appdata\local\temp\factorio-build-iemlsv\src\map\autoplacespecification.cpp (943): AutoplaceSpecification::Settings::set
c:\users\build\appdata\local\temp\factorio-build-iemlsv\src\map\compiledmapgensettings.cpp (190): CompiledMapGenSettings::compileAutoplacersPass1<ID<DecorativePrototype,unsigned char> >
c:\users\build\appdata\local\temp\factorio-build-iemlsv\src\map\compiledmapgensettings.cpp (479): CompiledMapGenSettings::finalizeCompilation
c:\users\build\appdata\local\temp\factorio-build-iemlsv\src\map\compiledmapgensettings.cpp (440): CompiledMapGenSettings::compile
c:\users\build\appdata\local\temp\factorio-build-iemlsv\src\map\compiledmapgensettings.cpp (65): CompiledMapGenSettings::CompiledMapGenSettings
c:\users\build\appdata\local\temp\factorio-build-iemlsv\src\script\luagamescript.cpp (2997): LuaGameScript::luaCreateSurface
c:\users\build\appdata\local\temp\factorio-build-iemlsv\src\script\luabinder.hpp (348): LuaBinder<LuaSettings>::callWrapperOnObject
c:\users\build\appdata\local\temp\factorio-build-iemlsv\libraries\lua\ldo.c (352): luaD_precall
c:\users\build\appdata\local\temp\factorio-build-iemlsv\libraries\lua\lvm.c (713): luaV_execute
c:\users\build\appdata\local\temp\factorio-build-iemlsv\libraries\lua\lapi.c (1067): f_call
c:\users\build\appdata\local\temp\factorio-build-iemlsv\libraries\lua\ldo.c (137): luaD_rawrunprotected
c:\users\build\appdata\local\temp\factorio-build-iemlsv\libraries\lua\ldo.c (625): luaD_pcall
c:\users\build\appdata\local\temp\factorio-build-iemlsv\libraries\lua\lapi.c (1093): lua_pcallk
c:\users\build\appdata\local\temp\factorio-build-iemlsv\src\util\luahelper.cpp (4474): LuaHelper::pCallWithStackTrace
c:\users\build\appdata\local\temp\factorio-build-iemlsv\src\script\luacommandprocessor.cpp (69): LuaCommand::run
c:\users\build\appdata\local\temp\factorio-build-iemlsv\src\commandprocessor.cpp (243): CommandProcessor::process
c:\users\build\appdata\local\temp\factorio-build-iemlsv\src\gameactionhandler.cpp (4446): GameActionHandler::writeToConsole
c:\users\build\appdata\local\temp\factorio-build-iemlsv\src\gameactionhandler.cpp (372): GameActionHandler::actionPerformed
c:\users\build\appdata\local\temp\factorio-build-iemlsv\src\input\inputhandler.cpp (62): InputHandler::flushActions
c:\users\build\appdata\local\temp\factorio-build-iemlsv\src\gameactionhandler.cpp (412): GameActionHandler::update
c:\users\build\appdata\local\temp\factorio-build-iemlsv\src\mainloop.cpp (1365): MainLoop::gameUpdateStep
c:\users\build\appdata\local\temp\factorio-build-iemlsv\src\mainloop.cpp (1225): MainLoop::gameUpdateLoop
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\functional (15732480): std::_Func_impl_no_alloc<<lambda_73a88da033e2e278ee383664d9009fc5>,void>::_Do_call
c:\users\build\appdata\local\temp\factorio-build-iemlsv\src\util\workerthread.cpp (73): WorkerThread::loop
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thr\xthread (230): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl RouterBase::*)(void),ClientRouter *>,std::default_delete<std::tuple<void (__cdecl RouterBase::*)(void),ClientRouter *> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thr\xthread (209): std::_Pad::_Call_func
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (97): thread_start<unsigned int (__cdecl*)(void *),1>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB4ABB7344)
00007FFB4ABB7344 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB4B0626B1)
00007FFB4B0626B1 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
 256.580 Error FloatCast.hpp:129: -3.965784 < 0.000000
 256.580 Error CrashHandler.cpp:641: Received 22
Logger::writeStacktrace skipped.
 256.580 Error CrashHandler.cpp:195: Map tick at moment of crash: 1394
 256.668 Info CrashHandler.cpp:315: Executable CRC: 1104329109
 256.668 Error Util.cpp:100: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
 263.720 Uploading log file
 263.770 Error CrashHandler.cpp:266: Heap validation: success.
 263.770 Creating crash dump.
 264.033 CrashDump success

Loewchen
Global Moderator
Global Moderator
Posts: 8586
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [1.1.104] Crash when generating surface

Post by Loewchen »

You are 3 updates behind, can you reproduce this in the current version?

Natha
Fast Inserter
Fast Inserter
Posts: 199
Joined: Sun Mar 15, 2015 1:48 pm
Contact:

Re: [1.1.104] Crash when generating surface

Post by Natha »

Loewchen wrote:
Sun May 05, 2024 11:37 am
You are 3 updates behind, can you reproduce this in the current version?
Yes, same crash

Genhis
Factorio Staff
Factorio Staff
Posts: 132
Joined: Wed Dec 24, 2014 8:19 am
Contact:

Re: [Genhis] [1.1.104] Crash generating surface (FloatCast.hpp:129: -3.965784 < 0.000000)

Post by Genhis »

Thanks for the report, this is scheduled to be fixed in 2.0. In the meantime, please don't use very high frequency values or try modyfing the noise_octaves_difference parameter of the decorative autoplace.

Post Reply

Return to “Assigned”