LogDialog sometimes hangs
From: Dmitry <wipedout_at_yandex.ru>
Date: Fri, 28 Jan 2011 12:17:50 +0300
Hey.
I noticed that a rather old revision (yes I see no changes that could have changed that behavior since that revision) has Log Dialog hanging sometimes. I have no idea what it depends on - just once in a while I when ask to show the changelog the dialog appears and hangs gray for ages, Task Manager shows full load of the CPU core.
I attached the debugger and what I'm seeing is that it hangs inside CLogDlg::ResizeAllListCtrlCols(bool bOnlyVisible) with "bOnlyVisible" set to true. It is inside the loop:
for (size_t index = startRow; index<endRow; ++index)
with "endRow" being shown as 0xFFFFFFFF by the debugger. So looks like for whatever reason "endRow" somehow became -1. "endRow" is being initialized by the following code:
startRow = m_LogList.GetTopIndex();
Do you have any idea of why "endRow" could have become equal to -1?
Thank you.
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.