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 684646 - gnumeric crashed with SIGSEGV in sheet_control_gui_new()
gnumeric crashed with SIGSEGV in sheet_control_gui_new()
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
1.10.x
Other Linux
: Normal major
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2012-09-23 03:35 UTC by Christopher M. Penalver
Modified: 2012-09-24 05:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fd.xls (51.50 KB, application/vnd.ms-excel)
2012-09-23 03:35 UTC, Christopher M. Penalver
Details

Description Christopher M. Penalver 2012-09-23 03:35:26 UTC
Created attachment 225011 [details]
fd.xls

Downstream bug may be found at:
https://bugs.launchpad.net/ubuntu/+source/gnumeric/+bug/1054833

1) lsb_release -rd
Description: Ubuntu quantal (development branch)
Release: 12.10

2) apt-cache policy gnumeric
gnumeric:
  Installed: 1.10.17-1.1ubuntu1
  Candidate: 1.10.17-1.1ubuntu1
  Version table:
 *** 1.10.17-1.1ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ quantal/universe i386 Packages
        100 /var/lib/dpkg/status

3) What is expected to happen is when one opens the attached it opens successfully, as it does in Microsoft Office Professional Plus 2010 Excel Version 14.0.6023.1000 (32-bit).

4) What happens instead is it crashes consistently.
Comment 1 Andreas J. Guelzow 2012-09-23 03:44:18 UTC
In a recent version of Gnumeric (1.11.6) I do not observe a crash but I do get warnings:
(/home/aguelzow/gnumeric/bin/gnumeric:7088): Gtk-CRITICAL **: gtk_widget_override_background_color: assertion `GTK_IS_WIDGET (widget)' failed
Comment 2 Andreas J. Guelzow 2012-09-23 03:46:32 UTC
We apparently are calling 
gtk_widget_override_background_color (widget=0x0, 
    state=GTK_STATE_FLAG_NORMAL, color=0xb7fd7d20)
with a NULL widget

  • #0 g_log
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #1 g_return_if_fail_warning
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #2 gtk_widget_override_background_color
    at /build/buildd/gtk+3.0-3.2.0/./gtk/gtkwidget.c line 8216
  • #3 gtk_widget_override_background_color
    at /build/buildd/gtk+3.0-3.2.0/./gtk/gtkwidget.c line 8210
  • #4 sheet_control_gui_new
    at sheet-control-gui.c line 1725
  • #5 wbcg_sheet_add
    at wbc-gtk.c line 1104
  • #6 wb_control_sheet_add
    at workbook-control.c line 130
  • #7 wb_control_init_state
    at workbook-control.c line 564
  • #8 gui_wb_view_show
    at gui-file.c line 94
  • #9 gui_file_read
    at gui-file.c line 128

Comment 3 Andreas J. Guelzow 2012-09-23 03:50:04 UTC
Note that the downstream bug link mentioned in the report above does not work.
Comment 4 Andreas J. Guelzow 2012-09-23 03:57:38 UTC
Okay, the file contains a macro sheet:

Breakpoint 1, sheet_control_gui_new (sv=0x86bd270, wbcg=0x825f060)
    at sheet-control-gui.c:1711
1711			sheet->hide_col_header = sheet->hide_row_header = FALSE;
(gdb) p sheet->sheet_type
$1 = GNM_SHEET_XLM
(gdb) 

We do not create such a sheet type but later on are using it.
See sheet-control-gui.c:1708 to 1732
Comment 5 Christopher M. Penalver 2012-09-23 04:27:37 UTC
Andreas J. Guelzow, thank you for quickly reviewing this bug report.

Regarding your comments https://bugzilla.gnome.org/show_bug.cgi?id=684646#c3 :
>"Note that the downstream bug link mentioned in the report above does not work."

Actually, it does work. The reason you may not access it is because Launchpad crash reports are initially marked Private, as they potentially contain user sensitive information. If one is not the original reporter, only those who are a member of the following team will be able to view it https://launchpad.net/~ubuntu-crashes-universe . For more on this please see https://wiki.ubuntu.com/CrashReporting .
Comment 6 Andreas J. Guelzow 2012-09-23 17:34:04 UTC
Re comment #5. If only you and some ubuntu people can access the bug report it de facto does not exist for us since no Gnumeric developer would be able to see it or comment on it. This would explain why launchpad reports are always old when they come to our attention.
Comment 7 Andreas J. Guelzow 2012-09-24 05:22:48 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.