bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug awt/26812] test colormap and expose event handling for Nokia 770


From: fitzsim at redhat dot com
Subject: [Bug awt/26812] test colormap and expose event handling for Nokia 770
Date: 23 Mar 2006 20:13:19 -0000


------- Comment #1 from fitzsim at redhat dot com  2006-03-23 20:13 -------
I'm able to test this on Fedora Core 5 like so:

Go to:

System->Administration->Display

and setting Color Depth to 256 Colors.

Log out and log back in.

Then run:

Xnest -ac :1&
DISPLAY=:1 matchbox-window-manager&
DISPLAY=:1 jamvm gnu.classpath.examples.awt.Demo

This gives this error:
The program '.' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 591 error_code 8 request_code 72 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

To debug this, in native/jni/gtk-peer/gtkpeer.h define SYNCHRONIZE_GDK to 1 and
rebuild/reinstall classpath.  Then run:

DISPLAY=:1 gdb --args jamvm gnu.classpath.examples.awt.Demo

and break on gdk_x_error to get a meaningful backtrace.

This is a bug in our use of the GDK colormap APIs.  We assume a depth of 24
which is an invalid assumption.


-- 

fitzsim at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-03-23 20:13:19
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26812





reply via email to

[Prev in Thread] Current Thread [Next in Thread]