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 320909 - gtk apps crashes when setting a window icon from a big pixbuf.
gtk apps crashes when setting a window icon from a big pixbuf.
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.8.x
Other All
: High critical
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2005-11-07 20:28 UTC by Claudio Saavedra
Modified: 2005-11-08 18:27 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Claudio Saavedra 2005-11-07 20:28:16 UTC
Steps to reproduce:
This bug can be followed from EOG bug #320245. Patch #54254 reproduces it in a
small toy app, using, for instance, the following image:

http://www.gnome.org/~csaavedr/images/eog-crasher.jpg

Stack trace:
  • #0 writev
    from /lib/tls/libc.so.6
  • #1 XUnlockDisplay
    from /usr/X11R6/lib/libX11.so.6
  • #2 _X11TransWritev
    from /usr/X11R6/lib/libX11.so.6
  • #3 _XSend
    from /usr/X11R6/lib/libX11.so.6
  • #4 XChangeProperty
    from /usr/X11R6/lib/libX11.so.6
  • #5 IA__gdk_window_set_icon_list
    at gdkwindow-x11.c line 4063
  • #6 gtk_window_realize_icon
    at gtkwindow.c line 2724
  • #7 IA__gtk_window_set_icon
    at gtkwindow.c line 2924
  • #8 display_image_data
    at eog-window.c line 2914
  • #9 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #10 IA__g_closure_invoke
    at gclosure.c line 492
  • #11 signal_emit_unlocked_R
    at gsignal.c line 2485
  • #12 IA__g_signal_emit_valist
  • #13 IA__g_signal_emit
    at gsignal.c line 2288
  • #14 eog_wrap_list_set_model
    at eog-wrap-list.c line 872
  • #15 eog_window_open
    at eog-window.c line 3691
  • #16 job_prepare_model_finished
    at main.c line 203
  • #17 eog_job_call_finished
    at eog-job.c line 440
  • #18 job_finished_cb
    at eog-job-manager.c line 53
  • #19 g_idle_dispatch
    at gmain.c line 3813
  • #20 IA__g_main_context_dispatch
    at gmain.c line 1934
  • #21 g_main_context_iterate
    at gmain.c line 2565
  • #22 IA__g_main_loop_run
    at gmain.c line 2769
  • #23 IA__gtk_main
    at gtkmain.c line 985
  • #24 main
    at main.c line 714



Other information:
Comment 1 Matthias Clasen 2005-11-08 18:27:58 UTC
This is a misfeature of XChangeProperty...

2005-11-08  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): Ignore
	icons if they would make the request large enough to cause
	Xlib to loose the connection.  (#320909, Claudio Saavedra)