Page 1 of 1

[0.14.21] Crash in libraries\allegro\src\win\d3d_bmp.cpp (RDP related)

Posted: Thu Dec 01, 2016 9:34 pm
by chaz6
When connecting to a computer running Factorio with RDP, Factorio crashes and the following is logged;-

Code: Select all

19512.998 Error CrashHandler.cpp:139: Exception Code: c0000005, Address: 0x00007ffb0cb64653
ModuleBase: 0x00007ff78aeb0000, ImageSize: 011ce000, RelativeAddress: 81cb4653
19512.998 Error CrashHandler.cpp:149: Exception Context:
rax=0000000000000000, rbx=000001f4dd3f8e00, rcx=000001f4dd3f8e08,
rdx=000001f4f29bc3e0, rsi=000001f4f29bc360, rdi=0000000000000000,
rip=00007ffb0cb64653, rsp=0000007dd59ff660, rbp=0000000000000000,
 r8=0000000000000000,  r9=000000000000035c, r10=000001f4f29bc3f0,
r11=00007ff78b7d6b53, r12=000001f4dd165f01, r13=000001f4dd240fb0,
r14=000001f4dd3f8e08, r15=000001f4ea21d288
19512.998 Crashed in C:\WINDOWS\system32\d3d9.dll (0x00007ffb0cb40000 - 0x00007ffb0ccdb000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-skvdcq\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-skvdcq\src\util\logger.cpp (337): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-skvdcq\src\util\logger.cpp (391): Logger::logStacktrace
c:\cygwin64\tmp\factorio-skvdcq\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-skvdcq\src\util\crashhandler.cpp (175): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB214686B7)
00007FFB214686B7 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB24FDE10E)
00007FFB24FDE10E (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB24FC65CF)
00007FFB24FC65CF (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB24FDAEBD)
00007FFB24FDAEBD (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB24F4A2E1)
00007FFB24F4A2E1 (ntdll): (filename not available): RtlImageNtHeaderEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB24FD9F9A)
00007FFB24FD9F9A (ntdll): (filename not available): KiUserExceptionDispatcher
ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 00007FFB0CB64653)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB0CB64653)
00007FFB0CB64653 (d3d9): (filename not available): (function-name not available)
c:\cygwin64\tmp\factorio-skvdcq\libraries\allegro\src\win\d3d_bmp.cpp (694): _al_d3d_refresh_texture_memory
c:\cygwin64\tmp\factorio-skvdcq\libraries\allegro\src\win\d3d_disp.cpp (1162): _al_d3d_reset_device
c:\cygwin64\tmp\factorio-skvdcq\libraries\allegro\src\win\d3d_disp.cpp (1601): d3d_display_thread_proc
c:\cygwin64\tmp\factorio-skvdcq\libraries\allegro\src\threads.c (95): detached_thread_func_trampoline
c:\cygwin64\tmp\factorio-skvdcq\libraries\allegro\src\win\wxthread.c (38): thread_proc_trampoline
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB23D4E7B4)
00007FFB23D4E7B4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB24F92D31)
00007FFB24F92D31 (ntdll): (filename not available): RtlUserThreadStart
19538.788 Error CrashHandler.cpp:106: Map tick at moment of crash: 1682504
19538.788 Error Util.cpp:77: 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.
I have a few popular mods installed but I do not think they are relevent to this crash. i can provide more information if necessary.

Re: [0.14.21] Crash in libraries\allegro\src\win\d3d_bmp.cpp

Posted: Thu Dec 01, 2016 10:46 pm
by Loewchen
Please post the complete log.

Re: [0.14.21] Crash in libraries\allegro\src\win\d3d_bmp.cpp (RDP related)

Posted: Thu Dec 01, 2016 10:54 pm
by posila
Welcome on Factorio forums and thank you for the report, but I am sad to say we won't fix this. I am sorry.
I think you can start Factorio in RDP session and it will somehow run, but it won't survive RDP connect nor disconnect.