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 492377 - NULL label in text box
NULL label in text box
Status: RESOLVED DUPLICATE of bug 596886
Product: Gnumeric
Classification: Applications
Component: import/export MS Excel (tm)
git master
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2007-11-01 15:23 UTC by sum1
Modified: 2009-10-01 14:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sum1 2007-11-01 15:23:36 UTC
Version: r16045
OS: Ubuntu Gutsy

Steps to reproduce:
- From gnumeric/src/, convert web_page_sample.gnumeric to Excel format:

G_SLICE=always-malloc ../libtool --mode=execute valgrind -q --freelist-vol=50000000 --suppressions=../test/common.supp ./ssconvert ../samples/web_page_sample.gnumeric /tmp/foo.xls


Valgrind output:
** (/home/s/cvs/gnumeric/src/.libs/lt-ssconvert:7304): CRITICAL **: excel_write_string_len: assertion `str != NULL' failed

** (/home/s/cvs/gnumeric/src/.libs/lt-ssconvert:7304): CRITICAL **: excel_write_string_len: assertion `str != NULL' failed
==7304== Conditional jump or move depends on uninitialised value(s)
==7304==    at 0x6E1C486: excel_write_string (ms-excel-write.c:281)
==7304==    by 0x6E272B7: excel_write_ClientTextbox (ms-excel-write.c:3983)
==7304==    by 0x6E278A4: excel_write_textbox_v8 (ms-excel-write.c:4080)
==7304==    by 0x6E297BC: excel_write_objs_v8 (ms-excel-write.c:4646)
==7304==    by 0x6E29C42: excel_write_sheet (ms-excel-write.c:4724)
==7304==    by 0x6E2CA64: excel_write_workbook (ms-excel-write.c:5474)
==7304==    by 0x6E2CD67: excel_write_v8 (ms-excel-write.c:5524)
==7304==    by 0x6E01940: excel_save (boot.c:256)
==7304==    by 0x6E01B2F: excel_dsf_file_save (boot.c:291)
==7304==    by 0x45E45C4: go_plugin_loader_module_func_file_save (go-plugin-loader-module.c:323)
==7304==    by 0x45E665B: go_plugin_file_saver_save (go-plugin-service.c:749)
==7304==    by 0x45E9565: go_file_saver_save (file.c:666)
==7304== 
==7304== Conditional jump or move depends on uninitialised value(s)
==7304==    at 0x6E1C59D: excel_write_string (ms-excel-write.c:311)
==7304==    by 0x6E272B7: excel_write_ClientTextbox (ms-excel-write.c:3983)
==7304==    by 0x6E278A4: excel_write_textbox_v8 (ms-excel-write.c:4080)
==7304==    by 0x6E297BC: excel_write_objs_v8 (ms-excel-write.c:4646)
==7304==    by 0x6E29C42: excel_write_sheet (ms-excel-write.c:4724)
==7304==    by 0x6E2CA64: excel_write_workbook (ms-excel-write.c:5474)
==7304==    by 0x6E2CD67: excel_write_v8 (ms-excel-write.c:5524)
==7304==    by 0x6E01940: excel_save (boot.c:256)
==7304==    by 0x6E01B2F: excel_dsf_file_save (boot.c:291)
==7304==    by 0x45E45C4: go_plugin_loader_module_func_file_save (go-plugin-loader-module.c:323)
==7304==    by 0x45E665B: go_plugin_file_saver_save (go-plugin-service.c:749)
==7304==    by 0x45E9565: go_file_saver_save (file.c:666)

** (/home/s/cvs/gnumeric/src/.libs/lt-ssconvert:7304): WARNING **: This is somewhat corrupt.
We already wrote a length for a string that is being truncated due to encoding problems.

** (/home/s/cvs/gnumeric/src/.libs/lt-ssconvert:7304): CRITICAL **: excel_write_string_len: assertion `str != NULL' failed

** (/home/s/cvs/gnumeric/src/.libs/lt-ssconvert:7304): CRITICAL **: excel_write_string_len: assertion `str != NULL' failed

** (/home/s/cvs/gnumeric/src/.libs/lt-ssconvert:7304): WARNING **: This is somewhat corrupt.
We already wrote a length for a string that is being truncated due to encoding problems.
Comment 1 Morten Welinder 2007-11-01 18:14:40 UTC
Mostly fixed.  We're down to two of these:

** ([...]/lt-ssconvert:13598): WARNING **: Not sure why label is NULL here.
Comment 2 Andreas J. Guelzow 2009-04-21 03:04:36 UTC
Filled rectangles or ovals and textboxes are the same type of sheet object. The former simply have a NULL label. So seeing a NULL label may be quite normal if the file in question contains ovals or rectangles.

Comment 3 Morten Welinder 2009-10-01 14:02:52 UTC

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