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 420713 - gnome-panel crashed with SIGSEGV in cairo_rectangle()
gnome-panel crashed with SIGSEGV in cairo_rectangle()
Status: RESOLVED FIXED
Product: libwnck
Classification: Core
Component: pager
2.18.x
Other Linux
: Normal critical
: ---
Assigned To: libwnck maintainers
libwnck maintainers
: 444012 444066 444970 445884 447049 448134 448457 448543 449240 450877 451187 451191 451382 451924 452229 452989 453215 453256 455171 455788 458742 459312 459768 460073 461647 462032 474526 474947 477030 477549 478379 480772 481784 482586 483273 483991 486464 487048 493181 494501 521933 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-03-20 20:52 UTC by Sebastien Bacher
Modified: 2008-03-12 07:29 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Sebastien Bacher 2007-03-20 20:52:16 UTC
The bug has been opened on https://launchpad.net/bugs/94201

"Binary package hint: gnome-panel

Steps to reproduce:
Turn compiz on
Drag a window from the window list(how do you call it, normally at the bottom
of your screen) to another side of the cube(with a empty desktop).
You have successfully reproduced it :)

I don't now why i drag a window(button) to another side of the cube, but
gnome-panel crashes ;)
...
.

Thread 1 (process 5609)

  • #0 cairo_rectangle
    at /build/buildd/libcairo-1.4.0/src/cairo.c line 1766
  • #1 draw_window
    at pager.c line 728
  • #2 wnck_update_drag_icon
    at pager.c line 1457
  • #3 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #4 IA__g_closure_invoke
    at gclosure.c line 490
  • #5 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #6 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #7 IA__g_signal_emit
    at gsignal.c line 2243
  • #8 _wnck_window_process_configure_notify
    at window.c line 2510
  • #9 filter_func
    at xutils.c line 737
  • #10 gdk_event_apply_filters
    at gdkevents-x11.c line 343
  • #11 gdk_event_translate
    at gdkevents-x11.c line 892
  • #12 _gdk_events_queue
    at gdkevents-x11.c line 2252
  • #13 gdk_event_dispatch
    at gdkevents-x11.c line 2312
  • #14 IA__g_main_context_dispatch
    at gmain.c line 2045
  • #15 g_main_context_iterate
    at gmain.c line 2677
  • #16 IA__g_main_loop_run
    at gmain.c line 2881
  • #17 IA__gtk_main
    at gtkmain.c line 1177
  • #18 main
    at main.c line 98


I've opened a bug on cairo: https://bugs.freedesktop.org/show_bug.cgi?id=10359
libwnck should probably not call cairo_rectangle with a cr=0x0 though
Comment 1 Vincent Untz 2007-04-29 17:43:46 UTC
The question is how do we have drawable == NULL in draw_window(). It means gdk_pixmap_new() returns NULL in wnck_update_drag_icon().

This means one of these is failing:

  g_return_val_if_fail (drawable == NULL || GDK_IS_DRAWABLE (drawable), NULL);
  g_return_val_if_fail ((drawable != NULL) || (depth != -1), NULL);
  g_return_val_if_fail ((width != 0) && (height != 0), NULL);
  if (GDK_IS_WINDOW (drawable) && GDK_WINDOW_DESTROYED (drawable))

drawable in gdk_pixmap_new() is widget->window where widget is the pager. I can't see how it could be NULL or an invalid drawable or destroyed while someone is doing a drag and drop.
width and height are not null according to the stack trace.

So I'm lost.

I'd love to know if it's easily reproducable, and if it happens only with compiz (could explain why I can't reproduce...).
Comment 2 Vincent Untz 2007-06-07 05:21:28 UTC
*** Bug 444970 has been marked as a duplicate of this bug. ***
Comment 3 Vincent Untz 2007-06-15 14:22:13 UTC
*** Bug 447049 has been marked as a duplicate of this bug. ***
Comment 4 Vincent Untz 2007-06-16 09:33:59 UTC
*** Bug 448134 has been marked as a duplicate of this bug. ***
Comment 5 Vincent Untz 2007-06-17 16:47:08 UTC
*** Bug 448457 has been marked as a duplicate of this bug. ***
Comment 6 Vincent Untz 2007-06-17 17:58:34 UTC
*** Bug 448543 has been marked as a duplicate of this bug. ***
Comment 7 Vincent Untz 2007-06-18 17:06:49 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 8 Vincent Untz 2007-06-19 21:36:53 UTC
*** Bug 449240 has been marked as a duplicate of this bug. ***
Comment 9 Pedro Villavicencio 2007-06-26 00:47:15 UTC
*** Bug 450877 has been marked as a duplicate of this bug. ***
Comment 10 Vincent Untz 2007-06-26 09:39:25 UTC
*** Bug 451191 has been marked as a duplicate of this bug. ***
Comment 11 Vincent Untz 2007-06-26 09:39:38 UTC
*** Bug 451187 has been marked as a duplicate of this bug. ***
Comment 12 Vincent Untz 2007-06-26 21:55:27 UTC
*** Bug 451382 has been marked as a duplicate of this bug. ***
Comment 13 Vincent Untz 2007-06-28 15:55:16 UTC
*** Bug 451924 has been marked as a duplicate of this bug. ***
Comment 14 Vincent Untz 2007-06-29 12:53:02 UTC
*** Bug 452229 has been marked as a duplicate of this bug. ***
Comment 15 Karsten Bräckelmann 2007-07-02 04:38:58 UTC
*** Bug 452989 has been marked as a duplicate of this bug. ***
Comment 16 Karsten Bräckelmann 2007-07-02 04:40:55 UTC
*** Bug 445884 has been marked as a duplicate of this bug. ***
Comment 17 Karsten Bräckelmann 2007-07-02 04:41:07 UTC
*** Bug 444066 has been marked as a duplicate of this bug. ***
Comment 18 Karsten Bräckelmann 2007-07-02 04:41:25 UTC
*** Bug 444012 has been marked as a duplicate of this bug. ***
Comment 19 Pedro Villavicencio 2007-07-02 23:33:48 UTC
*** Bug 453256 has been marked as a duplicate of this bug. ***
Comment 20 Pedro Villavicencio 2007-07-02 23:33:55 UTC
*** Bug 453215 has been marked as a duplicate of this bug. ***
Comment 21 Vincent Untz 2007-07-10 13:52:36 UTC
*** Bug 455171 has been marked as a duplicate of this bug. ***
Comment 22 Vincent Untz 2007-07-11 09:23:09 UTC
*** Bug 455788 has been marked as a duplicate of this bug. ***
Comment 23 André Klapper 2007-07-21 20:05:08 UTC
*** Bug 458742 has been marked as a duplicate of this bug. ***
Comment 24 Vincent Untz 2007-07-22 22:20:28 UTC
*** Bug 459312 has been marked as a duplicate of this bug. ***
Comment 25 Vincent Untz 2007-07-25 17:41:37 UTC
*** Bug 460073 has been marked as a duplicate of this bug. ***
Comment 26 Vincent Untz 2007-07-25 17:49:07 UTC
*** Bug 459768 has been marked as a duplicate of this bug. ***
Comment 27 Vincent Untz 2007-09-02 12:04:11 UTC
*** Bug 461647 has been marked as a duplicate of this bug. ***
Comment 28 Vincent Untz 2007-09-02 12:04:16 UTC
*** Bug 462032 has been marked as a duplicate of this bug. ***
Comment 29 Vincent Untz 2007-09-09 10:58:50 UTC
*** Bug 474947 has been marked as a duplicate of this bug. ***
Comment 30 Vincent Untz 2007-09-09 10:59:03 UTC
*** Bug 474526 has been marked as a duplicate of this bug. ***
Comment 31 Vincent Untz 2007-09-14 21:47:31 UTC
*** Bug 477030 has been marked as a duplicate of this bug. ***
Comment 32 Vincent Untz 2007-09-17 07:34:44 UTC
*** Bug 477549 has been marked as a duplicate of this bug. ***
Comment 33 Susana 2007-10-02 19:38:01 UTC
*** Bug 480772 has been marked as a duplicate of this bug. ***
Comment 34 Susana 2007-10-02 19:38:07 UTC
*** Bug 481784 has been marked as a duplicate of this bug. ***
Comment 35 Susana 2007-10-02 19:38:17 UTC
*** Bug 482586 has been marked as a duplicate of this bug. ***
Comment 36 Susana 2007-10-06 11:50:43 UTC
*** Bug 483991 has been marked as a duplicate of this bug. ***
Comment 37 Vincent Untz 2007-10-11 16:21:38 UTC
*** Bug 478379 has been marked as a duplicate of this bug. ***
Comment 38 Vincent Untz 2007-10-11 17:44:40 UTC
*** Bug 483273 has been marked as a duplicate of this bug. ***
Comment 39 Vincent Untz 2007-10-15 19:11:04 UTC
*** Bug 486464 has been marked as a duplicate of this bug. ***
Comment 40 Vincent Untz 2007-10-16 05:49:27 UTC
*** Bug 487048 has been marked as a duplicate of this bug. ***
Comment 41 Susana 2007-11-10 10:41:32 UTC
*** Bug 493181 has been marked as a duplicate of this bug. ***
Comment 42 Vincent Untz 2007-11-13 08:53:44 UTC
*** Bug 494501 has been marked as a duplicate of this bug. ***
Comment 43 Philip Withnall 2008-03-12 07:29:24 UTC
*** Bug 521933 has been marked as a duplicate of this bug. ***