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 586328 - ssconvert causes a fatal error
ssconvert causes a fatal error
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
1.9.x
Other All
: Normal critical
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2009-06-19 00:28 UTC by Eric Moreau
Modified: 2009-06-25 23:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Eric Moreau 2009-06-19 00:28:10 UTC
Steps to reproduce:
1. On Windows Vista
2. Open a cmd.exe window
3. type "ssconvert tv101.wks tv101.xls"


Stack trace:


Other information:
This is what I get in my window:


C:\Program Files\Gnumeric\1.9.8\bin>ssconvert tv101.wks tv101.xls
Using exporter Gnumeric_Excel:excel_dsf

(ssconvert:3952): Pango-CRITICAL **: pango_win32_font_map_get_font_cache: assert
ion `font_map != NULL' failed
**
Pango:ERROR:pangowin32.c:838:pango_win32_font_finalize: assertion failed: (win32
font->fontmap != NULL)

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

C:\Program Files\Gnumeric\1.9.8\bin>


I get a "Microsoft Windows" dialog. The details section contains:

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	ssconvert.exe
  Application Version:	0.0.0.0
  Application Timestamp:	4a038758
  Fault Module Name:	libglib-2.0-0.dll
  Fault Module Version:	2.20.1.0
  Fault Module Timestamp:	4a02e271
  Exception Code:	40000015
  Exception Offset:	00055e04
  OS Version:	6.0.6002.2.2.0.256.1
  Locale ID:	4105
  Additional Information 1:	d68f
  Additional Information 2:	366b6a187dd18c07fe96d5c17deb2d96
  Additional Information 3:	34e8
  Additional Information 4:	3e8e34faf6cff8b5a271bd17275708d7

Read our privacy statement:
  http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409
Comment 1 Eric Moreau 2009-06-23 16:57:01 UTC
when should I get any kind of help regarding this problem?
Comment 2 Morten Welinder 2009-06-23 17:07:37 UTC
It could be months.  We do not have anyone who work regularly on the Win32
port.  For now, you will have to do without ssconvert.
Comment 3 Eric Moreau 2009-06-23 17:45:01 UTC
This is what we call support! Better disable this whole thing then leaving the impression that those bugs will get fixed!
Comment 4 sum1 2009-06-24 02:26:23 UTC
WinDbg trace:

WARNING: Stack unwind information not available. Following frames may be wrong.
ntdll!KiFastSystemCallRet
kernel32!ExitProcess+0x14
msvcrt!strerror+0x2b4b
msvcrt!initterm+0x111
msvcrt!exit+0x12
msvcrt!raise+0xae
msvcrt!abort+0xe
libglib_2_0_0!g_assertion_message_cmpnum
libpangowin32_1_0_0!pango_win32_font_get_metrics_factor+0x25f
libpangocairo_1_0_0!pango_cairo_error_underline_path+0x5fc
libgobject_2_0_0!g_object_unref+0x216
libglib_2_0_0!g_list_foreach+0x25
libpangowin32_1_0_0!pango_win32_shutdown_display+0x62
libpangocairo_1_0_0!pango_cairo_error_underline_path+0xc13
libgobject_2_0_0!g_object_unref+0x216
libspreadsheet_1_9_8!gnm_font_shutdown+0x113
libspreadsheet_1_9_8!gnm_shutdown+0x73
image00400000+0x1d23
image00400000+0x10a7
image00400000+0x1143
Comment 5 sum1 2009-06-24 02:55:35 UTC
I see a similar shutdown issue when converting on Linux.


$ pkg-config --modversion pango
1.24.1


$ G_SLICE=always-malloc LD_LIBRARY_PATH=/home/s/local/lib/ ../libtool --mode=execute valgrind -q --freelist-vol=500000000 --suppressions=../test/common.supp ./ssconvert ../samples/web_page_sample.gnumeric /tmp/foo.txt


==17488== Invalid write of size 4
==17488==    at 0x4F14C19: g_nullify_pointer (gutils.c:3217)
==17488==    by 0x4E6F580: weak_refs_notify (gobject.c:1947)
==17488==    by 0x4ECC5F7: g_datalist_id_set_data_full (gdataset.c:242)
==17488==    by 0x4E6FBD8: g_object_real_dispose (gobject.c:741)
==17488==    by 0x4E6FD57: g_object_unref (gobject.c:2393)
==17488==    by 0x418292E: gnm_font_shutdown (style.c:407)
==17488==    by 0x40E8852: gnm_shutdown (libgnumeric.c:336)
==17488==    by 0x804AF44: main (ssconvert.c:610)
==17488==  Address 0x57cbd48 is 16 bytes inside a block of size 148 free'd
==17488==    at 0x4025DFA: free (vg_replace_malloc.c:323)
==17488==    by 0x4EE9125: g_free (gmem.c:190)
==17488==    by 0x4E8D8B8: g_type_free_instance (gtype.c:1717)
==17488==    by 0x418226B: gnm_font_unref (style.c:236)
==17488==    by 0x41828AC: gnm_font_shutdown (style.c:394)
==17488==    by 0x40E8852: gnm_shutdown (libgnumeric.c:336)
==17488==    by 0x804AF44: main (ssconvert.c:610)
Comment 6 Morten Welinder 2009-06-25 13:32:53 UTC
Fixed in pango's git, see bug 586814.
Comment 7 Eric Moreau 2009-06-25 22:42:55 UTC
How am I supposed to fix that thing? I see no DLL to download!