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 577822 - crash in Glade Interface Designer: 1. Added a checkbutton t...
crash in Glade Interface Designer: 1. Added a checkbutton t...
Status: RESOLVED FIXED
Product: glade
Classification: Applications
Component: general
3.6.x
Other All
: High critical
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-04-03 09:59 UTC by Felix Riemann
Modified: 2009-04-06 15:46 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
clear GValue (556 bytes, patch)
2009-04-03 10:14 UTC, Felix Riemann
none Details | Review

Description Felix Riemann 2009-04-03 09:59:07 UTC
Version: 3.6.0

What were you doing when the application crashed?
1. Added a checkbutton to a container (e.g. a GtkWindow)
2. Select "Add custom button content" 
3. Re-Select "Configure button content"


Distribution: Gentoo Base System release 2.0.0
Gnome Release: 2.26.0 2009-03-17 (Gentoo)
BugBuddy Version: 2.26.0

System: Linux 2.6.29-gentoo #1 SMP PREEMPT Sat Mar 28 12:41:40 CET 2009 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10503000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: gnome
GTK+ Modules: canberra-gtk-module, gnomebreakpad

Memory status: size: 70594560 vsize: 70594560 resident: 38539264 share: 17915904 rss: 38539264 rss_rlim: 18446744073709551615
CPU usage: start_time: 1238752477 rtime: 131 utime: 119 stime: 12 cutime:1 cstime: 1 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/glade-3'

[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0xb61cf720 (LWP 5391)]
0xb7fb7424 in __kernel_vsyscall ()

Thread 1 (Thread 0xb61cf720 (LWP 5391))

  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/libpthread.so.0
  • #2 IA__g_spawn_sync
    at gspawn.c line 382
  • #3 IA__g_spawn_command_line_sync
    at gspawn.c line 694
  • #4 bugbuddy_segv_handle
    at gnome-breakpad.cc line 369
  • #5 <signal handler called>
  • #6 IA__g_object_unref
    at gobject.c line 2370
  • #7 IA__g_value_unset
    at gvalue.c line 276
  • #8 standard_toggled
    at glade-button-editor.c line 269
  • #9 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #10 IA__g_closure_invoke
    at gclosure.c line 767
  • #11 signal_emit_unlocked_R
    at gsignal.c line 3244
  • #12 IA__g_signal_emit_valist
    at gsignal.c line 2977
  • #13 IA__g_signal_emit
    at gsignal.c line 3034
  • #14 IA__gtk_toggle_button_toggled
    at gtktogglebutton.c line 365
  • #15 gtk_radio_button_clicked
    at gtkradiobutton.c line 649
  • #16 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #17 g_type_class_meta_marshal
    at gclosure.c line 878
  • #18 IA__g_closure_invoke
    at gclosure.c line 767
  • #19 signal_emit_unlocked_R
    at gsignal.c line 3174
  • #20 IA__g_signal_emit_valist
    at gsignal.c line 2977
  • #21 IA__g_signal_emit
    at gsignal.c line 3034
  • #22 IA__gtk_button_clicked
    at gtkbutton.c line 1106
  • #23 gtk_toggle_button_released
    at gtktogglebutton.c line 485
  • #24 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #25 g_type_class_meta_marshal
    at gclosure.c line 878
  • #26 IA__g_closure_invoke
    at gclosure.c line 767
  • #27 signal_emit_unlocked_R
    at gsignal.c line 3174
  • #28 IA__g_signal_emit_valist
    at gsignal.c line 2977
  • #29 IA__g_signal_emit
    at gsignal.c line 3034
  • #30 IA__gtk_button_released
    at gtkbutton.c line 1098
  • #31 gtk_button_button_release
    at gtkbutton.c line 1594
  • #32 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 84
  • #33 g_type_class_meta_marshal
    at gclosure.c line 878
  • #34 IA__g_closure_invoke
    at gclosure.c line 767
  • #35 signal_emit_unlocked_R
    at gsignal.c line 3282
  • #36 IA__g_signal_emit_valist
    at gsignal.c line 2987
  • #37 IA__g_signal_emit
    at gsignal.c line 3034
  • #38 gtk_widget_event_internal
    at gtkwidget.c line 4761
  • #39 IA__gtk_propagate_event
    at gtkmain.c line 2396
  • #40 IA__gtk_main_do_event
    at gtkmain.c line 1601
  • #41 gdk_event_dispatch
    at gdkevents-x11.c line 2364
  • #42 IA__g_main_context_dispatch
    at gmain.c line 1814
  • #43 g_main_context_iterate
    at gmain.c line 2448
  • #44 IA__g_main_loop_run
    at gmain.c line 2656
  • #45 IA__gtk_main
    at gtkmain.c line 1205
  • #46 main
    at main.c line 186
  • #0 __kernel_vsyscall


----------- .xsession-errors (18 sec old) ---------------------
GladeUI-Message: No displayable values for property VteTerminal::backspace-binding
GladeUI-Message: No displayable values for property VteTerminal::cursor-blink-mode
GladeUI-Message: No displayable values for property VteTerminal::cursor-shape
GladeUI-Message: No displayable values for property VteTerminal::delete-binding
GladeUI-Message: No displayable values for property GnomeIconList::selection-mode
Fenstermanager-Warnung:Ungültiges WM_TRANSIENT_FOR-Fenster 0x1e002b7 festgelegt für 0x1e00274 (Unsaved 1 ).
(glade-3:19378): GLib-GObject-WARNING **: gvalue.c:185: cannot initialize GValue with type `gchararray', the value has already been initialized as `GtkRadioButton'
(glade-3:19378): GLib-GObject-CRITICAL **: g_value_copy: assertion `g_value_type_compatible (G_VALUE_TYPE (src_value), G_VALUE_TYPE (dest_value))' failed
(glade-3:19378): GLib-GObject-CRITICAL **: g_value_get_string: assertion `G_VALUE_HOLDS_STRING (value)' failed
(glade-3:19378): GLib-GObject-CRITICAL **: g_param_values_cmp: assertion `PSPEC_APPLIES_TO_VALUE (pspec, value2)' failed
Fenstermanager-Warnung:Ungültiges WM_TRANSIENT_FOR-Fenster 0x1e002b6 festgelegt für 0x1e00274 (Unsaved 1 ).
--------------------------------------------------
Comment 1 Felix Riemann 2009-04-03 10:14:39 UTC
Created attachment 131988 [details] [review]
clear GValue

The problem seems to be the GValue which was not initially cleared before using it.
Comment 2 Sebastien Bacher 2009-04-06 10:10:25 UTC
https://bugs.launchpad.net/bugs/356013 has a similar crash
Comment 3 Tristan Van Berkom 2009-04-06 15:46:36 UTC
Thanks for pointing out the GValue I missed, committing your fix.