ashchan / gmail-notifr

A MacRuby Gmail Notifier for Mac OS X
https://ashchan.com/projects/gmail-notifr
260 stars 32 forks source link

100% CPU usage #20

Closed ashchan closed 11 years ago

ashchan commented 13 years ago

Sometimes when Internet connectivity was lost CPU usages reach 100%.

morten795 commented 13 years ago

Same here...

dougc84 commented 12 years ago

I just started getting this as well a few days ago, it looks like a GC issue, judging by my system logs. It tends to take off when I shut the lid of my lappy, and open it elsewhere. Here's an excerpt of the log:

5/2/12 3:34:17.168 PM   [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x111236000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/2/12 4:14:15.204 PM   [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x111ba1000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/2/12 4:24:17.326 PM   [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x1114cc000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/2/12 4:29:13.757 PM   [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x111411000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/2/12 4:54:13.564 PM   [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x111c24000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/2/12 5:49:12.940 PM   [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x1114cc000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/2/12 9:25:26.187 PM   [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x1114cc000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/2/12 9:40:26.862 PM   [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x1114cc000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/2/12 9:45:25.859 PM   [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x111411000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/2/12 10:15:25.799 PM  [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x1114cc000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/2/12 11:15:25.883 PM  [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x111ade000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/2/12 11:25:25.929 PM  [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x111411000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/3/12 5:20:27.489 AM   [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x111c24000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/3/12 7:40:26.790 AM   [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x111ca7000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/3/12 8:40:24.193 AM   [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x111ca7000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/3/12 9:10:25.479 AM   [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x111ba1000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/3/12 9:15:25.595 AM   [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x111ba1000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/3/12 10:40:24.130 AM  [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x111ba1000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/3/12 11:15:24.149 AM  [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x111d2a000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/3/12 11:45:25.230 AM  [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x1114cc000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/3/12 11:50:23.978 AM  [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x111ade000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/3/12 12:50:24.428 PM  [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x1114cc000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/3/12 1:15:23.947 PM   [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x111ade000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/3/12 2:10:29.225 PM   [0x0-0x1a01a].com.ashchan.GmailNotifr   Gmail Notifr(760,0x111c24000) malloc: *** auto malloc[760]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
5/3/12 2:25:33.387 PM   [0x0-0x1a01a].com.ashchan.GmailNotifr   error: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A
5/3/12 6:36:47.836 PM   [0x0-0x345345].com.ashchan.GmailNotifr  Gmail Notifr(14041,0x113b31000) malloc: *** auto malloc[14041]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
ashchan commented 12 years ago

@dougc84, the log listed doesn't seem to do anything with the 100% CPU issue. The log's error should be a Lion bug, which happens when a sound is played (in our case when gmail notifr notifies you with a system sound).