← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 735512] Re: (0.782)high single threaded cpu usage and no traffic after a period of time

 

For one thread stack below.
(At the moment, only one thread CPU overloads)


Thread 10 (Thread 13200.0x41c0):
#0  0x009553a9 in __atomic_flag_wait_explicit ()
#1  0x009147c6 in std::__atomic0::__atomic_base<long>::fetch_add (
    this=0xcb23dc, __i=1, __m=std::memory_order_seq_cst)
    at e:/dcdev/compiler/mingw/bin/../lib/gcc/mingw32/4.6.1/include/c++/bits/atomic_0.h:394
#2  0x009148a1 in std::__atomic0::__atomic_base<long>::operator++ (
    this=0xcb23dc)
    at e:/dcdev/compiler/mingw/bin/../lib/gcc/mingw32/4.6.1/include/c++/bits/atomic_0.h:216
#3  0x005ac38a in dcpp::BufferedSocket::BufferedSocket (this=0x40b8f78,
    aSeparator=0 '\000', v4only=false) at dcpp\BufferedSocket.cpp:49
#4  0x00786116 in dcpp::BufferedSocket::getSocket (sep=0 '\000', v4only=false)
    at dcpp//BufferedSocket.h:61
#5  0x005aa102 in dcpp::UserConnection::connect (this=0x8f5bd98, aServer=...,
    aPort=..., localPort=..., natRole=dcpp::BufferedSocket::NAT_NONE)
    at dcpp\UserConnection.cpp:140
#6  0x0058ea82 in dcpp::ConnectionManager::nmdcConnect (this=0xd87430,
    aServer=..., aPort=..., aNick=..., hubUrl=..., encoding=...)
    at dcpp\ConnectionManager.cpp:320
#7  0x005a2dd3 in dcpp::NmdcHub::onLine (this=0x44d31d8, aLine=...)
    at dcpp\NmdcHub.cpp:438
#8  0x005a786e in dcpp::NmdcHub::on (this=0x44d31d8, aLine=...)
    at dcpp\NmdcHub.cpp:963
#9  0x007963c1 in dcpp::Speaker<dcpp::BufferedSocketListener>::fire<dcpp::BufferedSocketListener::X<2>, std::basic_string<char> > (this=0x40b8230, type=...,
    p1=...) at dcpp//Speaker.h:60
#10 0x005ad641 in dcpp::BufferedSocket::threadRead (this=0x40b8230)
    at dcpp\BufferedSocket.cpp:249
#11 0x005ae0e8 in dcpp::BufferedSocket::threadSendData (this=0x40b8230)
    at dcpp\BufferedSocket.cpp:419
#12 0x005ae34e in dcpp::BufferedSocket::checkEvents (this=0x40b8230)
    at dcpp\BufferedSocket.cpp:461
#13 0x005ae540 in dcpp::BufferedSocket::run (this=0x40b8230)
    at dcpp\BufferedSocket.cpp:490
#14 0x00790842 in dcpp::Thread::starter (p=0x40b825c) at dcpp//Thread.h:105
#15 0x763c339a in KERNEL32!BaseCleanupAppcompatCacheSupport ()
   from C:\Windows\syswow64\kernel32.dll
#16 0x040b825c in operator new ()
#17 0x77859ed2 in wcscat () from C:\Windows\SysWOW64\ntdll.dll
#18 0x040b825c in operator new ()
#19 0x77859ea5 in wcscat () from C:\Windows\SysWOW64\ntdll.dll
#20 0x00790824 in dcpp::Thread::yield() ()
#21 0x00000000 in ?? ()
(gdb)

-- 
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