[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#202386: Zero length truetype fonts cause setup to crash



Hi Chris,

This same bug exists upstream as well.  I just helped someone on Mandrake that 
had the installation fail with exactly the same backtrace.

He did a binary search of truetype fonts and found that:

> Narrowed it down to mshei.ttf which is a chinese/japanese font I think.  
> Will add that to the bug report I'm going to send in.

And as it turned out this font file had 0 size on his machine.  I am not sure 
why (a font installation failure?)

Please file an issue upstream for gsl (or better yet: commit a patch that 
skips any font file of size 0  to setup?, or psprint?, or vcl? - (I am not 
sure).  ;-)

Thanks,

Kevin

On Thursday 17 July 2003 10:58, Chris Halls wrote:
> Package: openoffice.org
> Version: 1.0.3-2
> Severity: normal
>
> Crash when setup finds a zero-length font file.
>
> OpenOffice.org for Debian - see
> /usr/share/doc/openoffice.org/README.Debian.gz running openoffice.org
> setup...
> Try `uname --help' for more information.
> /usr/bin/openoffice: line 161:  5130 Segmentation fault
>    /usr/lib/openoffice/program/setup -R:/etc/openoffice/autoresponse.conf
> setup failed.. abort
>
> #0  0x416138e9 in psp::JobData::constructFromStreamBuffer(void*, int,
> psp::JobData&) () from /usr/lib/openoffice1.1/program/libpsp644li.so (gdb)
> #0  0x416138e9 in psp::JobData::constructFromStreamBuffer(void*, int,
> psp::JobData&) () from /usr/lib/openoffice1.1/program/libpsp644li.so #1 
> 0x415e031e in
> psp::PrintFontManager::analyzeTrueTypeFile(psp::PrintFontManager::PrintFont
>*) const () from +/usr/lib/openoffice1.1/program/libpsp644li.so
> #2  0x415de887 in psp::PrintFontManager::analyzeFontFile(int, rtl::OString
> const&, bool, _STL::list<rtl::OString, _STL::allocator<rtl::OString> >
> +const&, _STL::list<psp::PrintFontManager::PrintFont*,
> _STL::allocator<psp::PrintFontManager::PrintFont*> >&) const () from
> +/usr/lib/openoffice1.1/program/libpsp644li.so
> #3  0x415e21b2 in psp::PrintFontManager::initialize(void*) () from
> /usr/lib/openoffice1.1/program/libpsp644li.so #4  0x415dbcbb in
> psp::PrintFontManager::get() () from
> /usr/lib/openoffice1.1/program/libpsp644li.so #5  0x406da639 in
> FontLookup::BuildSet(_STL::hash_set<FontLookup, FontLookup::hash,
> FontLookup::equal, _STL::allocator<FontLookup> >&) () from
> +/usr/lib/openoffice1.1/program/libvcl644li.so
>
>
> -- System Information:
> Debian Release: testing/unstable
> Architecture: i386
> Kernel: Linux shawn 2.4.21-2-686 #1 Sat Jul 5 00:38:35 EST 2003 i686
> Locale: LANG=en_GB, LC_CTYPE=de_DE@euro
>
> Versions of packages openoffice.org depends on:
> ii  openoffice.org-bin            1.0.3-2    OpenOffice.org office suite
> binary ii  openoffice.org-debian-files   1.0.3-2+1  Debian specific parts
> of OpenOffic ii  openoffice.org-l10n-en        1.0.3-2    English (US)
> language package for
>
> -- no debconf information




Reply to: