GNOME Bugzilla – Bug 416047
Pasting the attached text file causes Gnumeric to crash
Last modified: 2007-03-31 11:36:53 UTC
From: Uri David Akavia <uridavid.akavia@gmail.com> To: submit@bugs.gnome.org X-Mailer: bug-buddy 2.14.0 Subject: Pasting the attached text file causes Gnumeric to crash Distribution: Debian 4.0 Package: Gnumeric Severity: Normal Version: GNOME2.14.3 1.7.8 Gnome-Distributor: Debian Synopsis: Pasting the attached text file causes Gnumeric to crash Bugzilla-Product: Gnumeric Bugzilla-Component: General Bugzilla-Version: 1.7.8 BugBuddy-GnomeVersion: 2.0 (2.14.1) Description: Description of the crash: Gnumeric crashes when activating the text import configuration wizard for this text Steps to reproduce the crash: 1. Open the attached file in Gedit 2. Select all, Copy 3. Open Gnumeric 4. Paste 5. Press Forward 6. Press Forward How often does this happen? Always Additional Information: Gnumeric 1.7.8, self-compiled on amd64 Debugging Information: Backtrace was generated from '/usr/bin/gnumeric' (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 47060873593072 (LWP 7174)] (no debugging symbols found) 0x00002acd325b8745 in waitpid () from /lib/libc.so.6
+ Trace 116868
Thread 1 (Thread 47060873593072 (LWP 7174))
------- Bug created by bug-buddy at 2007-03-08 11:46 ------- Unknown version 1.7.8 in product Gnumeric. Setting version to "1.7.x".
Created attachment 84236 [details] File containing the text that causes the crase
No problems with that file here. Could you try compiling with debug information on so we can get a good stack trace?
A clarification is required. Do I need to install the debian packages called gnome-dbg (all GNOME libraries, with debug symbols)? If not, which packages are necessary for you? Second, do you have any idea how to compile debian packages with built in debug symbols? BTW, this also happened with self-compiled debian 1.7.6 package
As noted on IRC, I could reproduce this with my gnumeric 1.7.8 packages from debian/experimental on i386. Using local packages of svn trunk, the problem is reproducible as well. After installing libgnomeui-0-dbg_2.14.1-2, I got a reasonably decent backtrace with trunk: Backtrace was generated from '/usr/bin/gnumeric' Loading ~/.gdbinit Using host libthread_db library "/lib/tls/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 1094610112 (LWP 18112)] 0x4035f8be in __waitpid_nocancel () from /lib/tls/libc.so.6
+ Trace 116949
Thread 1 (Thread 1094610112 (LWP 18112))
In the terminal I started gnumeric from, I see (gnumeric:18112): libglade-WARNING **: could not find glade file '/usr/share/goffice/0.3.7/glade/go-format-sel.glade' and indeed, I can't find a go-format-sel.glade with current goffice anymore. The only one on my system is from goffice 0.2.1. Ping me if you need additional information.
20:35] <@gmorten> JHM: I added preconditions in goffice and you might very well get useful CRITICALs after you update. Here you go: (gnumeric:13804): libglade-WARNING **: could not find glade file '/usr/share/goffice/0.3.8/glade/go-format-sel.glade' ** (gnumeric:13804): CRITICAL **: go_combo_text_set_text: assertion `IS_GO_COMBO_TEXT (ct)' failed (gnumeric:13804): Gtk-CRITICAL **: gtk_tree_view_get_selection: assertion `GTK_IS_TREE_VIEW (tree_view)' failed (gnumeric:13804): Gtk-CRITICAL **: gtk_tree_selection_select_path: assertion `GTK_IS_TREE_SELECTION (selection)' failed (gnumeric:13804): GLib-GObject-WARNING **: invalid (NULL) pointer instance (gnumeric:13804): GLib-GObject-CRITICAL **: g_signal_handler_block: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (gnumeric:13804): Gtk-CRITICAL **: gtk_entry_set_text: assertion `GTK_IS_ENTRY (entry)' failed (gnumeric:13804): GLib-GObject-WARNING **: invalid (NULL) pointer instance (gnumeric:13804): GLib-GObject-CRITICAL **: g_signal_handler_unblock: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
Alright, that does look like the debian build files do not install go-format-sel.glade (or doesn't install it the right place).
My bad. I messed up the reorganisation of goffice's debian/rules causing libgoffice-0-common_0.3.7-1 to lack a number of vital files. I'll fix this in my next upload.
I have now uploaded goffice_0.3.7-2 packages for Debian experimental. These fix the packaging problem and with them, the problem is no longer reproducible for me. Please mark this report as resolved.
Fixed over in Debian land.
*** Bug 424807 has been marked as a duplicate of this bug. ***