wintin Forum Index wintin
Wintin Discussion Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

2.07 -- Client sometimes fails to exit and gets stuck

 
Post new topic   Reply to topic    wintin Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
zephyr
Juggernaut


Joined: 08 Jan 2007
Posts: 145

PostPosted: Sun Mar 11, 2007 5:31 pm    Post subject: 2.07 -- Client sometimes fails to exit and gets stuck Reply with quote

Sometimes, maybe 1 out of 5 times, when I close the client, it gets stuck somewhere mid-exiting and I end up having to manually kill the process.

I've had this issue in 2.05, 2.06 and 2.07 (I never used any earlier versions). I didn't post about it before since I was hoping to find some way to easily reproduce it.

It isn't in a loop using 100% CPU or anything. The windows and popups get cleared to kind of blank grey panels with the titlebars and close button still there. It does seem to be before the defaultscripts.ws gets saved though, which is unfortunate, since I lose any changes to #var values since the last successful client exit, and if I forget to manually save the script file when I make script alterations, I'll lose any scripting changes as well. Maybe it would be a good idea to move the script saving part to very early in everything you do when the client is closed?

Looking at the stack traces in Process Explorer for wintin's various threads you see this:

mscore.dll!CoreEXEMain (State: Wait:UserRequest)
Code:
ntkrnlpa.exe!KiUnexpectedInterrupt+0xf0
ntkrnlpa.exe!NtWaitForSingleObject+0x38c
ntkrnlpa.exe!KeReleaseInStackQueuedSpinLockFromDpcLevel+0xb14
ntdll.dll!KiFastSystemCallRet
USER32.dll!GetLastInputInfo+0x105
ole32.dll!CoUnmarshalInterface+0x13e2
ole32.dll!CoWaitForMultipleHandles+0xe6
mscorwks.dll!GetCompileInfo+0x5a8da
mscorwks.dll!GetCompileInfo+0x5a865
mscorwks.dll!CorMarkThreadInThreadPool+0x297e
mscorwks.dll!CorMarkThreadInThreadPool+0x2edf
mscorwks.dll!CorExitProcess+0x2270c
mscorwks.dll!GetCompileInfo+0x5d555

mscorwks.dll!ReleaseFusionInterfaces+0x453f4 (State: Ready)
Code:
ntkrnlpa.exe!KiUnexpectedInterrupt+0xf0
ntkrnlpa.exe!ProbeForRead+0x615
ntkrnlpa.exe!KeReleaseInStackQueuedSpinLockFromDpcLevel+0xb14
ntdll.dll!KiFastSystemCallRet
KERNEL32.dll!Sleep+0xf
mscorwks.dll!ReleaseFusionInterfaces+0x45448
KERNEL32.dll!GetModuleFileNameA+0x1b4

mscorwks.dll!CoInitializeCor+0xa65f (State: Wait:UserRequest)
Code:
ntkrnlpa.exe!KiUnexpectedInterrupt+0xf0
ntkrnlpa.exe!ZwYieldExecution+0x1900
ntkrnlpa.exe!ZwYieldExecution+0x196c
ntkrnlpa.exe!NtWaitForSingleObject+0x38c
ntkrnlpa.exe!KeReleaseInStackQueuedSpinLockFromDpcLevel+0xb14
ntdll.dll!KiFastSystemCallRet
KERNEL32.dll!WaitForMultipleObjects+0x18
mscorwks.dll!CoInitializeCor+0x9883
mscorwks.dll!CoInitializeCor+0x97fa
KERNEL32.dll!GetModuleFileNameA+0x1b4

mscorwks.dll!CoInitializeCor+0x7177 (State: Wait:UserRequest)
Code:
ntkrnlpa.exe!KiUnexpectedInterrupt+0xf0
ntkrnlpa.exe!ZwYieldExecution+0x1900
ntkrnlpa.exe!ZwYieldExecution+0x196c
ntkrnlpa.exe!NtWaitForSingleObject+0x9a
ntkrnlpa.exe!KeReleaseInStackQueuedSpinLockFromDpcLevel+0xb14
ntdll.dll!KiFastSystemCallRet
KERNEL32.dll!WaitForSingleObject+0x12
ole32.dll!CreateGenericComposite+0x6b2
ole32.dll!StgGetIFillLockBytesOnFile+0x11659
ole32.dll!StgGetIFillLockBytesOnFile+0x108a2
ole32.dll!DcomChannelSetHResult+0xdbd
ole32.dll!CoGetObject+0x1755
RPCRT4.dll!NdrProxySendReceive+0x40
RPCRT4.dll!NdrProxySendReceive+0x137
RPCRT4.dll!NdrProxySendReceive+0xcd
RPCRT4.dll!NdrComplexArrayMemorySize+0x695
ole32.dll!CoGetObject+0x1331
ole32.dll!CoCreateObjectInContext+0xd02
mscorwks.dll!GetCompileInfo+0x58677
mscorwks.dll!GetCompileInfo+0x58d79
mscorwks.dll!GetCompileInfo+0x58862
mscorwks.dll!GetCompileInfo+0x24d62
mscorwks.dll!CoInitializeCor+0x71b8
KERNEL32.dll!GetModuleFileNameA+0x1b4

mscorwks.dll!ReleaseFusionInterfaces+0x459a1 (State: Wait:DelayExecution)
Code:
ntkrnlpa.exe!KiUnexpectedInterrupt+0xf0
ntkrnlpa.exe!ZwYieldExecution+0x1900
ntkrnlpa.exe!ZwYieldExecution+0x196c
ntkrnlpa.exe!ProbeForRead+0x615
ntkrnlpa.exe!KeReleaseInStackQueuedSpinLockFromDpcLevel+0xb14
ntdll.dll!KiFastSystemCallRet
mscorwks.dll!ReleaseFusionInterfaces+0x459d1

mscorwks.dll!ReleaseFusionInterfaces+0x45841 (State: Wait:DelayExecution)
Code:
ntkrnlpa.exe!KiUnexpectedInterrupt+0xf0
ntkrnlpa.exe!ZwYieldExecution+0x1900
ntkrnlpa.exe!ZwYieldExecution+0x196c
ntkrnlpa.exe!ProbeForRead+0x615
ntkrnlpa.exe!KeReleaseInStackQueuedSpinLockFromDpcLevel+0xb14
ntdll.dll!KiFastSystemCallRet
mscorwks.dll!ReleaseFusionInterfaces+0x45863
KERNEL32.dll!GetModuleFileNameA+0x1b4

KERNEL32.dll!CreateThread+0x22 (State: Wait: WrLpcReceive)
Code:
ntkrnlpa.exe!KiUnexpectedInterrupt+0xf0
ntkrnlpa.exe!ZwYieldExecution+0x1900
ntkrnlpa.exe!ZwYieldExecution+0x196c
ntkrnlpa.exe!NtConnectPort+0x1cc8
ntkrnlpa.exe!KeReleaseInStackQueuedSpinLockFromDpcLevel+0xb14
ntdll.dll!KiFastSystemCallRet
RPCRT4.dll!I_RpcBCacheFree+0x5ea
RPCRT4.dll!I_RpcBCacheFree+0x403
RPCRT4.dll!I_RpcBCacheFree+0x5d2
KERNEL32.dll!GetModuleFileNameA+0x1b4
Back to top
View user's profile Send private message
zephyr
Juggernaut


Joined: 08 Jan 2007
Posts: 145

PostPosted: Sun Mar 11, 2007 7:26 pm    Post subject: Reply with quote

Maybe one of the threads is sitting around waiting for something that never happens, and is keeping the client from finishing exiting?
Back to top
View user's profile Send private message
zephyr
Juggernaut


Joined: 08 Jan 2007
Posts: 145

PostPosted: Sun Mar 11, 2007 8:31 pm    Post subject: Reply with quote

I installed a new set of Forceware videocard drivers on the off chance that has something to do with this. So far, after about eight closings of the client, the issue hasn't occurred. I'm guessing it's just a fluke, and if it still happens I'll let you know in this thread, or if after a number of days I'm not seeing it anymore I'll post about that as well.
Back to top
View user's profile Send private message
zephyr
Juggernaut


Joined: 08 Jan 2007
Posts: 145

PostPosted: Tue Mar 13, 2007 1:46 pm    Post subject: Reply with quote

OK, this is still happening. So, it wasn't a driver issue.

One thing I've got in the habit of doing, is always manually saving the script file before exiting. Just throwing that out there in case somehow saving the script file just before exiting has anything to do with this. I'm pretty sure the reason I got in that habit is this issue though Wink, so it would follow that it was occurring before I was manually saving all the time.
Back to top
View user's profile Send private message
zephyr
Juggernaut


Joined: 08 Jan 2007
Posts: 145

PostPosted: Tue Apr 17, 2007 9:38 pm    Post subject: Reply with quote

Just wanted to quickly add that my video card had some failing memory on it (and this was manifested by it rarely displaying polygons incorrectly or at the desktop from time to time displaying a pixel incorrectly). I just got a new card after RMAing the old video card. I'm not sure if that could be related to my issue (but since noone else has mentioned they have the same problem I'm certainly entertaining the possibility this is specific to me).

Anyway, since installing this new card I haven't experienced the issue (so far it's been two days). In a few days I'll post again in this thread as to whether or not I continue to not experience the issue.

(BTW, have you had a chance to look into the script eating bug? Out of all the ones I've reported that one for me is probably the most unsettling)
Back to top
View user's profile Send private message
zephyr
Juggernaut


Joined: 08 Jan 2007
Posts: 145

PostPosted: Wed Apr 18, 2007 4:50 am    Post subject: Reply with quote

The stuck mid-exiting thing just occurred again so I guess that eliminates the video card possibility.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    wintin Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group