High Level Temporal Warden: resource leak

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
jdisk
Halfling
Posts: 94
Joined: Wed Aug 13, 2014 4:05 pm

High Level Temporal Warden: resource leak

#1 Post by jdisk »

There seems to be a problem with some high level Temporal warden talents. For me, on two different runs after about level 25 or so the game slows down a lot after some turns played. Dropping into main menu and loading again resets the "speed" back to normal for some turns, then it slows down again. So, there is a workaround, but it is quite annoying.

The same machine, same set of addons shows no similar behavior in other classes. My two runs were different races, so it seems that the common factor is Temporal warden.

Looking at the image in process explorer, one can see that both the memory usage climbs fast and that there are some threads that use up a lot of CPU.

The picture is just loading the game in the fortress and me firing some shots at the test dummy.

This is an a 64 bit Windows 7 System. Looking at some snapshots of the stacks of threads that gobble up the CPU, one night suspect some concurrency issues:

Code: Select all

0	wow64cpu.dll!TurboDispatchJumpAddressEnd+0x6c0
1	wow64cpu.dll!TurboDispatchJumpAddressEnd+0x4a8
2	wow64.dll!Wow64SystemServiceEx+0x1ce
3	wow64.dll!Wow64LdrpInitialize+0x42a
4	ntdll.dll!RtlIsDosDeviceName_U+0x23a27
5	ntdll.dll!LdrInitializeThunk+0xe
6	ntdll.dll!ZwWaitForSingleObject+0x15
7	kernel32.dll!WaitForSingleObjectEx+0x43
8	kernel32.dll!WaitForSingleObject+0x12
9	t-engine.exe!SDL_SemWait+0x1f

Code: Select all

t-engine.exe+0xa781e
t-engine.exe+0x43e83
t-engine.exe+0xa851b
t-engine.exe+0x89f87
t-engine.exe+0x56d83
t-engine.exe!SDL_UnlockMutex+0x14
t-engine.exe+0x55f7a
t-engine.exe+0xa488f
t-engine.exe+0x8c191
t-engine.exe+0x59769
t-engine.exe!SDL_SemPost+0x2e
t-engine.exe!SDL_TLSSet+0x619
t-engine.exe!SDL_SemPost+0x8e
msvcrt.dll!_endthreadex+0x6c
kernel32.dll!BaseThreadInitThunk+0x12
ntdll.dll!RtlInitializeExceptionChain+0x63
ntdll.dll!RtlInitializeExceptionChain+0x36

Code: Select all

wow64cpu.dll!TurboDispatchJumpAddressEnd+0x6c0
wow64cpu.dll!TurboDispatchJumpAddressEnd+0x4a8
wow64.dll!Wow64SystemServiceEx+0x1ce
wow64.dll!Wow64LdrpInitialize+0x42a
ntdll.dll!RtlIsDosDeviceName_U+0x23a27
ntdll.dll!LdrInitializeThunk+0xe
ntdll.dll!ZwWaitForSingleObject+0x15
kernel32.dll!WaitForSingleObjectEx+0x43
kernel32.dll!WaitForSingleObject+0x12
t-engine.exe!SDL_SemWait+0x1f

Code: Select all

t-engine.exe!SDL_GetShapedWindowMode+0x2ef38
t-engine.exe!SDL_GetShapedWindowMode+0x2d004
t-engine.exe+0x566e0
t-engine.exe!SDL_GetShapedWindowMode+0x2ef38
t-engine.exe!SDL_GetShapedWindowMode+0x2d004
t-engine.exe+0x57570
t-engine.exe!SDL_LockMutex+0x14
t-engine.exe+0x59769
t-engine.exe!SDL_SemPost+0x2e
t-engine.exe!SDL_TLSSet+0x619
t-engine.exe!SDL_SemPost+0x8e
msvcrt.dll!_endthreadex+0x6c
kernel32.dll!BaseThreadInitThunk+0x12
ntdll.dll!RtlInitializeExceptionChain+0x63
ntdll.dll!RtlInitializeExceptionChain+0x36
Attachments
usage.png
usage.png (5.97 KiB) Viewed 797 times

Post Reply