linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #04742
[Bug 735512] Re: (0.782)high single threaded cpu usage and no traffic after a period of time
here is how to get the stack trace of a bugged thread with GDB (and a
MinGW version of DC++):
- install GDB by using the download button on <http://sourceforge.net/projects/mingw/> and running a regular MinGW install.
- find the process id of the DC++ process and thread ids of bugged threads with Process Explorer.
- convert the thread number from decimal to hexadecimal (eg with the Win calc) (for ex, 1708 becomes 6ac).
- open a command prompt (Win-key + R; type "cmd").
- use cd commands to go to the DC++ directory.
- type: PATH=C:\MinGW\bin;%PATH%
- type: gdb -e DCPlusPlus.exe -s DCPlusPlus.pdb
- within the gdb prompt, attach to the running process with: attach id (replace "id" by the process id found above).
- within the gdb prompt, find the index of the desired thread with: thread find id (replace "id" by the hexadecimal thread id found above - make sure it contains lower-case letters).
GDB will write: "Thread [thread index] has target id 'Thread [process id].0x[hex thread id]'"
- get the stack trace of the desired thread with: thread apply index bt (replace "index" by the thread index number found above).
good luck!
--
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/735512
Title:
(0.782)high single threaded cpu usage and no traffic after a period of
time
Status in DC++:
Incomplete
Bug description:
the release 0.782 version of dc++ seems to stop all traffic, as well
as take up ~15% cpu constantly on my core i7 after a few hours of
running it, the UI still works and it is reporting my upload traffic
at 0kb/sec, the upload progress bars are there and they just sit at
the same percentage when the traffic stop happened... by this point
my downloads have either completed or have entered the 'connection
timed out' status, so there is also no download traffic
this problem does not occur on the r2445 0.785 build
To manage notifications about this bug go to:
https://bugs.launchpad.net/dcplusplus/+bug/735512/+subscriptions
References