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 647592 - segmentation fault setting entry fixed width
segmentation fault setting entry fixed width
Status: RESOLVED INCOMPLETE
Product: glade
Classification: Applications
Component: general
3.8.x
Other Linux
: Normal critical
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-04-12 18:44 UTC by Francesco Meloni
Modified: 2013-03-06 09:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Francesco Meloni 2011-04-12 18:44:37 UTC
using 3.8.0 build from git 
when i set a fixed width for an entry and select another object in the three it crash.

step 1. select an entry 
step 2. check on custom width
step 3. insert a value ( 100 )
step 4.  with the cursor blinkng in the entry after 100 con and click on another object in the three 



Program received signal SIGSEGV, Segmentation fault.
glade_command_set_property_value (property=0x0, pvalue=0x7fffffffbd80) at glade-command.c:734
734		glade_command_set_properties (property, property->value, pvalue, NULL);
(gdb) bt
  • #0 glade_command_set_property_value
    at glade-command.c line 734
  • #1 glade_editor_property_commit_common
    at glade-editor-property.c line 94
  • #2 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #3 ??
    from /usr/lib/libgobject-2.0.so.0
  • #4 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #5 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #6 glade_editor_property_commit_no_callback
    at glade-editor-property.c line 118
  • #7 glade_eprop_numeric_changed
    at glade-editor-property.c line 734
  • #8 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #9 ??
    from /usr/lib/libgobject-2.0.so.0
  • #10 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #12 gtk_spin_button_value_changed
    at /scratch/build-area/gtk+2.0-2.24.4/gtk/gtkspinbutton.c line 1254
  • #13 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #14 ??
    from /usr/lib/libgobject-2.0.so.0
  • #15 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #16 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #17 IA__gtk_adjustment_value_changed
    at /scratch/build-area/gtk+2.0-2.24.4/gtk/gtkadjustment.c line 668
  • #18 IA__gtk_spin_button_set_value
    at /scratch/build-area/gtk+2.0-2.24.4/gtk/gtkspinbutton.c line 1986
  • #19 IA__gtk_spin_button_update
    at /scratch/build-area/gtk+2.0-2.24.4/gtk/gtkspinbutton.c line 2315
  • #20 gtk_spin_button_focus_out
    at /scratch/build-area/gtk+2.0-2.24.4/gtk/gtkspinbutton.c line 956
  • #21 _gtk_marshal_BOOLEAN__BOXED
    at /scratch/build-area/gtk+2.0-2.24.4/gtk/gtkmarshalers.c line 86
  • #22 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #23 ??
    from /usr/lib/libgobject-2.0.so.0
  • #24 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #25 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #26 gtk_widget_event_internal
    at /scratch/build-area/gtk+2.0-2.24.4/gtk/gtkwidget.c line 4980
  • #27 IA__gtk_widget_send_focus_change
    at /scratch/build-area/gtk+2.0-2.24.4/gtk/gtkwidget.c line 11413
  • #28 do_focus_change
    at /scratch/build-area/gtk+2.0-2.24.4/gtk/gtkwindow.c line 5304
  • #29 gtk_window_real_set_focus
    at /scratch/build-area/gtk+2.0-2.24.4/gtk/gtkwindow.c line 5508
  • #30 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #31 ??
    from /usr/lib/libgobject-2.0.so.0
  • #32 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #33 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #34 _gtk_window_unset_focus_and_default
    at /scratch/build-area/gtk+2.0-2.24.4/gtk/gtkwindow.c line 5590
  • #35 IA__gtk_widget_hide
    at /scratch/build-area/gtk+2.0-2.24.4/gtk/gtkwidget.c line 3288
  • #36 glade_editor_load_editable_in_page
    at glade-editor.c line 550
  • #37 glade_editor_load_widget_class
    at glade-editor.c line 612
  • #38 glade_editor_load_widget_real
    at glade-editor.c line 714
  • #39 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #40 ??
    from /usr/lib/libgobject-2.0.so.0
  • #41 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #42 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #43 glade_app_selection_changed
    at glade-app.c line 1609
  • #44 selection_changed_cb
    at glade-inspector.c line 623
  • #45 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #46 ??
    from /usr/lib/libgobject-2.0.so.0
  • #47 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #48 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #49 gtk_tree_view_real_set_cursor
    at /scratch/build-area/gtk+2.0-2.24.4/gtk/gtktreeview.c line 12592
  • #50 gtk_tree_view_button_press
    at /scratch/build-area/gtk+2.0-2.24.4/gtk/gtktreeview.c line 2797
  • #51 _gtk_marshal_BOOLEAN__BOXED
    at /scratch/build-area/gtk+2.0-2.24.4/gtk/gtkmarshalers.c line 86
  • #52 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #53 ??
    from /usr/lib/libgobject-2.0.so.0
  • #54 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #55 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #56 gtk_widget_event_internal
    at /scratch/build-area/gtk+2.0-2.24.4/gtk/gtkwidget.c line 4980
  • #57 IA__gtk_propagate_event
    at /scratch/build-area/gtk+2.0-2.24.4/gtk/gtkmain.c line 2489
  • #58 IA__gtk_main_do_event
    at /scratch/build-area/gtk+2.0-2.24.4/gtk/gtkmain.c line 1684
  • #59 gdk_event_dispatch
    at /scratch/build-area/gtk+2.0-2.24.4/gdk/x11/gdkevents-x11.c line 2377
  • #60 g_main_context_dispatch
    from /lib/libglib-2.0.so.0
  • #61 ??
    from /lib/libglib-2.0.so.0
  • #62 g_main_loop_run
    from /lib/libglib-2.0.so.0
  • #63 IA__gtk_main
    at /scratch/build-area/gtk+2.0-2.24.4/gtk/gtkmain.c line 1256
  • #64 main
    at main.c line 185

Comment 1 Tristan Van Berkom 2011-10-12 08:26:39 UTC
Got it... Change the width-request and dont activate the entry, leave the cursor blinking and then select another widget.

This causes the widget to unload from the editor before the focus-out occurs

If we're doing anything on focus-out it's an error, nothing should be done
from evil focus-out events...
Comment 2 Jonny Lamb 2012-10-17 00:40:14 UTC
Does this still happen with latest glade? I'm running 3.12 and I can't reproduce this bug. Exact instructions of how to reproduce would be thoroughly appreciated.
Comment 3 Tobias Mueller 2013-03-06 09:50:36 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!