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 649972 - Crash when loading an ui file with an empty GtkGrid
Crash when loading an ui file with an empty GtkGrid
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
3.0.x
Other Linux
: High critical
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-05-11 15:12 UTC by Jean Bréfort
Modified: 2011-05-13 00:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The ui file which causes the crach. (6.62 KB, application/xml)
2011-05-11 17:53 UTC, Jean Bréfort
Details

Description Jean Bréfort 2011-05-11 15:12:37 UTC
Loading a .ui file with an empty GtkGrid crashes in gtk_grid_request_allocate().
Comment 1 André Klapper 2011-05-11 17:38:53 UTC
And without a stack trace from the crash it's very hard to determine what caused it. Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Comment 2 Jean Bréfort 2011-05-11 17:52:46 UTC
Here is the stack trace I can get:

  • #0 gtk_grid_request_allocate
    at gtkgrid.c line 951
  • #1 gtk_grid_get_size_for_size
    at gtkgrid.c line 1094
  • #2 compute_size_for_orientation
    at gtksizerequest.c line 246
  • #3 gtk_grid_request_non_spanning
    at gtkgrid.c line 628
  • #4 gtk_grid_request_run
    at gtkgrid.c line 915
  • #5 gtk_grid_get_size_for_size
    at gtkgrid.c line 1092
  • #6 compute_size_for_orientation
    at gtksizerequest.c line 213
  • #7 gtk_box_get_size
    at gtkbox.c line 911
  • #8 compute_size_for_orientation
    at gtksizerequest.c line 213
  • #9 gtk_window_get_preferred_width
    at gtkwindow.c line 6079
  • #10 compute_size_for_orientation
    at gtksizerequest.c line 213
  • #11 gtk_widget_get_preferred_size
    at gtksizerequest.c line 525
  • #12 gtk_window_compute_hints
    at gtkwindow.c line 7096
  • #13 gtk_window_compute_configure_request
    at gtkwindow.c line 6418
  • #14 gtk_window_show
    at gtkwindow.c line 4569
  • #15 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #16 ??
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #19 gtk_widget_show
    at gtkwidget.c line 3884
  • #20 gtk_window_buildable_parser_finished
    at gtkwindow.c line 1378
  • #21 _gtk_builder_parser_parse_buffer
    at gtkbuilderparser.c line 1184
  • #22 gtk_builder_add_from_file
    at gtkbuilder.c line 901

Comment 3 Jean Bréfort 2011-05-11 17:53:54 UTC
Created attachment 187648 [details]
The ui file which causes the crach.