[Bug 38819] Inkscape Portable 0.91 (Gtk+/Pango) crashes on startup (Pango font enumeration fails)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jun 26 15:07:51 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=38819

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |download
             Status|UNCONFIRMED                 |RESOLVED
                URL|                            |https://inkscape.global.ssl
                   |                            |.fastly.net/media/resources
                   |                            |/file/InkscapePortable_0.91
                   |                            |.paf.exe
                 CC|                            |focht at gmx.net
         Resolution|---                         |DUPLICATE
            Summary|inkscape portable crashes   |Inkscape Portable 0.91
                   |on startup                  |(Gtk+/Pango) crashes on
                   |                            |startup (Pango font
                   |                            |enumeration fails)

--- Comment #2 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

confirming.

There are a lot of Pango warnings before the crash.

Terminal output:

--- snip ---
$ wine ./InkscapePortable.exe 
...
(inkscape.exe:39): Pango-WARNING **: couldn't load font "Sans Not-Rotated 10",
falling back to "Sans Not-Rotated 10", expect ugly output.
(inkscape.exe:39): Pango-WARNING **: All font fallbacks failed!!!!
(inkscape.exe:39): Pango-WARNING **: failed to choose a font, expect ugly
output. engine-type='PangoRenderWin32', script='common'
(inkscape.exe:39): Pango-WARNING **: All font fallbacks failed!!!!
...
--- snip --- 

Trace:

--- snip ---
...
002a:CALL libpango-1.0-0.pango_font_map_load_font(<unknown, check return>)
ret=006f2f46
002a:CALL libpango-1.0-0.pango_context_get_language(<unknown, check return>)
ret=6d7049f9
002a:RET  libpango-1.0-0.pango_context_get_language() retval=00000000
ret=6d7049f9
002a:CALL libpango-1.0-0.pango_font_map_load_fontset(<unknown, check return>)
ret=6d704a13
002a:CALL libpango-1.0-0.pango_context_get_language() ret=6d7044b4
002a:RET  libpango-1.0-0.pango_context_get_language() retval=00000000
ret=6d7044b4
002a:CALL libpango-1.0-0.pango_context_get_matrix(<unknown, check return>)
ret=6d704280
002a:RET  libpango-1.0-0.pango_context_get_matrix() retval=00000000
ret=6d704280
002a:CALL libpango-1.0-0.pango_font_description_get_size() ret=6d7042c3
002a:RET  libpango-1.0-0.pango_font_description_get_size() retval=00080000
ret=6d7042c3
002a:CALL libpango-1.0-0.pango_font_description_get_size_is_absolute(<unknown,
check return>) ret=6d7042da
002a:RET  libpango-1.0-0.pango_font_description_get_size_is_absolute()
retval=00000000 ret=6d7042da
002a:CALL libpango-1.0-0.pango_context_get_matrix() ret=6d7042ea
002a:RET  libpango-1.0-0.pango_context_get_matrix() retval=00000000
ret=6d7042ea
002a:CALL libpango-1.0-0.pango_matrix_get_font_scale_factor(<unknown, check
return>) ret=6d7042f2
002a:RET  libpango-1.0-0.pango_matrix_get_font_scale_factor() retval=00000000
ret=6d7042f2
002a:CALL libpango-1.0-0.pango_font_description_copy_static(<unknown, check
return>) ret=6d704332
002a:RET  libpango-1.0-0.pango_font_description_copy_static() retval=05290380
ret=6d704332
002a:CALL libpango-1.0-0.pango_font_description_unset_fields() ret=6d704345
002a:RET  libpango-1.0-0.pango_font_description_unset_fields() retval=ffffffdf
ret=6d704345
002a:CALL libpango-1.0-0.pango_font_description_hash(<unknown, check return>)
ret=6d702d56
002a:RET  libpango-1.0-0.pango_font_description_hash() retval=b5f80bc3
ret=6d702d56
002a:CALL libpango-1.0-0.pango_font_description_get_style() ret=6d70446b
002a:RET  libpango-1.0-0.pango_font_description_get_style() retval=00000000
ret=6d70446b
002a:CALL libpango-1.0-0.pango_font_description_get_weight() ret=6d7044e0
002a:RET  libpango-1.0-0.pango_font_description_get_weight() retval=00000190
ret=6d7044e0
002a:CALL libpango-1.0-0.pango_font_description_get_stretch() ret=6d70455b
002a:RET  libpango-1.0-0.pango_font_description_get_stretch() retval=00000004
ret=6d70455b
002a:CALL libpango-1.0-0.pango_font_description_get_gravity(<unknown, check
return>) ret=6d704597
002a:RET  libpango-1.0-0.pango_font_description_get_gravity() retval=00000000
ret=6d704597
002a:CALL libpango-1.0-0.pango_version(<unknown, check return>) ret=6d7045e4
002a:RET  libpango-1.0-0.pango_version() retval=00003203 ret=6d7045e4
002a:CALL libfontconfig-1.FcPatternBuild(<unknown, check return>) ret=6d7046d2 
...
002a:RET  libfontconfig-1.FcPatternBuild() retval=0542d868 ret=6d7046d2
002a:CALL libpango-1.0-0.pango_font_description_get_family() ret=6d7046e0
002a:RET  libpango-1.0-0.pango_font_description_get_family() retval=05434f08
ret=6d7046e0
002a:Call msvcrt.strstr(05434f08 "sans-serif",6d7284a4 ",") ret=68608b61 
...
002a:CALL libpango-1.0-0.pango_font_description_free() ret=6d7043d8
002a:RET  libpango-1.0-0.pango_font_description_free() retval=03eacda0
ret=6d7043d8
002a:CALL libgobject-2.0-0.g_object_ref() ret=6d7043e0
002a:RET  libgobject-2.0-0.g_object_ref() retval=052903a8 ret=6d7043e0
002a:RET  libpango-1.0-0.pango_font_map_load_fontset() retval=052903a8
ret=6d704a13
002a:CALL libpango-1.0-0.pango_fontset_foreach() ret=6d704a30
002a:CALL libgobject-2.0-0.g_type_check_instance_is_a() ret=6558d080
002a:RET  libgobject-2.0-0.g_type_check_instance_is_a() retval=00000001
ret=6558d080
002a:CALL libgobject-2.0-0.g_type_check_instance_cast() ret=6d704040
002a:RET  libgobject-2.0-0.g_type_check_instance_cast() retval=052903a8
ret=6d704040
002a:RET  libpango-1.0-0.pango_fontset_foreach() retval=00000000 ret=6d704a30
002a:CALL libgobject-2.0-0.g_object_unref() ret=6d704a47
002a:RET  libgobject-2.0-0.g_object_unref() retval=00000001 ret=6d704a47
002a:RET  libpango-1.0-0.pango_font_map_load_font() retval=00000000
ret=006f2f46
002a:CALL libpango-1.0-0.pango_font_description_free() ret=006f3074
002a:Call msvcrt.free(054393f0) ret=65584278
002a:Call ntdll.RtlFreeHeap(03ea0000,00000000,054393f0) ret=7e485288
002a:Ret  ntdll.RtlFreeHeap() retval=00000001 ret=7e485288
002a:Ret  msvcrt.free() retval=00000001 ret=65584278
002a:RET  libpango-1.0-0.pango_font_description_free() retval=03eacda0
ret=006f3074
002a:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7091ad ip=007091ad
tid=002a
002a:trace:seh:raise_exception  info[0]=00000000
002a:trace:seh:raise_exception  info[1]=00000004
002a:trace:seh:raise_exception  eax=00000000 ebx=3fb99999 ecx=0164edb0
edx=0164ee5c esi=01107570 edi=0164f5e8
002a:trace:seh:raise_exception  ebp=0541f6b8 esp=0164ee40 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00210202
002a:trace:seh:call_stack_handlers calling handler at 0x7bcab007 code=c0000005
flags=0
002a:Call KERNEL32.UnhandledExceptionFilter(0164e924) ret=7bcab041 
...
--- snip ---

Essentially a dupe of bug 19289

'winetricks -q corefonts' makes the crash go away but all user-interface text
is garbage.

Dmitry's patch https://bugs.winehq.org/attachment.cgi?id=49858 helps here,
fixing the font rendering.

$ sha1sum InkscapePortable_0.91.paf.exe 
bc8cc85fc099c344989648f239ed9805ca253cb4  InkscapePortable_0.91.paf.exe

$ du -sh InkscapePortable_0.91.paf.exe 
47M    InkscapePortable_0.91.paf.exe

$ wine --version
wine-1.7.46

Regards

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

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list