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 321934 - Glade crashes strangely
Glade crashes strangely
Status: RESOLVED DUPLICATE of bug 322044
Product: atk
Classification: Platform
Component: gail
1.8.x
Other other
: Normal critical
: ---
Assigned To: bill.haneman
Damon Chaplin
: 322277 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-11-20 15:38 UTC by Felipe Lessa
Modified: 2005-11-24 14:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Felipe Lessa 2005-11-20 15:38:28 UTC
Distribution: Debian testing/unstable
Package: glade
Severity: normal
Version: GNOME2.12.1 2.10.1
Gnome-Distributor: Debian
Synopsis: Glade crashes strangely
Bugzilla-Product: glade
Bugzilla-Component: general
Bugzilla-Version: 2.10.1
BugBuddy-GnomeVersion: 2.0 (2.10.1)
Description:
Description of the crash:
When loading a .glade file, Glade just crashes saying "(glade-2:8730):
GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in
cast to `GtkAccessible'" on the console.

Steps to reproduce the crash:
1. Open glade.
2. Open the file in "Additional Information".
3. Select a control in the Tree of Widgets window (don't know if the
name is this).

Expected Results:
No crashes.

How often does this happen?
Always.

Additional Information:
The .glade file was created using Glade "Gnome glade-2 2.10.1".
Glade file:
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-interface SYSTEM
"http://glade.gnome.org/glade-2.0.dtd">

<glade-interface>
<requires lib="gnome"/>

<widget class="GtkWindow" id="window1">
  <property name="visible">True</property>
  <property name="title" translatable="yes">Strange bug</property>
  <property name="type">GTK_WINDOW_TOPLEVEL</property>
  <property name="window_position">GTK_WIN_POS_CENTER</property>
  <property name="modal">False</property>
  <property name="default_width">800</property>
  <property name="default_height">600</property>
  <property name="resizable">True</property>
  <property name="destroy_with_parent">False</property>
  <property name="icon_name">stock_mail</property>
  <property name="decorated">True</property>
  <property name="skip_taskbar_hint">False</property>
  <property name="skip_pager_hint">False</property>
  <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
  <property name="focus_on_map">True</property>
  <signal name="delete_event" handler="OnWindowDeleteEvent"/>

  <child>
    <widget class="GtkVBox" id="vbox9">
      <property name="visible">True</property>
      <property name="homogeneous">False</property>
      <property name="spacing">0</property>

      <child>
	<widget class="GtkVBox" id="vbox1">
	  <property name="border_width">10</property>
	  <property name="visible">True</property>
	  <property name="homogeneous">False</property>
	  <property name="spacing">7</property>

	  <child>
	    <widget class="GtkHPaned" id="hpaned1">
	      <property name="visible">True</property>
	      <property name="can_focus">True</property>
	      <property name="position">200</property>

	      <child>
		<widget class="GtkScrolledWindow" id="scrolledwindow1">
		  <property name="visible">True</property>
		  <property name="can_focus">True</property>
		  <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
		  <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
		  <property name="shadow_type">GTK_SHADOW_IN</property>
		  <property name="window_placement">GTK_CORNER_TOP_LEFT</property>

		  <child>
		    <widget class="GtkTreeView" id="treeview1">
		      <property name="visible">True</property>
		      <property name="can_focus">True</property>
		      <property name="headers_visible">False</property>
		      <property name="rules_hint">False</property>
		      <property name="reorderable">False</property>
		      <property name="enable_search">True</property>
		      <property name="fixed_height_mode">False</property>
		      <property name="hover_selection">False</property>
		      <property name="hover_expand">False</property>
		    </widget>
		  </child>
		</widget>
		<packing>
		  <property name="shrink">True</property>
		  <property name="resize">False</property>
		</packing>
	      </child>

	      <child>
		<widget class="GtkVPaned" id="vpaned1">
		  <property name="visible">True</property>
		  <property name="can_focus">True</property>
		  <property name="position">150</property>

		  <child>
		    <widget class="GtkScrolledWindow" id="scrolledwindow2">
		      <property name="visible">True</property>
		      <property name="can_focus">True</property>
		      <property
name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
		      <property
name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
		      <property name="shadow_type">GTK_SHADOW_IN</property>
		      <property
name="window_placement">GTK_CORNER_TOP_LEFT</property>

		      <child>
			<widget class="GtkTreeView" id="treeview2">
			  <property name="visible">True</property>
			  <property name="can_focus">True</property>
			  <property name="headers_visible">True</property>
			  <property name="rules_hint">True</property>
			  <property name="reorderable">False</property>
			  <property name="enable_search">True</property>
			  <property name="fixed_height_mode">False</property>
			  <property name="hover_selection">False</property>
			  <property name="hover_expand">False</property>
			</widget>
		      </child>
		    </widget>
		    <packing>
		      <property name="shrink">True</property>
		      <property name="resize">False</property>
		    </packing>
		  </child>

		  <child>
		    <widget class="GtkScrolledWindow" id="scrolledwindow3">
		      <property name="visible">True</property>
		      <property name="can_focus">True</property>
		      <property
name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
		      <property
name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
		      <property name="shadow_type">GTK_SHADOW_IN</property>
		      <property
name="window_placement">GTK_CORNER_TOP_LEFT</property>

		      <child>
			<widget class="GtkTextView" id="textview1">
			  <property name="visible">True</property>
			  <property name="can_focus">True</property>
			  <property name="editable">False</property>
			  <property name="overwrite">False</property>
			  <property name="accepts_tab">True</property>
			  <property name="justification">GTK_JUSTIFY_LEFT</property>
			  <property name="wrap_mode">GTK_WRAP_NONE</property>
			  <property name="cursor_visible">False</property>
			  <property name="pixels_above_lines">0</property>
			  <property name="pixels_below_lines">0</property>
			  <property name="pixels_inside_wrap">0</property>
			  <property name="left_margin">0</property>
			  <property name="right_margin">3</property>
			  <property name="indent">0</property>
			  <property name="text" translatable="yes"></property>
			</widget>
		      </child>
		    </widget>
		    <packing>
		      <property name="shrink">True</property>
		      <property name="resize">True</property>
		    </packing>
		  </child>
		</widget>
		<packing>
		  <property name="shrink">True</property>
		  <property name="resize">True</property>
		</packing>
	      </child>
	    </widget>
	    <packing>
	      <property name="padding">0</property>
	      <property name="expand">True</property>
	      <property name="fill">True</property>
	    </packing>
	  </child>
	</widget>
	<packing>
	  <property name="padding">0</property>
	  <property name="expand">True</property>
	  <property name="fill">True</property>
	</packing>
      </child>
    </widget>
  </child>
</widget>

</glade-interface>


Debugging Information:

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

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its
symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1224825152 (LWP 8730)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1224825152 (LWP 8730))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 g_type_check_instance_cast
    from /usr/lib/libgobject-2.0.so.0
  • #5 gail_tree_view_new
    from /usr/lib/gtk-2.0/modules/libgail.so
  • #6 g_child_watch_add
    from /usr/lib/libglib-2.0.so.0
  • #7 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #8 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #9 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #10 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #11 main
  • #0 __kernel_vsyscall




------- Bug moved to this database by unknown@gnome.bugs 2005-11-20 15:38 UTC -------


Unknown version 2.10.1 in product glade.  Setting version to "2.10.x".
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here, unknown@gnome.bugs.
   Previous reporter was felipe.lessa@gmail.com.

Comment 1 Ross Burton 2005-11-24 11:52:36 UTC
(gdb) run
Starting program: /usr/bin/glade-2
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1223571776 (LWP 16081)]
Gtk-Message: Failed to load module "gail-gnome": libgail-gnome.so: cannot open s
hared object file: No such file or directory
GTK Accessibility Module initialized

(glade-2:16081): GLib-GObject-WARNING **: invalid uninstantiatable type `<invali
d>' in cast to `GailWidget'

(gdb) thread apply all bt

Thread 1 (Thread -1223571776 (LWP 16081))

  • #0 __malloc_initialize_hook
    from /lib/tls/libc.so.6
  • #1 gail_widget_new
    from /usr/lib/gtk-2.0/modules/libgail.so
  • #2 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #3 IA__g_closure_invoke
    at gclosure.c line 492
  • #4 signal_emit_unlocked_R
    at gsignal.c line 2555
  • #5 IA__g_signal_emit_valist
    at gsignal.c line 2254
  • #6 IA__g_signal_emit
    at gsignal.c line 2288
  • #7 gtk_widget_event_internal
    at gtkwidget.c line 3735
  • #8 do_focus_change
    at gtkwindow.c line 4629
  • #9 _gtk_window_set_is_active
    at gtkwindow.c line 7559
  • #10 gtk_window_focus_in_event
    at gtkwindow.c line 4651
  • #11 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #12 g_type_class_meta_marshal
    at gclosure.c line 569
  • #13 IA__g_closure_invoke
    at gclosure.c line 492
  • #14 signal_emit_unlocked_R
    at gsignal.c line 2523
  • #15 IA__g_signal_emit_valist
    at gsignal.c line 2254
  • #16 IA__g_signal_emit
    at gsignal.c line 2288
  • #17 gtk_widget_event_internal
    at gtkwidget.c line 3735
  • #18 IA__gtk_main_do_event
    at gtkmain.c line 1384
  • #19 gdk_event_dispatch
    at gdkevents-x11.c line 2291
  • #20 IA__g_main_context_dispatch
    at gmain.c line 1934
  • #21 g_main_context_iterate
    at gmain.c line 2565
  • #22 IA__g_main_loop_run
    at gmain.c line 2769
  • #23 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #24 main

Comment 2 Damon Chaplin 2005-11-24 13:24:03 UTC
*** Bug 322277 has been marked as a duplicate of this bug. ***
Comment 3 Damon Chaplin 2005-11-24 13:29:02 UTC
Moving to atk, as it looks like a gail issue.

Ross Burton can reproduce it, and says they moved from gail 1.8.5 to 1.8.6 on
14th November, so I'd guess the problem was in those changes. Maybe it has been
fixed in more recent releases.
Comment 4 bill.haneman 2005-11-24 14:01:18 UTC
try the patch for 322044, or gail 1.8.7.

*** This bug has been marked as a duplicate of 322044 ***