Hello there.
I runned the debug version in VisualStudio 2003 debugger.
I connected to a hub, then closed the HubFrame, DC++ deadlock.
I am using 0.403 without any change, compiled with WTL7.1 + stlport4.6.2 got from here:
http://sourceforge.net/project/showfile ... e_id=32827
After pause the program and check stacktrace, I found the WTL::CButton.GetCheck() didn't return.
Please see the screenshot for more information.
http://www.aloofhosting.com/3x3x3/
Any help is appreciated.
Deadlock when close hub frame
Moderator: Moderators
Deadlock when close hub frame
Last edited by 3x3x3 on 2004-07-28 05:14, edited 1 time in total.
-
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
Closing a hub window while the user list is being loaded is a known issue. Of course you see it most on large hubs. If you want to take a look at it and work up a fix, that would be appreciated.
I've seen deadlocks, but only in debug mode on cvs derived clients - BCDC. In my case, disabling the hub flashing (seems to have) fixed it.
I've seen deadlocks, but only in debug mode on cvs derived clients - BCDC. In my case, disabling the hub flashing (seems to have) fixed it.
Re: Deadlock when close hub frame
OT: What is the font you used in Editor?3x3x3 wrote:Hello there.
Please see the screenshot for more information.
http://www.aloofhosting.com/3x3x3/
-
- Posts: 72
- Joined: 2004-01-23 14:45
Deadlock is caused by function HubFrame::getUserInfo();
I've just replaced its content with
and no deadlocks now )
Code: Select all
bool getUserInfo() { return ctrlShowUsers.GetCheck() == BST_CHECKED; }
Code: Select all
bool getUserInfo() { return ShowUserList; }