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 586028 - Allocation abort during HTML export
Allocation abort during HTML export
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: import/export HTML
git master
Other All
: Normal critical
: ---
Assigned To: Andreas J. Guelzow
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2009-06-16 18:57 UTC by sum1
Modified: 2009-06-17 01:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
xls file (626.00 KB, application/vnd.ms-excel)
2009-06-16 18:59 UTC, sum1
Details

Description sum1 2009-06-16 18:57:12 UTC
The upcoming attachment is an Excel file from http://bugs.kde.org/show_bug.cgi?id=100115.


Steps to reproduce:
- ssconvert attachment.xls /tmp/foo.html


Console output:

GLib-ERROR **: /build/buildd/glib2.0-2.20.1/glib/gmem.c:136: failed to allocate 2147483572 bytes
aborting...
Aborted


Backtrace:

  • #0 __kernel_vsyscall
  • #1 *__GI_raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #2 *__GI_abort
    at abort.c line 88
  • #3 IA__g_logv
    at /build/buildd/glib2.0-2.20.1/glib/gmessages.c line 506
  • #4 IA__g_log
    at /build/buildd/glib2.0-2.20.1/glib/gmessages.c line 526
  • #5 IA__g_malloc
    at /build/buildd/glib2.0-2.20.1/glib/gmem.c line 135
  • #6 IA__g_strndup
    at /build/buildd/glib2.0-2.20.1/glib/gstrfuncs.c line 155
  • #7 cb_html_add_chars
    at html.c line 147
  • #8 html_new_markup
    at html.c line 223
  • #9 html_write_cell_content
    at html.c line 295
  • #10 write_cell
    at html.c line 492
  • #11 write_row
    at html.c line 527
  • #12 write_sheet
    at html.c line 585
  • #13 html_file_save
    at html.c line 684
  • #14 xhtml_file_save
    at html.c line 716
  • #15 xhtml_range_file_save
    at html.c line 724
  • #16 go_plugin_loader_module_func_file_save
    at go-plugin-loader-module.c line 323
  • #17 go_plugin_file_saver_save
    at go-plugin-service.c line 749
  • #18 go_file_saver_save
    at file.c line 705
  • #19 wbv_save_to_output
    at workbook-view.c line 971
  • #20 wb_view_save_to_uri
    at workbook-view.c line 1008
  • #21 wb_view_save_as
    at workbook-view.c line 1044
  • #22 convert
    at ssconvert.c line 534
  • #23 main
    at ssconvert.c line 601

Comment 1 sum1 2009-06-16 18:59:44 UTC
Created attachment 136759 [details]
xls file
Comment 2 Andreas J. Guelzow 2009-06-16 19:41:03 UTC
len=2147483571 doesn't look pretty
Comment 3 Andreas J. Guelzow 2009-06-17 01:21:33 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.