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 416047 - Pasting the attached text file causes Gnumeric to crash
Pasting the attached text file causes Gnumeric to crash
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
1.7.x
Other Linux
: High critical
: ---
Assigned To: Jody Goldberg
Jody Goldberg
: 424807 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-03-08 11:46 UTC by Uri David Akavia
Modified: 2007-03-31 11:36 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
File containing the text that causes the crase (5.15 KB, text/plain)
2007-03-08 11:45 UTC, Uri David Akavia
Details

Description Uri David Akavia 2007-03-08 11:44:52 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

Thread 1 (Thread 47060873593072 (LWP 7174))

  • #0 waitpid
    from /lib/libc.so.6
  • #1 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 killpg
    from /lib/libc.so.6
  • #3 ??
  • #0 waitpid
    from /lib/libc.so.6




------- 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".

Comment 1 Uri David Akavia 2007-03-08 11:45:44 UTC
Created attachment 84236 [details]
File containing the text that causes the crase
Comment 2 Morten Welinder 2007-03-08 14:08:56 UTC
No problems with that file here.

Could you try compiling with debug information on so we can get a good
stack trace?
Comment 3 Uri David Akavia 2007-03-08 14:41:36 UTC
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
Comment 4 J.H.M. Dassen (Ray) 2007-03-08 18:46:13 UTC
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

Thread 1 (Thread 1094610112 (LWP 18112))

  • #0 __waitpid_nocancel
    from /lib/tls/libc.so.6
  • #1 libgnomeui_segv_handle
    at gnome-ui-init.c line 820
  • #2 <signal handler called>
  • #3 go_combo_text_set_text
    from /usr/lib/libgoffice-0.so.3
  • #4 go_format_sel_set_style_format
    from /usr/lib/libgoffice-0.so.3
  • #5 activate_column
    at ../../../src/dialogs/dialog-stf-format-page.c line 146
  • #6 stf_dialog_format_page_prepare
    at ../../../src/dialogs/dialog-stf-format-page.c line 651
  • #7 prepare_page
    at ../../../src/dialogs/dialog-stf.c line 98
  • #8 next_clicked
    at ../../../src/dialogs/dialog-stf.c line 135
  • #9 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #10 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #11 ??
    from /usr/lib/libgobject-2.0.so.0
  • #12 ??
  • #13 ??
  • #0 __waitpid_nocancel
    from /lib/tls/libc.so.6


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.
Comment 5 J.H.M. Dassen (Ray) 2007-03-08 20:09:35 UTC
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
Comment 6 Morten Welinder 2007-03-08 20:13:18 UTC
Alright, that does look like the debian build files do not install
go-format-sel.glade (or doesn't install it the right place).
Comment 7 J.H.M. Dassen (Ray) 2007-03-08 20:34:14 UTC
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.
Comment 8 J.H.M. Dassen (Ray) 2007-03-08 21:28:54 UTC
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.
Comment 9 Morten Welinder 2007-03-08 21:30:40 UTC
Fixed over in Debian land.
Comment 10 Morten Welinder 2007-03-31 11:36:53 UTC
*** Bug 424807 has been marked as a duplicate of this bug. ***