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 313900 - GTK+ color picker freezes when "Color Name" tooltip appears
GTK+ color picker freezes when "Color Name" tooltip appears
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.8.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2005-08-18 22:09 UTC by Sebastien Bacher
Modified: 2011-02-04 16:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2005-08-18 22:09:38 UTC
This bug has been opened here: http://bugzilla.ubuntu.com/show_bug.cgi?id=13770

"These are the steps I take to produce this bug:

1. Set application font to "Bitstream Vera Sans (Roman)" size 8.
2. Open the desktop background selector.
3. Click on the button to display the color picker.
4. Leave the mouse pointer over the "Color Name" label/box long enough for the
tooltip to appear.

Once the tooltip appears it does not vanish until the color picker window is
forced to close with Metacity.

I forgot to mention that I'm using Ubuntu Breezy Badger Colony 3."
Comment 1 Sebastien Bacher 2005-08-18 22:10:58 UTC
That happens with gtk-demo from GTK 2.8.0 too.

Backtrace of the crash:

(gtk-demo:5113): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion `GDK_IS_D
RAWABLE (drawable)' failed

(gtk-demo:5113): Gdk-WARNING **: gdk_window_set_back_pixmap(): pixmap must have
a colormap
*** glibc detected *** malloc(): memory corruption: 0x08328460 ***

Program received signal SIGABRT, Aborted.
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #2 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #3 __libc_message
    from /lib/tls/i686/cmov/libc.so.6
  • #4 _int_malloc
    from /lib/tls/i686/cmov/libc.so.6
  • #5 malloc
    from /lib/tls/i686/cmov/libc.so.6
  • #6 _cairo_pixman_format_create_masks
    at icformat.c line 84
  • #7 _cairo_pixman_format_create
    at icformat.c line 39
  • #8 _create_pixman_format
    at cairo-image-surface.c line 132
  • #9 cairo_image_surface_create_for_data
    at cairo-image-surface.c line 223
  • #10 gtk_hsv_expose
    at gtkhsv.c line 1220
  • #11 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83


From valgrind:

==5932== Invalid write of size 4
==5932==    at 0x1BA0D300: ??? (gtkhsv.c:1216)
Comment 2 Matthias Clasen 2005-08-19 16:16:24 UTC
2005-08-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkhsv.c (paint_triangle): Avoid a buffer overrun.  
	(#313900, Sebastien Bacher)