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 646259 - SIGSEGV in glade_widget_adaptor_object_construct_object loading ui file
SIGSEGV in glade_widget_adaptor_object_construct_object loading ui file
Status: RESOLVED FIXED
Product: glade
Classification: Applications
Component: general
3.7.x
Other Linux
: Normal critical
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-03-30 18:44 UTC by Gabriel Burt
Modified: 2013-09-06 20:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
network.ui file (123.08 KB, text/plain)
2011-03-30 20:47 UTC, Gabriel Burt
Details

Description Gabriel Burt 2011-03-30 18:44:51 UTC
Trying to open gnome-control-center's network.ui file, using glade3 3.7.0

  • #0 g_atomic_pointer_get
    from /lib/libglib-2.0.so.0
  • #1 g_datalist_id_get_data
    from /lib/libglib-2.0.so.0
  • #2 g_object_newv
    from /lib/libgobject-2.0.so.0
  • #3 glade_widget_adaptor_object_construct_object
    at glade-widget-adaptor.c line 813
  • #4 glade_widget_adaptor_construct_object
    at glade-widget-adaptor.c line 2633
  • #5 glade_widget_build_object
    at glade-widget.c line 519
  • #6 glade_widget_constructor
    at glade-widget.c line 735
  • #7 g_object_newv
    from /lib/libgobject-2.0.so.0
  • #8 g_object_new_valist
    from /lib/libgobject-2.0.so.0
  • #9 glade_widget_adaptor_create_widget_real
    at glade-widget-adaptor.c line 2371
  • #10 glade_widget_read
    at glade-widget.c line 3754
  • #11 glade_widget_adaptor_object_read_child
    at glade-widget-adaptor.c line 970
  • #12 glade_widget_adaptor_read_child
    at glade-widget-adaptor.c line 3511
  • #13 glade_widget_read_child
    at glade-widget.c line 3687
  • #14 glade_widget_adaptor_object_read_widget
    at glade-widget-adaptor.c line 926
  • #15 glade_gtk_widget_read_widget
    at glade-gtk.c line 636
  • #16 glade_widget_adaptor_read_widget
    at glade-widget-adaptor.c line 3463
  • #17 glade_widget_read
    at glade-widget.c line 3762
  • #18 glade_widget_adaptor_object_read_child
    at glade-widget-adaptor.c line 970
  • #19 glade_gtk_dialog_read_child
    at glade-gtk.c line 5652
  • #20 glade_widget_adaptor_read_child
    at glade-widget-adaptor.c line 3511
  • #21 glade_widget_read_child
    at glade-widget.c line 3687
  • #22 glade_widget_adaptor_object_read_widget
    at glade-widget-adaptor.c line 926
  • #23 glade_gtk_widget_read_widget
    at glade-gtk.c line 636
  • #24 glade_gtk_window_read_widget
    at glade-gtk.c line 5241
  • #25 glade_widget_adaptor_read_widget
    at glade-widget-adaptor.c line 3463
  • #26 glade_widget_read
    at glade-widget.c line 3762
  • #27 glade_project_load_from_file
    at glade-project.c line 1358
  • #28 glade_project_load
    at glade-project.c line 1416
  • #29 open_project
    at glade-window.c line 2448
  • #30 open_cb
    at glade-window.c line 1103

Comment 1 Tristan Van Berkom 2011-03-30 19:32:46 UTC
Can you please attach the .ui file ?
Comment 3 Tristan Van Berkom 2011-03-30 20:37:14 UTC
a.) Maybe I (or someone) will look at it soon, if not, the revisioned file
    may have changed at the time I go and check it out, please attach the file.

b.) It's more convenient for us to have the file attached, not to mention
    unfair to expect that we should go grabbing the file from project 'foo's
    git repo.

Would you file a bug against mozilla saying "there is a problem rendering
'foo.html', please mr maintainer go and check out the relevant module 'bar' 
and pull it from path bar/baz/foo/ yourself" ?

I wouldn't mention it if this was the only time, but this has happened a few
times now that people expect me to go poking around git to find a glade file
that has problems... it's unprofessional, lazy and getting annoying by now.

Please just complete the bug report and attach the file.

Thank you.
Comment 4 Tristan Van Berkom 2011-03-30 20:40:34 UTC
(In reply to comment #0)
> Trying to open gnome-control-center's network.ui file, using glade3 3.7.0
> 
> 

Furthermore, 3.7.0 is highly unstable, you should have 3.7.3.

I don't mind checking if the problem still exists in 'glade-3-8' branch
myself if you can attach the glade file, you might also just check yourself
if 3.7.3 works better for you.
Comment 5 Gabriel Burt 2011-03-30 20:47:00 UTC
Created attachment 184732 [details]
network.ui file

You definitely wouldn't have to `git clone` it - you can download it from that URI I linked.  But you're right, I should have attached it or linked to a particular version of it.
Comment 6 Tristan Van Berkom 2011-04-04 21:33:12 UTC
Gabriel.

I cannot reproduce the crash, however with the attached network.ui you cannot
load that file with glade-3-8 branch (or anything short of Glade master/3.9.x).

What happens when I try to load it is that it aborts while trying to instantiate
a non-instantiatable GtkBox (glade-3-8 branch is GTK+ 2.x).

However, granted... Glade should abort loading the project but not abort in
a case like this.
Comment 7 Juan Pablo Ugarte 2013-09-06 20:41:29 UTC
This was fixed in master a long time ago
Now I fixed it in glade-3-8 so we can finally close this bug.
glade 3.8 will not abort instead it will popup a message with a warning.
I know popups are not the best approach, but its better than silently ignore the errors, I guess we should backport object stub instead or at least set some kind of error in the project.