[0.15.x] Factorio doesnt close correctly

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
User avatar
Distelzombie
Filter Inserter
Filter Inserter
Posts: 336
Joined: Tue May 02, 2017 4:27 pm
Contact:

[0.15.x] Factorio doesnt close correctly

Post by Distelzombie »

Hi there,

sometimes "when I click with the mouse on Quit in the main menu", (seriously? I cant find this with search, but this sentence exists in "how to post a bug report"??) factorio does still run in background and uses huge amounts of CPU time. I've seen this in 0.14.23 too, its not new but it still exists.
If that happens i have to use Taskmanager to kill it, otherwise it will stay there forever.

I guess this is the logfile with the correct date/time.
Attachments
factorio-current.log
current log (I am not sure if it is in here or not)
(39.6 KiB) Downloaded 120 times
factorio-previous.log
previous log (Could be in here)
(3.4 KiB) Downloaded 108 times
Last edited by Distelzombie on Sat May 06, 2017 8:32 pm, edited 1 time in total.
Complete 2-Lane system as a Blueprint-Book! The perfect OCD reactor? Testing chained science lab efficiency Please use real prefixes and proper rounding!
Anyone
Long Handed Inserter
Long Handed Inserter
Posts: 70
Joined: Mon Apr 25, 2016 11:02 am
Contact:

Re: [0.1x.x] Factorio doesnt close correctly

Post by Anyone »

Actually now that you mention it, I've had this too yesterday or 2 days ago. Steam was complaining that the game was already running (though not much CPU usage, just memory). Had to kill the process to start it up again.
User avatar
Distelzombie
Filter Inserter
Filter Inserter
Posts: 336
Joined: Tue May 02, 2017 4:27 pm
Contact:

Re: [0.1x.x] Factorio doesnt close correctly

Post by Distelzombie »

Just had this error again. This time it was because I changed the active mods. Now Im absolutely sure they are the correct logs.

At the time between both instances there were two threads running. One, the old, with 75% CPU and the new one with 0%.
New one got either called by the mod change or by myself because i got impatient cause the new instance didnt appear. I got an error that it is already running after double clicking the shortcut on desktop. I guess the thread used to determin if it is running was the new one, called by factorio itself after the modchange.
Attachments
factorio-current.log
This is the one from the instance that started after I killed the broken factorio thread (75% one)
(3.01 KiB) Downloaded 100 times
factorio-previous.log
This is the one from the instance that didnt close (I killed it directly after i killed the other one, because the game was starting and i wanted to report this first.)
(3.62 KiB) Downloaded 101 times
Complete 2-Lane system as a Blueprint-Book! The perfect OCD reactor? Testing chained science lab efficiency Please use real prefixes and proper rounding!
User avatar
StoneLegion
Filter Inserter
Filter Inserter
Posts: 687
Joined: Fri Sep 05, 2014 7:34 pm
Contact:

Re: [0.1x.x] Factorio doesnt close correctly

Post by StoneLegion »

I had this issue ages ago I forgot how I fixed it but I recently formatted and don't have this issue now but also had it before. I think a dev back then told me why it happen but might been a diff issue then. It was like the method of how I was closing it.
User avatar
Distelzombie
Filter Inserter
Filter Inserter
Posts: 336
Joined: Tue May 02, 2017 4:27 pm
Contact:

Re: [0.1x.x] Factorio doesnt close correctly

Post by Distelzombie »

Well, how many different methods of "closing the program" are there? I know two: Simply clicking the close button and changing the mods. Both are causing this problem here.
Obviously killing the task in taskmanager is another one, but it cant cause this issue.
Complete 2-Lane system as a Blueprint-Book! The perfect OCD reactor? Testing chained science lab efficiency Please use real prefixes and proper rounding!
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.15.6] Factorio doesnt close correctly

Post by kovarex »

Isn't it because steam is syncing the saves? Does it still happen when you turn the syncing on, or when you play off steam?
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: [0.15.6] Factorio doesnt close correctly

Post by daniel34 »

kovarex wrote:Isn't it because steam is syncing the saves? Does it still happen when you turn the syncing on, or when you play off steam?
AFAIK Steam only starts to sync once the game process (factorio.exe) exited, so that shouldn't be the cause as OP mentioned the process is still there and has to be terminated using the task manager.
quick links: log file | graphical issues | wiki
User avatar
Distelzombie
Filter Inserter
Filter Inserter
Posts: 336
Joined: Tue May 02, 2017 4:27 pm
Contact:

Re: [0.15.x] Factorio doesnt close correctly

Post by Distelzombie »

Yes, the process is still there and uses all my CPU power - if the problem happens when I close the game normally.
If I change the mods and this problem occurs, there are two processes at the same time. The old one uses 75% CPU and the new one 0%. I guess the old one is using three of my four cores and the new one got allocated to the fourth.
Steam syncing is activated.

EDIT: Moderators, this is not a new problem nor is it limited to a certain version number. Please dont change the title. :)
Complete 2-Lane system as a Blueprint-Book! The perfect OCD reactor? Testing chained science lab efficiency Please use real prefixes and proper rounding!
Rseding91
Factorio Staff
Factorio Staff
Posts: 14366
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.x] Factorio doesnt close correctly

Post by Rseding91 »

I can't reproduce this in any way.

Can you upload a list of all your running processes when it happens? I suspect there's some external software that's causing the problems because you're using the same binary as everyone else yet the vast majority don't seem to be having any problems.
If you want to get ahold of me I'm almost always on Discord.
User avatar
Distelzombie
Filter Inserter
Filter Inserter
Posts: 336
Joined: Tue May 02, 2017 4:27 pm
Contact:

Re: [0.15.x] Factorio doesnt close correctly

Post by Distelzombie »

Ok I tried to reproduce this error. Apperently I have to load a map first. It didnt work when I just started and exited the program or when I just changed mods over and over.
Also I was wrong: The process raises from 75% to about 100% even when changeing mods.
Systeminformation
processes
Complete 2-Lane system as a Blueprint-Book! The perfect OCD reactor? Testing chained science lab efficiency Please use real prefixes and proper rounding!
posila
Factorio Staff
Factorio Staff
Posts: 5366
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.15.x] Factorio doesnt close correctly

Post by posila »

Hi, does it still happen in 0.15.16? Can you please make a full memory dump of Factorio process when that happens, zip it and upload it here?
User avatar
Distelzombie
Filter Inserter
Filter Inserter
Posts: 336
Joined: Tue May 02, 2017 4:27 pm
Contact:

Re: [0.15.x] Factorio doesnt close correctly

Post by Distelzombie »

posila wrote:Hi, does it still happen in 0.15.16? Can you please make a full memory dump of Factorio process when that happens, zip it and upload it here?
How do I do that? With a Hex editor reading the RAM directly? xD
Complete 2-Lane system as a Blueprint-Book! The perfect OCD reactor? Testing chained science lab efficiency Please use real prefixes and proper rounding!
posila
Factorio Staff
Factorio Staff
Posts: 5366
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.15.x] Factorio doesnt close correctly

Post by posila »

Distelzombie wrote:How do I do that? With a Hex editor reading the RAM directly? xD
Ah, sorry :). Right click Factorio process in Process Explorer, select Create Dump and then Create full dump.
User avatar
Distelzombie
Filter Inserter
Filter Inserter
Posts: 336
Joined: Tue May 02, 2017 4:27 pm
Contact:

Re: [0.15.x] Factorio doesnt close correctly

Post by Distelzombie »

Ok, Took a while to get it to break. Didnt do anything special. Just start the game, load a save, quit and change mods - repeatedly.
The dump is 376MB big, so... took a while to find a way to share it. Fortunately my upload speed is quite high.

This is the only kind of dump I can make. There was no option for a "full dump". Judging by the size it is quite full anyway.


The file is available until Wednesday 14 June 2017
http://www.transfernow.net/72gur2z7fvj5

Code: Select all

# MD5 checksums generated by MD5summer (http://www.md5summer.org)
# Generated 30.05.2017 20:50:11

1839b083e1a5cd2a6a1efe47a6c163a2 *factorio (2).DMP
Complete 2-Lane system as a Blueprint-Book! The perfect OCD reactor? Testing chained science lab efficiency Please use real prefixes and proper rounding!
User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: [0.15.x] Factorio doesnt close correctly

Post by TruePikachu »

Code: Select all

0:000> ~* kp

.  0  Id: 13f8.1184 Suspend: 0 Teb: 00000032`e22cd000 Unfrozen
Child-SP          RetAddr           Call Site
00000032`e24fa2d8 00007ffb`9924dc7d ntdll!NtYieldExecution+0x14
00000032`e24fa2e0 00000000`5f2205db KERNELBASE!SwitchToThread+0x1d
00000032`e24fa310 00000000`5f46dbc8 nvoglv64+0x9805db
00000032`e24fa380 00000000`5f45480c nvoglv64!DllMain+0x8f48
00000032`e24fa3b0 00007ffb`878a4e8a nvoglv64!DrvReleaseContext+0x11c
00000032`e24fa3e0 00007ffb`878a8cbd opengl32!bMakeNoCurrent+0x7a
00000032`e24fa410 00007ff6`f9cb4c5c opengl32!wglDeleteContext+0x6d
00000032`e24fa440 00007ff6`f9cb4d58 factorio!destroy_display_internals(struct ALLEGRO_DISPLAY_WGL * wgl_disp = 0x00000143`16247f40)+0xdc [c:\cygwin64\tmp\factorio-2bhpmd\libraries\allegro\src\win\wgl_disp.c @ 1147]
00000032`e24fa470 00007ff6`f9c1d158 factorio!wgl_destroy_display(struct ALLEGRO_DISPLAY * disp = 0x00000143`16247f40)+0x88 [c:\cygwin64\tmp\factorio-2bhpmd\libraries\allegro\src\win\wgl_disp.c @ 1180]
00000032`e24fa4b0 00007ff6`f9503b9a factorio!al_destroy_display(struct ALLEGRO_DISPLAY * display = 0x00000143`16247f40)+0x118 [c:\cygwin64\tmp\factorio-2bhpmd\libraries\allegro\src\display.c @ 173]
00000032`e24fa4e0 00007ff6`f98ba5ec factorio!Display::~Display(void)+0x1aa [c:\cygwin64\tmp\factorio-2bhpmd\src\graphics\display.cpp @ 257]
00000032`e24fa540 00007ff6`f98b92c0 factorio!GlobalContext::unloadAllegro(void)+0x17c [c:\cygwin64\tmp\factorio-2bhpmd\src\globalcontext.cpp @ 784]
00000032`e24fa570 00007ff6`f98b9ec1 factorio!GlobalContext::clearResources(void)+0x790 [c:\cygwin64\tmp\factorio-2bhpmd\src\globalcontext.cpp @ 667]
00000032`e24fa5b0 00007ff6`f98d815f factorio!GlobalContext::~GlobalContext(void)+0x21 [c:\cygwin64\tmp\factorio-2bhpmd\src\globalcontext.cpp @ 677]
00000032`e24fa600 00007ff6`f98d6875 factorio!MainLoop::run(struct std::experimental::filesystem::Path * execPath = 0x00000032`e24fd130, struct std::experimental::filesystem::Path * configPath = 0x00000032`e24fd170, bool autoupdateFinished = false, bool rotateLogs = true, bool headlessMode = false, class std::function<void __cdecl(void)> * afterInit = 0x00000032`e24fb348, struct std::experimental::filesystem::Path * saveAs = 0x00000032`e24fd1b0, MainLoop::HeavyMode heavyMode = Disabled (0n0))+0xbdf [c:\cygwin64\tmp\factorio-2bhpmd\src\mainloop.cpp @ 299]
00000032`e24fac40 00007ff6`f9e2e585 factorio!wmain(int argc = 0n-102570508, wchar_t ** argv = 0x00000000`00000000)+0x72d5 [c:\cygwin64\tmp\factorio-2bhpmd\src\main.cpp @ 973]
(Inline Function) --------`-------- factorio!invoke_main+0x22 [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl @ 79]
00000032`e24ffd20 00007ffb`997d8364 factorio!__scrt_common_main_seh(void)+0x11d [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl @ 253]
00000032`e24ffd60 00007ffb`9c1b70d1 kernel32!BaseThreadInitThunk+0x14
00000032`e24ffd90 00000000`00000000 ntdll!RtlUserThreadStart+0x21

   1  Id: 13f8.1938 Suspend: 0 Teb: 00000032`e22cf000 Unfrozen
Child-SP          RetAddr           Call Site
00000032`e25ff608 00007ffb`9c1bcfb5 ntdll!NtWaitForAlertByThreadId+0x14
00000032`e25ff610 00007ffb`992688d8 ntdll!RtlSleepConditionVariableSRW+0xf5
00000032`e25ff690 00007ff6`f9dac358 KERNELBASE!SleepConditionVariableSRW+0x28
(Inline Function) --------`-------- factorio!Concurrency::details::stl_condition_variable_win7::wait_for+0x14 [f:\dd\vctools\crt\crtw32\stdcpp\thr\primitives.h @ 216]
00000032`e25ff6d0 00007ff6`f9dac24b factorio!Concurrency::details::stl_condition_variable_win7::wait(class Concurrency::details::stl_critical_section_interface * lock = <Value unavailable error>)+0x18 [f:\dd\vctools\crt\crtw32\stdcpp\thr\primitives.h @ 210]
00000032`e25ff700 00007ff6`f986b236 factorio!do_wait(struct _Cnd_internal_imp_t * cond = 0x00000143`131f0b20, struct _Mtx_internal_imp_t * mtx = 0x00000143`131f0ad0, struct xtime * target = 0x00000000`00000000)+0x57 [f:\dd\vctools\crt\crtw32\stdcpp\thr\cond.c @ 77]
(Inline Function) --------`-------- factorio!std::_Cnd_waitX+0x8 [c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread @ 95]
(Inline Function) --------`-------- factorio!std::condition_variable::wait+0xc [c:\program files (x86)\microsoft visual studio 14.0\vc\include\mutex @ 565]
00000032`e25ff780 00007ff6`f9ae804f factorio!TaskManager::run(void)+0x86 [c:\cygwin64\tmp\factorio-2bhpmd\src\util\taskmanager.cpp @ 61]
(Inline Function) --------`-------- factorio!std::_Invoker_pmf_pointer::_Call+0x6 [c:\program files (x86)\microsoft visual studio 14.0\vc\include\type_traits @ 1340]
(Inline Function) --------`-------- factorio!std::invoke+0x6 [c:\program files (x86)\microsoft visual studio 14.0\vc\include\type_traits @ 1443]
(Inline Function) --------`-------- factorio!std::_Invoke_ret+0x6 [c:\program files (x86)\microsoft visual studio 14.0\vc\include\type_traits @ 1475]
(Inline Function) --------`-------- factorio!std::_Call_binder+0x6 [c:\program files (x86)\microsoft visual studio 14.0\vc\include\functional @ 825]
(Inline Function) --------`-------- factorio!std::_Binder<std::_Unforced,void +0x6 [c:\program files (x86)\microsoft visual studio 14.0\vc\include\functional @ 881]
(Inline Function) --------`-------- factorio!std::_Invoker_functor::_Call+0x6 [c:\program files (x86)\microsoft visual studio 14.0\vc\include\type_traits @ 1375]
(Inline Function) --------`-------- factorio!std::invoke+0x6 [c:\program files (x86)\microsoft visual studio 14.0\vc\include\type_traits @ 1443]
(Inline Function) --------`-------- factorio!std::_LaunchPad<std::unique_ptr<std::tuple<std::_Binder<std::_Unforced,void +0x6 [c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread @ 240]
00000032`e25ff840 00007ff6`f930b1e9 factorio!std::_LaunchPad<std::unique_ptr<std::tuple<std::_Binder<std::_Unforced,void (class std::_LaunchPad<std::unique_ptr<std::tuple<std::_Binder<std::_Unforced,void (__cdecl TaskManager::*)(void),TaskManager * const> >,std::default_delete<std::tuple<std::_Binder<std::_Unforced,void (__cdecl TaskManager::*)(void),TaskManager * const> > > > > * _Ln = 0x00000032`e24fa218)+0x6f [c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread @ 247]
00000032`e25ff880 00007ff6`f9e6d701 factorio!std::_Pad::_Call_func(void * _Data = <Value unavailable error>)+0x9 [c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread @ 210]
(Inline Function) --------`-------- factorio!invoke_thread_procedure+0xe [d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp @ 91]
00000032`e25ff8b0 00007ffb`997d8364 factorio!thread_start<unsigned int (void * parameter = 0x00000000`00000000)+0x5d [d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp @ 115]
00000032`e25ff8e0 00007ffb`9c1b70d1 kernel32!BaseThreadInitThunk+0x14
00000032`e25ff910 00000000`00000000 ntdll!RtlUserThreadStart+0x21

   2  Id: 13f8.890 Suspend: 0 Teb: 00000032`e22e3000 Unfrozen
Child-SP          RetAddr           Call Site
00000032`e2fff6c0 00000000`5f464494 nvoglv64+0x6df7c3
00000032`e2fff6f0 00000000`5f464a5f nvoglv64!DrvValidateVersion+0xebd4
00000032`e2fff720 00000000`5f481fb5 nvoglv64!DrvValidateVersion+0xf19f
00000032`e2fff750 00000000`5f48a905 nvoglv64!DllMain+0x1d335
00000032`e2fff7b0 00000000`5f489d39 nvoglv64!DrvPresentBuffers+0x2895
00000032`e2fff7e0 00000000`5f4aed20 nvoglv64!DrvPresentBuffers+0x1cc9
00000032`e2fff810 00000000`5f459cdf nvoglv64!DrvPresentBuffers+0x26cb0
00000032`e2fff840 00000000`5f440583 nvoglv64!DrvValidateVersion+0x441f
00000032`e2fff870 00000000`5f443d75 nvoglv64+0xba0583
00000032`e2fff8a0 00000000`5f455ae8 nvoglv64+0xba3d75
00000032`e2fff8e0 00000000`5f45483e nvoglv64!DrvValidateVersion+0x228
00000032`e2fff910 00000000`5f46df1b nvoglv64!DrvReleaseContext+0x14e
00000032`e2fff940 00000000`5f21e951 nvoglv64!DllMain+0x929b
00000032`e2fff980 00000000`5f21e7b0 nvoglv64+0x97e951
00000032`e2fff9d0 00000000`5f46060b nvoglv64+0x97e7b0
00000032`e2fffa00 00007ffb`997d8364 nvoglv64!DrvValidateVersion+0xad4b
00000032`e2fffa30 00007ffb`9c1b70d1 kernel32!BaseThreadInitThunk+0x14
00000032`e2fffa60 00000000`00000000 ntdll!RtlUserThreadStart+0x21

   3  Id: 13f8.1500 Suspend: 0 Teb: 00000032`e22e5000 Unfrozen
Child-SP          RetAddr           Call Site
00000032`e30ff478 00007ffb`9924796f ntdll!NtWaitForMultipleObjects+0x14
00000032`e30ff480 00007ffb`9924786e KERNELBASE!WaitForMultipleObjectsEx+0xef
00000032`e30ff780 00000000`5f490a15 KERNELBASE!WaitForMultipleObjects+0xe
00000032`e30ff7c0 00000000`5f4904f9 nvoglv64!DrvPresentBuffers+0x89a5
00000032`e30ff7f0 00000000`5f82ea9d nvoglv64!DrvPresentBuffers+0x8489
00000032`e30ff820 00007ffb`997d8364 nvoglv64!vk_optimusGetInstanceProcAddr+0x730bd
00000032`e30ff850 00007ffb`9c1b70d1 kernel32!BaseThreadInitThunk+0x14
00000032`e30ff880 00000000`00000000 ntdll!RtlUserThreadStart+0x21

   4  Id: 13f8.1060 Suspend: 0 Teb: 00000032`e22e7000 Unfrozen
Child-SP          RetAddr           Call Site
00000032`e31ff798 00007ffb`9924796f ntdll!NtWaitForMultipleObjects+0x14
00000032`e31ff7a0 00007ffb`9a813af8 KERNELBASE!WaitForMultipleObjectsEx+0xef
00000032`e31ffaa0 00000000`5f4591dd user32!RealMsgWaitForMultipleObjectsEx+0x118
00000032`e31ffb80 00007ffb`997d8364 nvoglv64!DrvValidateVersion+0x391d
00000032`e31ffca0 00007ffb`9c1b70d1 kernel32!BaseThreadInitThunk+0x14
00000032`e31ffcd0 00000000`00000000 ntdll!RtlUserThreadStart+0x21

   5  Id: 13f8.105c Suspend: 0 Teb: 00000032`e22e9000 Unfrozen
Child-SP          RetAddr           Call Site
00000032`e32ff6c8 00007ffb`9c18352e ntdll!NtWaitForWorkViaWorkerFactory+0x14
00000032`e32ff6d0 00007ffb`997d8364 ntdll!TppWorkerThread+0x76e
00000032`e32ffad0 00007ffb`9c1b70d1 kernel32!BaseThreadInitThunk+0x14
00000032`e32ffb00 00000000`00000000 ntdll!RtlUserThreadStart+0x21

   6  Id: 13f8.974 Suspend: 0 Teb: 00000032`e22eb000 Unfrozen
Child-SP          RetAddr           Call Site
00000032`e33ff598 00007ffb`9c18352e ntdll!NtWaitForWorkViaWorkerFactory+0x14
00000032`e33ff5a0 00007ffb`997d8364 ntdll!TppWorkerThread+0x76e
00000032`e33ff9a0 00007ffb`9c1b70d1 kernel32!BaseThreadInitThunk+0x14
00000032`e33ff9d0 00000000`00000000 ntdll!RtlUserThreadStart+0x21

   7  Id: 13f8.1bbc Suspend: 0 Teb: 00000032`e22ed000 Unfrozen
Child-SP          RetAddr           Call Site
00000032`e34ff4f8 00007ffb`9924796f ntdll!NtWaitForMultipleObjects+0x14
00000032`e34ff500 00007ffb`9a813af8 KERNELBASE!WaitForMultipleObjectsEx+0xef
00000032`e34ff800 00007ffb`928a5203 user32!RealMsgWaitForMultipleObjectsEx+0x118
00000032`e34ff8e0 00007ffb`928a517f GdiPlus!BackgroundThreadProc+0x63
00000032`e34ff950 00007ffb`997d8364 GdiPlus!DllRefCountSafeThreadThunk+0x1f
00000032`e34ff980 00007ffb`9c1b70d1 kernel32!BaseThreadInitThunk+0x14
00000032`e34ff9b0 00000000`00000000 ntdll!RtlUserThreadStart+0x21

   8  Id: 13f8.2f0 Suspend: 0 Teb: 00000032`e22f9000 Unfrozen
Child-SP          RetAddr           Call Site
00000032`e212f848 00007ffb`9924796f ntdll!NtWaitForMultipleObjects+0x14
00000032`e212f850 00007ffb`9924786e KERNELBASE!WaitForMultipleObjectsEx+0xef
00000032`e212fb50 00007ffb`7e02f2a5 KERNELBASE!WaitForMultipleObjects+0xe
00000032`e212fb90 00007ffb`7e06040a nvwgf2umx!NVAPI_Thunk+0x8fb85
00000032`e212fbd0 00007ffb`7e6ad031 nvwgf2umx!NVAPI_Thunk+0xc0cea
00000032`e212fc00 00007ffb`997d8364 nvwgf2umx!NVAPI_Thunk+0x70d911
00000032`e212fc30 00007ffb`9c1b70d1 kernel32!BaseThreadInitThunk+0x14
00000032`e212fc60 00000000`00000000 ntdll!RtlUserThreadStart+0x21

   9  Id: 13f8.1b54 Suspend: 0 Teb: 00000032`e2303000 Unfrozen
Child-SP          RetAddr           Call Site
00000032`e3eff738 00007ffb`9c18352e ntdll!NtWaitForWorkViaWorkerFactory+0x14
00000032`e3eff740 00007ffb`997d8364 ntdll!TppWorkerThread+0x76e
00000032`e3effb40 00007ffb`9c1b70d1 kernel32!BaseThreadInitThunk+0x14
00000032`e3effb70 00000000`00000000 ntdll!RtlUserThreadStart+0x21

  10  Id: 13f8.1af4 Suspend: 0 Teb: 00000032`e2305000 Unfrozen
Child-SP          RetAddr           Call Site
00000032`e3fffa28 00007ffb`9c18352e ntdll!NtWaitForWorkViaWorkerFactory+0x14
00000032`e3fffa30 00007ffb`997d8364 ntdll!TppWorkerThread+0x76e
00000032`e3fffe30 00007ffb`9c1b70d1 kernel32!BaseThreadInitThunk+0x14
00000032`e3fffe60 00000000`00000000 ntdll!RtlUserThreadStart+0x21

  11  Id: 13f8.1b38 Suspend: 0 Teb: 00000032`e2307000 Unfrozen
Child-SP          RetAddr           Call Site
00000032`e40ff280 00000000`5f48ab3c nvoglv64+0x6df7d4
00000032`e40ff2b0 00007ffb`99ed40d9 nvoglv64!DrvPresentBuffers+0x2acc
00000032`e40ff2e0 00007ffb`9c1a34d5 gdi32!DxTrimWnfCallback+0xb9
00000032`e40ff340 00007ffb`9c1a31dd ntdll!RtlpWnfWalkUserSubscriptionList+0x23d
00000032`e40ff410 00007ffb`9c1a3040 ntdll!RtlpWnfProcessCurrentDescriptor+0x105
00000032`e40ff490 00007ffb`9c19f450 ntdll!RtlpWnfNotificationThread+0x80
00000032`e40ff4f0 00007ffb`9c1836e3 ntdll!TppExecuteWaitCallback+0x8c
00000032`e40ff530 00007ffb`997d8364 ntdll!TppWorkerThread+0x923
00000032`e40ff930 00007ffb`9c1b70d1 kernel32!BaseThreadInitThunk+0x14
00000032`e40ff960 00000000`00000000 ntdll!RtlUserThreadStart+0x21

  12  Id: 13f8.1890 Suspend: 0 Teb: 00000032`e230b000 Unfrozen
Child-SP          RetAddr           Call Site
00000032`e42ffe30 00000000`5f44229a nvoglv64+0x6df7c3
00000032`e42ffe60 00000000`5f4db6d4 nvoglv64+0xba229a
00000032`e42ffe90 00000000`5f464a25 nvoglv64!DrvPresentBuffers+0x53664
00000032`e42ffec0 00000000`5f46408a nvoglv64!DrvValidateVersion+0xf165
00000032`e42ffef0 00007ffb`997d8364 nvoglv64!DrvValidateVersion+0xe7ca
00000032`e42fff20 00007ffb`9c1b70d1 kernel32!BaseThreadInitThunk+0x14
00000032`e42fff50 00000000`00000000 ntdll!RtlUserThreadStart+0x21
EDIT: I'm fairly sure thread 0 is responsible, and the issue might be a bug in Nvidia's OpenGL driver. To note:

Code: Select all

0:000> lmvm nvoglv64
start             end                 module name
00000000`5e8a0000 00000000`60a34000   nvoglv64   (export symbols)       nvoglv64.dll
    Loaded symbol image file: nvoglv64.dll
    Image path: C:\Windows\System32\nvoglv64.dll
    Image name: nvoglv64.dll
    Timestamp:        Fri Jan 20 05:16:30 2017 (58820DAE)
    CheckSum:         02167437
    ImageSize:        02194000
    File version:     21.21.13.7849
    Product version:  21.21.13.7849
    File flags:       0 (Mask 3F)
    File OS:          40004 NT Win32
    File type:        2.0 Dll
    File date:        00000000.00000000
    Translations:     0409.04b0
    CompanyName:      NVIDIA Corporation
    ProductName:      NVIDIA Compatible OpenGL ICD
    InternalName:     nvoglv32.dll
    OriginalFilename: nvoglv32.dll
    ProductVersion:   21.21.13.7849
    FileVersion:      21.21.13.7849
    PrivateBuild:     dev build
    FileDescription:  NVIDIA Compatible OpenGL ICD
    LegalCopyright:   (C) 2017 NVIDIA Corporation. All rights reserved.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14366
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.x] Factorio doesnt close correctly

Post by Rseding91 »

Does this still happen in the latest version of 0.15? (we haven't changed anything around it so I don't know why it wouldn't) If so, does it happen on any other computer(s) you have?

As someone else mentioned: it may be graphics driver related - have you tried updating your graphics driver?
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Pending”