CocoaPods / CocoaPods-app

A full-featured and standalone installation of CocoaPods.
Other
1.23k stars 282 forks source link

High CPU usage! (ReflectionService) #388

Closed ownmas closed 6 years ago

ownmas commented 6 years ago
2017-12-07 16 25 10
orta commented 6 years ago

duplicate of https://github.com/CocoaPods/CocoaPods-app/issues/386

Thanks for the issue though.

CodingMarkus commented 6 years ago

Problem still exists in 1.4. The funny thing is, the XPC service is not really doing anything:

    2750 Thread_577981   DispatchQueue_11: com.apple.root.default-qos.overcommit  (concurrent)
    + 2750 _dispatch_sig_thread  (in libdispatch.dylib) + 53  [0x7fff772e7c58]
    +   2750 _dispatch_sigsuspend  (in libdispatch.dylib) + 21  [0x7fff772e7c6d]
    +     2750 __sigsuspend_nocancel  (in libsystem_kernel.dylib) + 10  [0x7fff774652fa]
    2750 Thread_577982: org.cocoapods.app.RBObjectThread
    + 2750 _sigtramp  (in libsystem_platform.dylib) + 26  [0x7fff77596f5a]
    +   2750 sigsegv  (in ReflectionService) + 91  [0x107b8518b]
    +     2750 rb_bug_context  (in ReflectionService) + 454  [0x107a56ed6]
    +       2750 rb_vm_bugreport  (in ReflectionService) + 281  [0x107c41669]
    2750 Thread_577984: ruby-timer-thr
    + 2750 thread_start  (in libsystem_pthread.dylib) + 13  [0x7fff7759fc5d]
    +   2750 _pthread_start  (in libsystem_pthread.dylib) + 377  [0x7fff775a056d]
    +     2750 _pthread_body  (in libsystem_pthread.dylib) + 340  [0x7fff775a06c1]
    +       2750 thread_timer  (in ReflectionService) + 76  [0x107c53d2c]
    +         2750 timer_thread_sleep  (in ReflectionService) + 138  [0x107c5408a]
    +           2750 poll  (in libsystem_kernel.dylib) + 10  [0x7fff77466372]
    2750 Thread_580195
    + 2750 start_wqthread  (in libsystem_pthread.dylib) + 13  [0x7fff7759fc4d]
    +   2750 _pthread_wqthread  (in libsystem_pthread.dylib) + 1035  [0x7fff775a006a]
    +     2750 __workq_kernreturn  (in libsystem_kernel.dylib) + 10  [0x7fff77465562]
    2750 Thread_581210
      2750 start_wqthread  (in libsystem_pthread.dylib) + 13  [0x7fff7759fc4d]
        2750 _pthread_wqthread  (in libsystem_pthread.dylib) + 1552  [0x7fff775a026f]
          2750 __workq_kernreturn  (in libsystem_kernel.dylib) + 10  [0x7fff77465562]

The load is produced because there are about 100'000 context switches a second.

adriansergheev commented 6 years ago

the issue is still valid,

devsparkles commented 6 years ago

still valid in 1.4.0 screen shot 2018-04-28 at 21 41 54

ownmas commented 6 years ago

Does anyone find good alternative for this official buggy CocoaPods app?

bmxius commented 5 years ago

1.5.2 still buggy, service load CPU on 200%.