GNOME Bugzilla – Bug 109536
GDK drops a blocker error when computer is locked.
Last modified: 2005-10-02 20:22:01 UTC
GDK drops an error when computer is locked (NT-based systems feature). Then I get: (process:824): Gdk-WARNING (recursed) **: gdkdrawable-win32.c:1543: BitBlt failed: The handle is invalid. aborting... which closes the active application. I'm experiencing this with an unofficial X-Chat for Windows: http://ursus.mif.vu.lt/xchat/ and GTK+ Runtime Enviroment 2.2.1 from http://www.dropline.net/gtk/
Have you tried with the GTK+ 2.2.1 runtime from www.gimp.org/win32/downloads.html? Or is the runtime from the site you mention just a repackaging of this? Anyway, I can't reproduce this with testgtk or gtk-demo. Please provide more information, for instance what kind of display (256 color, 16 bit or True Color?)
Created attachment 15336 [details] I'm using 32bit TrueColor. I can confirm this when running with libs from gimp.org. WinXP SP1, Matrox MGA400 latest display drivers.
I can't reproduce it on Win2k, with the X-Chat executable you attached to bug #109537. I open an IRC window, and Ctrl-Alt-Del, Lock Computer, then unlock it after a moment.
very weird. this error is not only for me, i got several bugs reports on it. maybe u must be connected to an irc network? also, xchat might drop errors to a separate tab called (warnings).
I have experiences a similar error w/ GTK+ 2.2.1.1 & 2.2.1.2 & xchat 2.02 & the prior 2.01. I receive one of a couple different errors, but both are consistent. The first of these errors is the above stated error: Gdk-WARNING (recursed) **: gdkdrawable-win32.c:1543:BitBlt failed: The handle is invalid. aborting... I also will see the error: (process 2544): GdkWARNING(recursed) **:gdkdrawable-win32.c:1226: LineTo failed: Access is denied. aborting.. As one will note, both errors seem to deal w/ the inability of GTK to draw the related window/screen. I get these message when either I lock my screen or the screen saver just kicks in. In any case, GTK does not seem to be able to deal w/ the inability to actively access the screen output. On a final note, I can confirm that the issue of being connected to an IRC network or not does not seem to impact the matter. I get these errors whether I am connected to an IRC network or have just launched x-chat w/out establishing an IRC connection. For what difference it makes, I am experiencign these problems on a workstation running Windows XP Pro (SP1) w/ a ATI Mobility U1 video card (same error on either laptop lcd display or when connected to external monitor. Thx for any time that can be given to this matter. Drew B.
I am running Gkrellm for windows, using gtk+ 2.2.4.1 and frequently receive an error of 'Gdk-WARNING **: gdkdrawable-win32.c:1568: BitBlt failed: The handle is invalid.' This happens seemingly randomly, althought it seems to happen after the screen blanks due to screen saver or power saver kicks in. It also happens randomly when I attempt to change themes in gkrellm. Gkrellm worked normally prior to upgrading to Gtk+ 2.2.4.1
*** Bug 124931 has been marked as a duplicate of this bug. ***
Magic command: SetStdHandle(STD_ERROR_HANDLE, INVALID_HANDLE_VALUE); Add this line in your Windows project. All error messages are redirected to INVALID_HANDLE_VALUE.
new information available...
Isn't this the same problem as #137796?
Yes, must be. Thanks for noticing. *** This bug has been marked as a duplicate of 137796 ***