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 634474 - infinite loop in gtk_icon_view_accessible_set_adjustment
infinite loop in gtk_icon_view_accessible_set_adjustment
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkIconView
unspecified
Other Linux
: Normal critical
: ---
Assigned To: gtk-bugs
gtk-bugs
: 635726 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-11-10 03:18 UTC by Alban Browaeys
Modified: 2010-11-28 02:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix for infinite loop of gtk_icon_view_accessible_set_adjustment (6.21 KB, patch)
2010-11-10 03:18 UTC, Alban Browaeys
none Details | Review

Description Alban Browaeys 2010-11-10 03:18:05 UTC
Created attachment 174175 [details] [review]
fix for infinite loop of gtk_icon_view_accessible_set_adjustment

this function currently calls gtk_widget_get_accessible which calls it again in a loop via gtk_icon_view_accessible_initialize .


I found it out while starting :
$ gnome-control-center
icon view.

  • #25568 gtk_icon_view_get_accessible
    at gtkiconview.c line 10042
  • #25569 gtk_widget_get_accessible
    at gtkwidget.c line 11119
  • #25570 gtk_icon_view_accessible_set_adjustment
    at gtkiconview.c line 9231
  • #25571 gtk_icon_view_accessible_initialize
    at gtkiconview.c line 9572
  • #25572 gtk_icon_view_accessible_new
    at gtkiconview.c line 9961
  • #25573 gtk_icon_view_accessible_factory_create_accessible
    at gtkiconview.c line 9975
  • #25574 gtk_widget_real_get_accessible
    at gtkwidget.c line 11138
  • #25575 gtk_icon_view_get_accessible
    at gtkiconview.c line 10042
  • #25576 gtk_widget_get_accessible
    at gtkwidget.c line 11119
  • #25577 gtk_icon_view_accessible_set_adjustment
    at gtkiconview.c line 9231
  • #0 gtk_icon_view_get_accessible
    at gtkiconview.c line 10018
  • #1 gtk_widget_get_accessible
    at gtkwidget.c line 11119
  • #2 gtk_icon_view_accessible_set_adjustment
    at gtkiconview.c line 9231
  • #3 gtk_icon_view_accessible_initialize
    at gtkiconview.c line 9572
  • #4 gtk_icon_view_accessible_new
    at gtkiconview.c line 9961
  • #5 gtk_icon_view_accessible_factory_create_accessible
    at gtkiconview.c line 9975
  • #6 gtk_widget_real_get_accessible
    at gtkwidget.c line 11138
  • #7 gtk_icon_view_get_accessible
    at gtkiconview.c line 10042
  • #8 gtk_widget_get_accessible
    at gtkwidget.c line 11119
  • #9 gtk_icon_view_accessible_set_adjustment
    at gtkiconview.c line 9231
  • #10 gtk_icon_view_set_hadjustment
    at gtkiconview.c line 2731
  • #11 gtk_icon_view_set_property
    at gtkiconview.c line 1217
  • #12 object_set_property
    at gobject.c line 1179
  • #13 g_object_constructor
    at gobject.c line 1616
  • #14 g_object_newv
    at gobject.c line 1467
  • #15 g_object_new
    at gobject.c line 1298
  • #16 cc_shell_category_view_constructed
    at cc-shell-category-view.c line 126
  • #17 g_object_newv
    at gobject.c line 1495
  • #18 g_object_new_valist
    at gobject.c line 1583
  • #19 g_object_new
    at gobject.c line 1301
  • #20 fill_model
    at gnome-control-center.c line 624
  • #21 gnome_control_center_init
    at gnome-control-center.c line 962
  • #22 g_type_create_instance
    at gtype.c line 1887
  • #23 g_object_constructor
    at gobject.c line 1602
  • #24 g_object_newv
    at gobject.c line 1386
  • #25 g_object_new
    at gobject.c line 1298
  • #26 main
    at control-center.c line 88

Comment 1 Matthias Clasen 2010-11-28 01:01:32 UTC
*** Bug 635726 has been marked as a duplicate of this bug. ***
Comment 2 Matthias Clasen 2010-11-28 02:00:52 UTC
Committed a slightly different fix.