[0.17.68] Attempting to draw a sprite of entity/orange-arrow-with-circle crashes the game

This subforum contains all the issues which we already resolved.
AlienX
Fast Inserter
Fast Inserter
Posts: 105
Joined: Wed May 17, 2017 7:13 pm
Contact:

[0.17.68] Attempting to draw a sprite of entity/orange-arrow-with-circle crashes the game

Post by AlienX »

Simply run the following command in any game to have Factorio crash:

Code: Select all

/c rendering.draw_sprite{sprite="entity/orange-arrow-with-circle", target=game.player.position, surface=game.player.surface}
Stack:

Code: Select all

Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-cdvldo\src\graphics\spritedraworder.cpp (88): SpriteDrawOrder::SpriteDrawOrder
c:\cygwin64\tmp\factorio-build-cdvldo\src\graphics\drawqueue.cpp (833): DrawQueue::drawShiftedBeforeRotatedWithoutTint
c:\cygwin64\tmp\factorio-build-cdvldo\src\script\scriptrendering\scriptrendersprite.cpp (97): ScriptRenderSprite::draw
c:\cygwin64\tmp\factorio-build-cdvldo\src\script\scriptrendering\scriptrendering.cpp (122): <lambda_b8155c9ad3279c88db1ab49ffc3f31f5>::operator()
c:\cygwin64\tmp\factorio-build-cdvldo\src\graphics\entityrenderer.cpp (189): EntityRenderer::threadJob
c:\cygwin64\tmp\factorio-build-cdvldo\src\util\workerthread.cpp (42): WorkerThread::loop
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (230): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl WorkerThread::*)(void),WorkerThread *>,std::default_delete<std::tuple<void (__cdecl WorkerThread::*)(void),WorkerThread *> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (209): std::_Pad::_Call_func
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8C9197BD4)
00007FF8C9197BD4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8CAB4CEE1)
00007FF8CAB4CEE1 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
3775.103 Error SpriteDrawOrder.cpp:90: Invalid sprite reference. Sprite: <EMPTY> {x = 0, y = 0, w = 0, h = 0}, 0x00000190c7219bd0
Logger::writeStacktrace skipped.
3775.103 Error CrashHandler.cpp:189: Map tick at moment of crash: 79881
posila
Factorio Staff
Factorio Staff
Posts: 5362
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.68] Attempting to draw a sprite of entity/orange-arrow-with-circle crashes the game

Post by posila »

Thanks for the report.
Fixed for next release.
Post Reply

Return to “Resolved Problems and Bugs”