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
-
3x3x3
- Posts: 2
- Joined: 2004-07-16 02:31
Deadlock when close hub frame
Last edited by 3x3x3 on 2004-07-28 10:14, edited 1 time in total.
-
TheParanoidOne
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 19:37
-
Guitarm
- Forum Moderator
- Posts: 385
- Joined: 2004-01-18 20:38
-
GargoyleMT
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-08 02: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.
-
JohnSmith
- Posts: 3
- Joined: 2004-07-24 20:26
- Location: Belgrade, Serbia & Montenegro
Re: Deadlock when close hub frame
3x3x3 wrote:Hello there.
Please see the screenshot for more information.
http://www.aloofhosting.com/3x3x3/
OT: What is the font you used in Editor?
-
Big Muscle
- Posts: 72
- Joined: 2004-01-23 19: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; }
I've just replaced its content with
Code: Select all
bool getUserInfo() { return ShowUserList; }
and no deadlocks now
Who is online
Users browsing this forum: Google [Bot] and 0 guests