shellscape / Gmail-Notifier-Plus

Gmail Notifier Plus
http://shellscape.org
MIT License
90 stars 26 forks source link

Notifier crashes on idle PC #105

Closed bvanbogart closed 12 years ago

bvanbogart commented 12 years ago

I have 3.5.0.0 running on 3 different machines (work, home and laptop), all running Windows 7 Enterprise. On every one of them, the notifier will have an error onscreen after being left on overnight. When this happens I need to close all windows and restart the notifier. It's not a big deal, but it happens all the time and there doesn't seem to be a reason for it. Here is text from a typical error log:

Date: 9/17/2012 9:08:26 AM CPU: Microsoft Windows 7 Enterprise 6.1.7600.0 Win32NT Processor: GenuineIntel Intel64 Family 6 Model 26 Stepping 5 Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz 2811 ~Mhz Memory: 6440443904

Exception: System.OutOfMemoryException: Out of memory. at System.Drawing.Graphics.FromHdcInternal(IntPtr hdc) at System.Drawing.BufferedGraphicsContext.CreateBuffer(IntPtr src, Int32 offsetX, Int32 offsetY, Int32 width, Int32 height) at System.Drawing.BufferedGraphicsContext.AllocBuffer(Graphics targetGraphics, IntPtr targetDC, Rectangle targetRectangle) at System.Windows.Forms.Control.WmPaint(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Message: Out of memory.

Stack Trace: at System.Drawing.Graphics.FromHdcInternal(IntPtr hdc) at System.Drawing.BufferedGraphicsContext.CreateBuffer(IntPtr src, Int32 offsetX, Int32 offsetY, Int32 width, Int32 height) at System.Drawing.BufferedGraphicsContext.AllocBuffer(Graphics targetGraphics, IntPtr targetDC, Rectangle targetRectangle) at System.Windows.Forms.Control.WmPaint(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Inner Exception:

Thank you, Brian

shellscape commented 12 years ago

Thanks for the report. I did a lot of work over the last few weeks to mitigate this problem. No one else reported it and I had thought I was the only one seeing it. I have the issue fixed in the build i'm testing for the next release. If you'd like a copy of the build early (as I know how annoying that error can be) send me a message on github with your email address and I'll forward you the zip.

bvanbogart commented 12 years ago

Thanks Andrew, I'd appreciate that a lot. I couldn't quickly see a way to message you on github, so I thought I'd try replying to this to see if you get it. If not, I'll try the email address listed for you on your github profile.

Thanks again! Brian

On Mon, Sep 17, 2012 at 12:23 PM, Andrew Powell notifications@github.comwrote:

Thanks for the report. I did a lot of work over the last few weeks to mitigate this problem. No one else reported it and I had thought I was the only one seeing it. I have the issue fixed in the build i'm testing for the next release. If you'd like a copy of the build early (as I know how annoying that error can be) send me a message on github with your email address and I'll forward you the zip.

— Reply to this email directly or view it on GitHubhttps://github.com/shellscape/Gmail-Notifier-Plus/issues/105#issuecomment-8623287.

shellscape commented 12 years ago

Never got a message / email from you, but I'm going to be packaging up GNP tomorrow at some point, so look for a new build, if you don't get automatically notified by the app itself.

bvanbogart commented 12 years ago

Hi Andrew,

I'm happy to hear that, thank you for your work on this! It really is a useful little app, which is why I've been living with the annoying crashes for so long. lol I did try to reply to your message, but it must not have gotten to you. I'll be happy to see your new release either way.

Thanks again! Brian

On Thu, Sep 20, 2012 at 11:57 PM, Andrew Powell notifications@github.comwrote:

Never got a message / email from you, but I'm going to be packaging up GNP tomorrow at some point, so look for a new build, if you don't get automatically notified by the app itself.

— Reply to this email directly or view it on GitHubhttps://github.com/shellscape/Gmail-Notifier-Plus/issues/105#issuecomment-8755134.