Advertisement
Wizardling

BitTorrent client hung

Mar 21st, 2015
352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.80 KB | None | 0 0
  1. Sampling process 85048 for 3 seconds with 1 millisecond of run time between samples
  2. Sampling completed, processing symbols...
  3. Analysis of sampling BitTorrent (pid 85048) every 1 millisecond
  4. Call graph:
  5. 2254 Thread_6107751 DispatchQueue_1: com.apple.main-thread (serial)
  6. 2254 start
  7. 2254 main
  8. 2254 NSApplicationMain
  9. 2254 -[NSApplication run]
  10. 2254 -[NSApplication sendEvent:]
  11. 2254 -[NSWindow sendEvent:]
  12. 2254 -[NSScroller mouseDown:]
  13. 2254 -[NSWindow enableCursorRects]
  14. 2253 changeCursorRects
  15. 2253 -[NSWindow(NSCarbonExtensions) _setCursorRect:index:]
  16. 2252 _NXSetCursorRect
  17. 2249 CGSAddTrackingRect
  18. 2239 CGSAddTrackingArea
  19. 2239 _CGSAddTrackingAreaInline
  20. 2238 mach_msg
  21. 2238 mach_msg_trap
  22. 1 _CGSAddTrackingAreaInline
  23. 5 CGSReleaseRegion
  24. 2 CFRelease
  25. 2 _CFRelease
  26. 1 object_getClass
  27. 1 regionFinalize
  28. 1 mem_heap_free
  29. 1 szone_free
  30. 1 spin_lock
  31. 1 CFGetTypeID
  32. 3 CGSNewRegionWithRect
  33. 1 CGSNewRegion
  34. 1 CGTypeCreateInstanceWithAllocator
  35. 1 _CFRuntimeCreateInstance
  36. 1 pthread_getspecific
  37. 1 CGSNewRegionWithRect
  38. 1 shape_alloc_bounds
  39. 1 mem_heap_malloc
  40. 1 malloc_zone_malloc
  41. 2 CGSAddTrackingRect
  42. 3 CGSGetWindowBounds
  43. 2 _CGSLocalWindowByID
  44. 1 CGSGetWindowBounds
  45. 1 objc_msgSend
  46. 1 objc_msgSend
  47. 2254 Thread_6107765 DispatchQueue_2: com.apple.libdispatch-manager (serial)
  48. 2254 start_wqthread
  49. 2254 _pthread_wqthread
  50. 2254 _dispatch_worker_thread2
  51. 2254 _dispatch_queue_invoke
  52. 2254 _dispatch_mgr_invoke
  53. 2254 kevent
  54. 2254 Thread_6107772
  55. 2254 thread_start
  56. 2254 _pthread_start
  57. 2254 google_breakpad::ExceptionHandler::WaitForMessage(void*)
  58. 2254 mach_msg
  59. 2254 mach_msg_trap
  60. 2254 Thread_6107774
  61. 2254 thread_start
  62. 2254 _pthread_start
  63. 2254 __NSThread__main__
  64. 2254 -[NSThread main]
  65. 2254 +[BitTorrent main:]
  66. 2254 Startup(unsigned long, int, wchar_t const**, _opaque_pthread_mutex_t*, _opaque_pthread_cond_t*, int*)
  67. 2254 LApp::message_loop()
  68. 2254 MsgQ::GetNextMessage(unsigned int)
  69. 2254 EventObject::WaitForSingleObject(unsigned int)
  70. 2254 pthread_cond_timedwait$UNIX2003
  71. 2254 _pthread_cond_wait
  72. 2254 __semwait_signal
  73. 2254 Thread_6107776
  74. 2254 thread_start
  75. 2254 _pthread_start
  76. 2254 thread_func_wrapper(void*)
  77. 2254 IOThread(void*)
  78. 2253 EventObject::WaitForSingleObject(unsigned int)
  79. 2253 pthread_cond_timedwait$UNIX2003
  80. 2253 _pthread_cond_wait
  81. 2253 __semwait_signal
  82. 1 ProcessJobList(DiskIO::Job*)
  83. 1 DiskIO::TorrentWorkJob::Perform()
  84. 1 TorrentFile::DoDelayedWork()
  85. 1 TorrentFile::CheckDiskSpace()
  86. 1 BtLock()
  87. 1 pthread_mutex_lock
  88. 1 semaphore_wait_signal_trap
  89. 2254 Thread_6107778
  90. 2254 thread_start
  91. 2254 _pthread_start
  92. 2254 DnsThread(void*)
  93. 2254 EventObject::WaitForSingleObject(unsigned int)
  94. 2254 pthread_cond_timedwait$UNIX2003
  95. 2254 _pthread_cond_wait
  96. 2254 __semwait_signal
  97. 2254 Thread_6107779
  98. 2254 thread_start
  99. 2254 _pthread_start
  100. 2254 thread_func_wrapper(void*)
  101. 2254 NetworkThread(void*)
  102. 2254 Socket::NetworkEventLoop(ThreadSync*)
  103. 2223 Socket::select(unsigned int)
  104. 2223 kevent
  105. 14 Socket::NetworkLoop(bool)
  106. 13 TcpSocket::loop()
  107. 12 PeerConnection::run_state()
  108. 4 PeerConnection::SendDiffieHellmanHandshake1_or_2()
  109. 4 BigNum_ModExp3(unsigned int*, unsigned int const*, unsigned int const*, unsigned int const*, int, int)
  110. 4 mp_exptmod(mp_int*, mp_int*, mp_int*, mp_int*)
  111. 4 mp_exptmod_fast(mp_int*, mp_int*, mp_int*, mp_int*, int)
  112. 3 fast_mp_montgomery_reduce(mp_int*, mp_int*, unsigned long)
  113. 1 mp_sqr(mp_int*, mp_int*)
  114. 3 PeerConnection::SetupDiffieHellmanIncomingKey(unsigned char*)
  115. 3 BigNum_ModExp3(unsigned int*, unsigned int const*, unsigned int const*, unsigned int const*, int, int)
  116. 3 mp_exptmod(mp_int*, mp_int*, mp_int*, mp_int*)
  117. 3 mp_exptmod_fast(mp_int*, mp_int*, mp_int*, mp_int*, int)
  118. 1 fast_mp_montgomery_reduce(mp_int*, mp_int*, unsigned long)
  119. 1 mp_mod(mp_int*, mp_int*, mp_int*)
  120. 1 mp_div(mp_int*, mp_int*, mp_int*, mp_int*)
  121. 1 mp_div_2d(mp_int*, int, mp_int*, mp_int*)
  122. 1 MyMalloc(unsigned long)
  123. 1 malloc
  124. 1 malloc_zone_malloc
  125. 1 szone_malloc_should_clear
  126. 1 __cpu_number
  127. 1 mp_sqr(mp_int*, mp_int*)
  128. 2 PeerConnection::ProcessPeerRequest()
  129. 2 DiskIO::AddJob(DiskIO::Job*, bool, bool)
  130. 2 pthread_mutex_lock
  131. 2 __spin_lock
  132. 1 PeerConnection::Disconnect(wchar_t const*)
  133. 1 TorrentFile::RegisterPeerPieces(unsigned char*, int)
  134. 1 PeerConnection::SendDiffieHellmanHandshake3()
  135. 1 PeerConnection::SetupDiffieHellmanSharedSecret(unsigned char*, unsigned int)
  136. 1 SHA1::Finish()
  137. 1 SHA1::Update(unsigned char const*, unsigned long)
  138. 1 SHA1::Process(unsigned char const*)
  139. 1 TcpSocket::connect(SockAddr const&)
  140. 1 TcpSocket::connect(SockAddr const&, unsigned short)
  141. 1 TcpSocket::doconnect(SockAddr const&, unsigned short)
  142. 1 connect$UNIX2003
  143. 1 TcpSocket::flush_write()
  144. 1 btwritev(int, iovec*, unsigned int, unsigned int*, unsigned int)
  145. 1 writev$UNIX2003
  146. 1 Socket::NetworkLoop(bool)
  147. 4 Socket::NetworkEventLoop(ThreadSync*)
  148. 4 Socket::process_events(int)
  149. 3 SocketProcessEvent(int)
  150. 3 UDPSocketManager::event(unsigned int)
  151. 2 UTP_IsIncomingUTP
  152. 1 UTP_IsIncomingUTP
  153. 1 UTP_ProcessIncoming(UTPSocket*, unsigned char const*, unsigned long, bool)
  154. 1 UTPSocket::send_ack(bool)
  155. 1 UTPSocket::send_data(PacketFormat*, unsigned long, bandwidth_type_t, unsigned int)
  156. 1 send_to_addr(void (*)(void*, unsigned char const*, unsigned long, sockaddr const*, unsigned int, unsigned int), void*, unsigned char const*, unsigned long, PackedSockAddr const&, int)
  157. 1 send_to_proc(void*, unsigned char const*, unsigned long, sockaddr const*, unsigned int, unsigned int)
  158. 1 UDPSocketManager::Send(SockAddr const&, char const*, unsigned char const*, unsigned long, unsigned int)
  159. 1 UDPSocketManager::sendto(unsigned char const*, unsigned long, SockAddr const&, char const*, int)
  160. 1 sendto$UNIX2003
  161. 1 cerror
  162. 1 Socket::process_events(int)
  163. 3 Socket::NetworkPostTimers(bool, unsigned int)
  164. 3 BtTick(bool, unsigned int)
  165. 3 TorrentSession::BtTick(bool, unsigned int)
  166. 2 TorrentFile::NetworkTick(bool, unsigned int)
  167. 1 GetAutomationMode()
  168. 1 TorrentFile::ExpireBans()
  169. 1 TorrentFile::TryConnectMorePeers(int, int&)
  170. 1 TorrentFile::ConnectMorePeers(int, int&)
  171. 3 TcpSocket::flush_write()
  172. 3 btwritev(int, iovec*, unsigned int, unsigned int*, unsigned int)
  173. 3 writev$UNIX2003
  174. 1 GetTickCount()
  175. 1 TcpSocket::GiveUploadPoints(unsigned int)
  176. 1 TcpSocket::try_flush_write()
  177. 2254 Thread_6107797: WebCore: LocalStorage
  178. 2254 thread_start
  179. 2254 _pthread_start
  180. 2254 WTF::ThreadCondition::timedWait(WTF::Mutex&, double)
  181. 2254 pthread_cond_wait$UNIX2003
  182. 2254 _pthread_cond_wait
  183. 2254 __semwait_signal
  184. 2254 Thread_6107798
  185. 2254 thread_start
  186. 2254 _pthread_start
  187. 2254 __NSThread__main__
  188. 2254 -[NSThread main]
  189. 2254 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:]
  190. 2254 CFRunLoopRunInMode
  191. 2254 CFRunLoopRunSpecific
  192. 2254 __CFRunLoopRun
  193. 2254 mach_msg
  194. 2254 mach_msg_trap
  195. 2254 Thread_6107814
  196. 2254 thread_start
  197. 2254 _pthread_start
  198. 2254 __NSThread__main__
  199. 2254 -[NSThread main]
  200. 2254 -[UKKQueue watcherThread:]
  201. 2254 kevent
  202. 2254 Thread_6107821: com.apple.CFSocket.private
  203. 2254 thread_start
  204. 2254 _pthread_start
  205. 2254 __CFSocketManager
  206. 2254 select$DARWIN_EXTSN
  207. 2254 Thread_6107823: JavaScriptCore::Marking
  208. 2254 pthread_cond_wait$UNIX2003
  209. 2254 _pthread_cond_wait
  210. 2254 __semwait_signal
  211. 2254 Thread_6107824: JavaScriptCore::BlockFree
  212. 2254 WTF::ThreadCondition::timedWait(WTF::Mutex&, double)
  213. 2254 pthread_cond_timedwait$UNIX2003
  214. 2254 _pthread_cond_wait
  215. 2254 __semwait_signal
  216. 2254 Thread_8618677
  217. 2254 start_wqthread
  218. 2254 _pthread_wqthread
  219. 2254 __workq_kernreturn
  220.  
  221. Total number in stack (recursive counted multiple, when >=5):
  222. 9 _pthread_start
  223. 9 thread_start
  224. 6 __semwait_signal
  225. 6 _pthread_cond_wait
  226.  
  227. Sort by top of stack, same collapsed (when >= 5):
  228. __semwait_signal 13523
  229. mach_msg_trap 6746
  230. kevent 6731
  231. __workq_kernreturn 2254
  232. select$DARWIN_EXTSN 2254
  233. Sample analysis of process 85048 written to file /dev/stdout
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement