[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Re: Re: TortoiseProc.exe Hangs on Initial startup

From: Terry Fisher <terry_at_tfisher.ca>
Date: Thu, 7 Feb 2013 11:01:00 -0800 (PST)

m_bBusy is false.

The call stack looks pretty clean:

I don't believe that SolidWorks is doing anything to cause the problem, but that something with the SolidWorks icon generator is triggering a race condition between CChangedDialog::ChangedStatusThread() and the main GUI thread. I tried 2 things:

1) I replace the call to OnBnClickedRefresh() in CChangedDialog::OnInitDialog(), with ChangedStatusThread(), avoiding the separate thread. In this case, the dialog initialized properly without hanging.

2) I reverted the change above, and added a Sleep(5000) as the first line of CChangedDialog::ChangedStatusThread(). In this case, the dialog initialized correctly at first, but after 5 seconds, when the thread continued, the dialog went to its "busy" state, and hung again.

When I have a bit more time, I'm going to try removing the call to OnBnClickedRefresh() from CChangedOnInitDialog() so the dialog starts up without the list of files, and then use "Refresh" to populate it. I expect this to hang when I press "Refresh".

I'm then going to change CChangedDialog::OnBnClickedRefresh() to call ChangedStatusThread() directly without creating the separate thread. I expect this to work fine.

Let me know if there's anything else you'd like me to test.



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-02-07 20:01:05 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.