! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfdesktop crashes when minimized window icons are resized
Status:
RESOLVED: FIXED
Product:
Xfdesktop
Component:
General

Comments

Description Eric Koegel editbugs 2012-05-28 16:42:17 CEST
Created attachment 4475 
Fix a crash when minimized window icons are resized

Added a patch to check if the manager is a file icon manager
before trying to use it.

Backtrace:

#0  g_logv (log_domain=0x7f796e95fd4e "GLib-GObject", log_level=<optimized out>, format=0x7f796e967d10 "invalid cast from `%s' to `%s'", args1=0x7fff6a8a1448) at /build/buildd/glib2.0-2.32.1/./glib/gmessages.c:765
765	/build/buildd/glib2.0-2.32.1/./glib/gmessages.c: No such file or directory.
(gdb) bt
#0  g_logv (log_domain=0x7f796e95fd4e "GLib-GObject", log_level=<optimized out>, format=0x7f796e967d10 "invalid cast from `%s' to `%s'", args1=0x7fff6a8a1448) at /build/buildd/glib2.0-2.32.1/./glib/gmessages.c:765
#1  0x00007f796e681172 in g_log (log_domain=<optimized out>, log_level=<optimized out>, format=<optimized out>) at /build/buildd/glib2.0-2.32.1/./glib/gmessages.c:792
#2  0x00007f796e958e52 in g_type_check_instance_cast (type_instance=0x9361e0, iface_type=<optimized out>) at /build/buildd/glib2.0-2.32.1/./gobject/gtype.c:4007
#3  0x0000000000428cb5 in xfdesktop_grid_do_resize (icon_view=0x90c1c0) at xfdesktop-icon-view.c:3072
#4  0x000000000042b8bc in xfdesktop_icon_view_set_icon_size (icon_view=0x90c1c0, icon_size=40) at xfdesktop-icon-view.c:3851
#5  0x000000000041c8d5 in xfce_desktop_set_icon_size (desktop=0x90c020, icon_size=40) at xfce-desktop.c:1310
#6  0x000000000041a7ca in xfce_desktop_set_property (object=0x90c020, property_id=3, value=0x7fff6a8a16e0, pspec=0x8f9f00) at xfce-desktop.c:709
#7  0x00007f796e93f0d2 in object_set_property (nqueue=0x9a6c50, value=0x7fff6a8a1740, pspec=0x8f9f00, object=0x90c020) at /build/buildd/glib2.0-2.32.1/./gobject/gobject.c:1352
#8  g_object_set_property (object=0x90c020, property_name=<optimized out>, value=0x7fff6a8a1740) at /build/buildd/glib2.0-2.32.1/./gobject/gobject.c:2149
#9  0x00007f7970fe1f1b in xfconf_g_property_channel_notify (channel=0x8fddc0, property=<optimized out>, value=0xa08800, user_data=0x8fdec0) at xfconf-binding.c:248
#10 0x00007f796e936ca2 in g_closure_invoke (closure=0x90bb70, return_value=0x0, n_param_values=3, param_values=0x7fff6a8a1960, invocation_hint=<optimized out>) at /build/buildd/glib2.0-2.32.1/./gobject/gclosure.c:777
#11 0x00007f796e947d71 in signal_emit_unlocked_R (node=<optimized out>, detail=764, instance=<optimized out>, emission_return=0x0, instance_and_params=0x7fff6a8a1960) at /build/buildd/glib2.0-2.32.1/./gobject/gsignal.c:3547
#12 0x00007f796e950099 in g_signal_emit_valist (instance=0x8fddc0, signal_id=<optimized out>, detail=764, var_args=<optimized out>) at /build/buildd/glib2.0-2.32.1/./gobject/gsignal.c:3296
#13 0x00007f796e950242 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>) at /build/buildd/glib2.0-2.32.1/./gobject/gsignal.c:3352
#14 0x00007f796e936ca2 in g_closure_invoke (closure=0x9066f0, return_value=0x0, n_param_values=4, param_values=0x7fff6a8a1e60, invocation_hint=<optimized out>) at /build/buildd/glib2.0-2.32.1/./gobject/gclosure.c:777
#15 0x00007f796e947d71 in signal_emit_unlocked_R (node=<optimized out>, detail=0, instance=<optimized out>, emission_return=0x0, instance_and_params=0x7fff6a8a1e60) at /build/buildd/glib2.0-2.32.1/./gobject/gsignal.c:3547
#16 0x00007f796e950099 in g_signal_emit_valist (instance=0x905110, signal_id=<optimized out>, detail=0, var_args=<optimized out>) at /build/buildd/glib2.0-2.32.1/./gobject/gsignal.c:3296
#17 0x00007f796e950242 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>) at /build/buildd/glib2.0-2.32.1/./gobject/gsignal.c:3352
#18 0x00007f796efe80a7 in ?? () from /usr/lib/x86_64-linux-gnu/libdbus-glib-1.so.2
#19 0x00007f796e936ca2 in g_closure_invoke (closure=0x907040, return_value=0x0, n_param_values=3, param_values=0x7fff6a8a23f0, invocation_hint=<optimized out>) at /build/buildd/glib2.0-2.32.1/./gobject/gclosure.c:777
Comment 1 Nick Schermer editbugs 2012-12-21 10:58:03 CET
Looks ok.

Bug #8963

Reported by:
Eric Koegel
Reported on: 2012-05-28
Last modified on: 2012-12-22

People

Assignee:
Eric Koegel
CC List:
3 users

Version

Attachments

Additional information