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

RE: Re: TortoiseProc.exe Hangs on Initial startup

From: Terry Fisher <terry_at_tfisher.ca>
Date: Wed, 30 Jan 2013 20:44:55 -0800 (PST)

Unchecking "Use Aero dialogs" does not fix the problem.

The project I am using to debug the problem has 29 items in the directory: 26 files belong to the project and are unmodified, 2 are unversioned SolidWorks files, + .svn folder.

I paid more attention to the status of the dialog when its in the "hung" state. The ListCtrl display is empty, even though the 2, unversioned files should be displayed

I inserted some debugging code which is conditional on a global variable. This allows me to break at the OnPaint function in the "hung" state and then walk through some debug code.

I attached to the hung process, and set a breakpoint at the OnPaint function and looked at the contents of the class members.

According the the current state of the class:
m_nUnversioned = 2
m_nNormal = 27
m_nShownUnversioned = 2
m_nShownNormal=0
m_nShownFiles=2
m_arStatusarray has 29 items in it
m_ProperyMap has 26 items -- the 26 files
m_arListArray has 2 items (27,28)
m_nIconFolder = 3

GetItemCount() at this point does return 2, even though nothing has been drawn. I did notice that once I enable the debug code (which calls ValidateRect(0)), the CSVNStatusListCtrl::OnNMCustomDraw() function gets called (for some reason, I had a breakpoint set there)...this may be normal, but something I noticed.

If I copy the directory to a 64 bit machine without SolidWorks installed, the dialog initializes properly, but the icons are the standard "unknown file type" icons.

It appears there is something going on with the ListCtrl...it thinks it has 2 items, but hasn't drawn any.

Sorry for the long reply...just trying to help.

Terry

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3046855

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-01-31 05:45:04 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.