After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 109536 - GDK drops a blocker error when computer is locked.
GDK drops a blocker error when computer is locked.
Status: RESOLVED DUPLICATE of bug 137796
Product: gtk+
Classification: Platform
Component: Backend: Win32
2.2.x
Other Windows
: Normal normal
: ---
Assigned To: Tor Lillqvist
Tor Lillqvist
: 124931 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-03-30 12:44 UTC by Vaidrius Petrauskas
Modified: 2005-10-02 20:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
I'm using 32bit TrueColor. I can confirm this when running with libs from gimp.org. WinXP SP1, Matrox MGA400 latest display drivers. (65.12 KB, image/png)
2003-03-31 13:41 UTC, Vaidrius Petrauskas
Details

Description Vaidrius Petrauskas 2003-03-30 12:44:10 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/
Comment 1 Tor Lillqvist 2003-03-30 21:08:20 UTC
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?)
Comment 2 Vaidrius Petrauskas 2003-03-31 13:41:37 UTC
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.
Comment 3 Tor Lillqvist 2003-03-31 18:08:06 UTC
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.
Comment 4 Vaidrius Petrauskas 2003-04-01 12:06:47 UTC
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).
Comment 5 Drew B 2003-05-06 01:06:32 UTC
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.
Comment 6 Jason Wentworth 2003-12-02 00:16:46 UTC
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 
Comment 7 Tor Lillqvist 2003-12-08 05:53:27 UTC
*** Bug 124931 has been marked as a duplicate of this bug. ***
Comment 8 nicolas 2004-09-06 12:05:56 UTC
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.
Comment 9 Matthias Clasen 2005-06-18 14:22:29 UTC
new information available...
Comment 10 Robert Ögren 2005-10-02 20:16:09 UTC
Isn't this the same problem as #137796?
Comment 11 Tor Lillqvist 2005-10-02 20:22:01 UTC
Yes, must be. Thanks for noticing.

*** This bug has been marked as a duplicate of 137796 ***