Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416453 - app-office/libreoffice-3.5.2.2: crash in writer while selecting another font
Summary: app-office/libreoffice-3.5.2.2: crash in writer while selecting another font
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-18 05:59 UTC by Johannes Geiss
Modified: 2013-04-26 19:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Widget which has to be clicked with the mouse (fontselect.png,13.18 KB, image/png)
2012-05-18 06:01 UTC, Johannes Geiss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Geiss 2012-05-18 05:59:35 UTC
LibreOffice crash in writer if someone tries to select another font with the pulldown list.

Reproducible: Always

Steps to Reproduce:
1. Start LibreOffice;
2. Select Textdocument (writer);
3. Use Mouse at pulldown widget (down arrow) to select another font (see attached picture);
Actual Results:  
LibreOffice exit/crash.

Expected Results:  
See a list of fonts to select with mouse.

Portage 2.1.10.49 (default/linux/powerpc/ppc32/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r3, 3.2.1-gentoo-r2-polaris ppc)
=================================================================
System uname: Linux-3.2.1-gentoo-r2-polaris-ppc-7447-7457,_altivec_supported-with-gentoo-2.0.3
Timestamp of tree: Mon, 07 May 2012 02:45:01 +0000
app-shells/bash: 4.2_p20
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.2-r3, 3.2.2
dev-util/cmake: 2.8.6-r4
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.0.3
sys-apps/openrc: 0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.11.1
sys-devel/binutils: 2.21.1-r1
sys-devel/gcc: 3.4.6-r2, 4.5.3-r2
sys-devel/gcc-config: 1.5-r2
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc: 2.14.1-r3
Repositories: gentoo private-overlay
ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -fno-strict-aliasing -fomit-frame-pointer -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -fno-strict-aliasing -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --nospinner --quiet-build --usepkg --binpkg-respect-use=y"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ [^] ftp://de-mirror.org/distro/gentoo/ [^] "
LANG="en_US.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" [^]
USE="X Xaw3d a52 aac acl alsa altivec berkdb bluetooth branding bzip2 cairo cdda cdr cgi cjk cli consolekit cracklib crypt css cups cxx dbus device-mapper dri dts dvd dvdr dvi emboss encode esd exif extensions extras fam fastcgi fat ffmpeg firefox flac fontconfig fortran fuse gd gdbm gdu gif gnutls gpm gtk hfs iconv icu id3tag imagemagick imap ipv6 jfs joystick jpeg kpathsea lcms ldap libnotify mad midi mikmod mng modules mp3 mp4 mpeg mudflap mule musicbrainz mysql ncurses nls nptl nsplugin ntfs ntfsprogs objc odbc ogg opengl openmp pam pango pcre pdf png policykit ppc ppds pppd private-headers qt3support qt4 readline reiserfs sasl sdl server session sid sieve spell sqlite srt ssl startup-notification stream svg tcpd theora tiff timidity truetype twolame udev unicode usb vamp videos vorbis wxwidgets xcb xfs xml xorg xulrunner xv xvid zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="arm i386 ppc" QEMU_USER_TARGETS="arm i386 ppc" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Johannes Geiss 2012-05-18 06:01:10 UTC
Created attachment 312161 [details]
Widget which has to be clicked with the mouse
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2012-05-24 13:16:11 UTC
This looks like native vcl, or are you using gtk useflag on loo?

Anyway I can't reproduce this so you have to provide stack trace from within gdb session.
Comment 3 Johannes Geiss 2012-05-27 07:48:35 UTC
(In reply to comment #2)
> This looks like native vcl, or are you using gtk useflag on loo?
> 
> Anyway I can't reproduce this so you have to provide stack trace from within
> gdb session.

Building a debug version takes a long time for my old computer. I will try to do it. In the meantime here a stack trace from the non-debug version:


Program received signal SIGSEGV, Segmentation fault.
0x0d666534 in ?? () from /usr/lib/libicule.so.48
(gdb) bt
#0  0x0d666534 in ?? () from /usr/lib/libicule.so.48
#1  0x0d65def0 in ?? () from /usr/lib/libicule.so.48
#2  0x0d656ea8 in icu_48::LayoutEngine::layoutEngineFactory(icu_48::LEFontInstance const*, int, int, int, LEErrorCode&) ()
   from /usr/lib/libicule.so.48
#3  0x0d657328 in icu_48::LayoutEngine::layoutEngineFactory(icu_48::LEFontInstance const*, int, int, LEErrorCode&) ()
   from /usr/lib/libicule.so.48
#4  0x0e56c0b4 in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#5  0x0e56ca2c in ServerFontLayout::LayoutText(ImplLayoutArgs&) () from /usr/lib/libreoffice/program/libvcllo.so
#6  0x0e382974 in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#7  0x0e387434 in OutputDevice::GetTextBoundRect(Rectangle&, String const&, unsigned short, unsigned short, unsigned short, unsigned long, long const*) const () from /usr/lib/libreoffice/program/libvcllo.so
#8  0x0eeba3ac in ?? () from /usr/lib/libreoffice/program/libsvtlo.so
#9  0x0eebaa4c in FontNameBox::UserDraw(UserDrawEvent const&) () from /usr/lib/libreoffice/program/libsvtlo.so
#10 0x0e273bec in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#11 0x0e2a65a8 in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#12 0x0e2a6880 in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#13 0x0e51e318 in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#14 0x0e51e07c in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#15 0x0e51e07c in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#16 0x0e51e07c in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#17 0x0e51f72c in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#18 0x0e259628 in Timer::Timeout() () from /usr/lib/libreoffice/program/libvcllo.so
#19 0x0e259768 in Timer::ImplTimerCallbackProc() () from /usr/lib/libreoffice/program/libvcllo.so
#20 0x0b81a680 in ?? () from /usr/lib/libreoffice/program/libvclplug_gtklo.so
#21 0x0af821fc in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0x0af829e8 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0x0af82c34 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0x0b81c578 in ?? () from /usr/lib/libreoffice/program/libvclplug_gtklo.so
#25 0x0b81da78 in ?? () from /usr/lib/libreoffice/program/libvclplug_gtklo.so
#26 0x0e24fd50 in Application::Yield(bool) () from /usr/lib/libreoffice/program/libvcllo.so
#27 0x0e24fe58 in Application::Execute() () from /usr/lib/libreoffice/program/libvcllo.so
#28 0x0ff0655c in ?? () from /usr/lib/libreoffice/program/libsofficeapp.so
#29 0x0e258cac in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#30 0x0e258d84 in SVMain() () from /usr/lib/libreoffice/program/libvcllo.so
#31 0x0ff2af14 in soffice_main () from /usr/lib/libreoffice/program/libsofficeapp.so

#32 0x10000678 in ?? ()   
#33 0x0fd6f22c in ?? () from /lib/libc.so.6
#34 0x0fd6f3d0 in __libc_start_main () from /lib/libc.so.6
#35 0x00000000 in ?? ()

The bug seems to be in libicule.
Comment 4 Johannes Geiss 2012-05-27 09:13:38 UTC
Here is the stack trace with libicule as debug version:

Program received signal SIGSEGV, Segmentation fault.  
0x0d656cec in icu_48::ScriptListTable::findScript(unsigned int) const () from /usr/lib/libicule.so.48
(gdb) bt
#0  0x0d656cec in icu_48::ScriptListTable::findScript(unsigned int) const () from /usr/lib/libicule.so.48
#1  0x0d64dd14 in icu_48::GlyphLookupTableHeader::coversScript(unsigned int) const () from /usr/lib/libicule.so.48
#2  0x0d646484 in icu_48::LayoutEngine::layoutEngineFactory(icu_48::LEFontInstance const*, int, int, int, LEErrorCode&) ()
   from /usr/lib/libicule.so.48
#3  0x0d64692c in icu_48::LayoutEngine::layoutEngineFactory(icu_48::LEFontInstance const*, int, int, LEErrorCode&) ()
   from /usr/lib/libicule.so.48
#4  0x0e56c0b4 in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#5  0x0e56ca2c in ServerFontLayout::LayoutText(ImplLayoutArgs&) () from /usr/lib/libreoffice/program/libvcllo.so
#6  0x0e382974 in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#7  0x0e387434 in OutputDevice::GetTextBoundRect(Rectangle&, String const&, unsigned short, unsigned short, unsigned short, unsigned long, long const*) const () from /usr/lib/libreoffice/program/libvcllo.so
#8  0x0eeba3ac in ?? () from /usr/lib/libreoffice/program/libsvtlo.so
#9  0x0eebaa4c in FontNameBox::UserDraw(UserDrawEvent const&) () from /usr/lib/libreoffice/program/libsvtlo.so
#10 0x0e273bec in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#11 0x0e2a65a8 in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#12 0x0e2a6880 in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#13 0x0e51e318 in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#14 0x0e51e07c in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#15 0x0e51e07c in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#16 0x0e51e07c in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#17 0x0e51f72c in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#18 0x0e259628 in Timer::Timeout() () from /usr/lib/libreoffice/program/libvcllo.so
#19 0x0e259768 in Timer::ImplTimerCallbackProc() () from /usr/lib/libreoffice/program/libvcllo.so
#20 0x0b74c680 in ?? () from /usr/lib/libreoffice/program/libvclplug_gtklo.so
#21 0x0aeb41fc in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0x0aeb49e8 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0x0aeb4c34 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0x0b74e578 in ?? () from /usr/lib/libreoffice/program/libvclplug_gtklo.so
#25 0x0b74fa78 in ?? () from /usr/lib/libreoffice/program/libvclplug_gtklo.so
#26 0x0e24fd50 in Application::Yield(bool) () from /usr/lib/libreoffice/program/libvcllo.so
#27 0x0e24fe58 in Application::Execute() () from /usr/lib/libreoffice/program/libvcllo.so
#28 0x0ff0655c in ?? () from /usr/lib/libreoffice/program/libsofficeapp.so
#29 0x0e258cac in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#30 0x0e258d84 in SVMain() () from /usr/lib/libreoffice/program/libvcllo.so
#31 0x0ff2af14 in soffice_main () from /usr/lib/libreoffice/program/libsofficeapp.so
#32 0x10000678 in ?? ()
#33 0x0fd6f22c in ?? () from /lib/libc.so.6
#34 0x0fd6f3d0 in __libc_start_main () from /lib/libc.so.6
#35 0x00000000 in ?? ()

If you need more info, just ask.
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2012-06-01 12:25:23 UTC
Yep the bug is in icu.

Try to update to 3.5.4.2-r1 as that version pulls in the new icu so the crash should be goner.

Let me know if you get to the testing thanks.
Comment 6 Johannes Geiss 2012-06-09 06:31:41 UTC
(In reply to comment #5)
> Yep the bug is in icu.
> 
> Try to update to 3.5.4.2-r1 as that version pulls in the new icu so the
> crash should be goner.
> 
> Let me know if you get to the testing thanks.

I emerged LO 3.5.4.2-r1 which - indeed - pulled icu 49.1.1-r1, but no luck. The bug remains.
Comment 7 Johannes Geiss 2012-08-07 09:35:29 UTC
I have a more informative back trace now:

#0 icu_49::ScriptListTable::findScript (this=0x4aba6f90, scriptTag=1937338979) at ScriptAndLanguage.cpp:57
0000001 0x0d63c924 in icu_49::GlyphLookupTableHeader::coversScript (this=<optimized out>, scriptTag=<optimized out>)
    at GlyphLookupTables.cpp:19
0000002 0x0d634ee4 in icu_49::LayoutEngine::layoutEngineFactory (fontInstance=0x10d53be4, scriptCode=34, languageCode=0,
    typoFlags=3, success=@0xbfffd980) at LayoutEngine.cpp:538
0000003 0x0d63538c in icu_49::LayoutEngine::layoutEngineFactory (fontInstance=<optimized out>, scriptCode=<optimized out>,
    languageCode=<optimized out>, success=<optimized out>) at LayoutEngine.cpp:514
0000004 0x0e571164 in IcuLayoutEngine::operator() (this=0x10d53be0, rLayout=..., rArgs=...)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/generic/glyphs/gcach_layout.cxx:450
0000005 0x0e571adc in ServerFontLayout::LayoutText (this=0x10d5a340, rArgs=...)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/generic/glyphs/gcach_layout.cxx:69
0000006 0x0e3891c4 in OutputDevice::ImplLayout (this=0x10cdb7f8, rOrigStr=<optimized out>, nMinIndex=<optimized out>, nLen=7,
    rLogicalPos=..., nLogicalWidth=<optimized out>, pDXArray=0x0, bFilter=<optimized out>)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/source/gdi/outdev3.cxx:6053
0000007 0x0e38e044 in OutputDevice::GetTextBoundRect (this=0x10cdb7f8, rRect=..., rStr=..., nBase=<optimized out>,
    nIndex=<optimized out>, nLen=<optimized out>, nLayoutWidth=0, pDXAry=0x0)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/source/gdi/outdev3.cxx:7615
0000008 0x0eebf4cc in (anonymous namespace)::shrinkFontToFit (rSampleText=..., nH=26, rFont=..., rDevice=..., rTextRect=...)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/svtools/source/control/ctrlbox.cxx:1244
0000009 0x0eebfb6c in FontNameBox::UserDraw (this=0x10cd86f8, rUDEvt=...)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/svtools/source/control/ctrlbox.cxx:1439
0000010 0x0e27a34c in ImplUserDrawHdl (pEvent=<optimized out>, this=<optimized out>)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/source/control/combobox.cxx:1303
0000011 ComboBox::LinkStubImplUserDrawHdl (pThis=<optimized out>, pCaller=<optimized out>)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/source/control/combobox.cxx:1301
0000012 0x0e2ace08 in Call (pCaller=0xbfffdedc, this=<optimized out>)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/solver/unxlngppc.pro/inc/tools/link.hxx:140
0000013 ImplListBoxWindow::ImplPaint (this=0x10cdb7f8, nPos=<optimized out>, bErase=<optimized out>, bLayout=<optimized out>)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/source/control/ilstbox.cxx:1835
0000014 0x0e2ad0e0 in ImplListBoxWindow::ImplDoPaint (this=0x10cdb7f8, rRect=..., bLayout=<optimized out>)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/source/control/ilstbox.cxx:1976
0000015 0x0e5223d8 in Window::ImplCallPaint (this=0x10cdb7f8, pRegion=<optimized out>, nPaintFlags=48)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/source/window/window.cxx:2419
0000016 0x0e52213c in Window::ImplCallPaint (this=0x10cdb6e8, pRegion=<optimized out>, nPaintFlags=52)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/source/window/window.cxx:2443
0000017 0x0e52213c in Window::ImplCallPaint (this=0x10cd8cd8, pRegion=<optimized out>, nPaintFlags=52)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/source/window/window.cxx:2443
0000018 0x0e52213c in Window::ImplCallPaint (this=0x10cd8f98, pRegion=<optimized out>, nPaintFlags=52)

    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/source/window/window.cxx:2443
0000019 0x0e5237ec in Window::ImplHandlePaintHdl (this=<optimized out>)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/source/window/window.cxx:2499
0000020 0x0e25fc68 in Call (pCaller=<optimized out>, this=<optimized out>)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/solver/unxlngppc.pro/inc/tools/link.hxx:140
0000021 Timer::Timeout (this=<optimized out>)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/source/app/timer.cxx:256
0000022 0x0e25fda8 in Timer::ImplTimerCallbackProc ()
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/source/app/timer.cxx:144
0000023 0x0b8219e0 in CallCallback (this=<optimized out>)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/inc/saltimer.hxx:66
0000024 sal_gtk_timeout_dispatch (pSource=0x10d52bf8)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/unx/gtk/app/gtkdata.cxx:844
0000025 0x0af857ec in g_main_dispatch (context=0x1073cee8) at gmain.c:2441
0000026 g_main_context_dispatch (context=0x1073cee8) at gmain.c:3011
0000027 0x0af85fd8 in g_main_context_iterate (context=0x1073cee8, block=1, dispatch=1, self=<optimized out>) at gmain.c:3089
0000028 0x0af86224 in g_main_context_iteration (context=0x1073cee8, may_block=1) at gmain.c:3152
0000029 0x0b8238f8 in GtkData::Yield (this=0x107168d0, bWait=<optimized out>, bHandleAllCurrentEvents=<optimized out>)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/unx/gtk/app/gtkdata.cxx:587
0000030 0x0b824e28 in GtkInstance::Yield (this=0x10716860, bWait=<optimized out>, bHandleAllCurrentEvents=<optimized out>)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/unx/gtk/app/gtkinst.cxx:613
0000031 0x0e256350 in ImplYield (i_bAllEvents=false, i_bWait=true)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/source/app/svapp.cxx:458
0000032 Application::Yield (i_bAllEvents=<optimized out>)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/source/app/svapp.cxx:492
0000033 0x0e256458 in Application::Execute ()
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/source/app/svapp.cxx:435
0000034 0x0ff0757c in desktop::Desktop::Main (this=0xbfffe590)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/desktop/source/app/app.cxx:1885
0000035 0x0e25f2bc in ImplSVMain ()
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/source/app/svmain.cxx:178
0000036 0x0e25f394 in SVMain ()
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/vcl/source/app/svmain.cxx:215
0000037 0x0ff2bb64 in soffice_main ()
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/desktop/source/app/sofficemain.cxx:67
0000038 0x10000678 in sal_main ()
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/desktop/source/app/main.c:34
0000039 main (argc=<optimized out>, argv=<optimized out>)
    at /usr/src/debug/app-office/libreoffice-3.5.4.2-r1/libreoffice-core-3.5.4.2/desktop/source/app/main.c:33
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2012-08-07 10:40:34 UTC
Hmm, interesting.

The crash really happens in the ICU parser. Are there any weird fonts you have like FreeSerif and others?

Another possibility is some endian-ness issue in ICU.

This is really hard to test as the power platform is basically dying out...
Comment 9 Johannes Geiss 2012-08-10 14:26:36 UTC
I did some debugging and found the following:

If I select the Font-Widget and go back twice (Cursor up), I end up in const ScriptTable *ScriptListTable::findScript(LETag scriptTag) const, where limit = 2066, which is IMHO too high. I set a breakpoint and forced the limit to be = 0 (set limit = 0) the first time and continued. Now I saw the font name which might cause the crash: "Serto Urhov". I don't know where this font comes from or how I can disable/remove it.
Comment 10 Johannes Geiss 2012-09-22 15:20:24 UTC
The problem seems to be the font "misc-goha tibeb zemen" located in "/usr/share/fonts/OTF".
Moving the directory "OTF " out of the way fixes the problem temporarily.

The package containing the font is media-fonts/font-misc-meltho-1.0.3 which is pulled by x11-base/xorg-x11-7.4-r2.
Comment 11 Tomáš Chvátal (RETIRED) gentoo-dev 2013-04-26 19:39:45 UTC
(In reply to comment #10)
> The problem seems to be the font "misc-goha tibeb zemen" located in
> "/usr/share/fonts/OTF".
> Moving the directory "OTF " out of the way fixes the problem temporarily.
> 
> The package containing the font is media-fonts/font-misc-meltho-1.0.3 which
> is pulled by x11-base/xorg-x11-7.4-r2.

Thanks for the investigation. I will try to reproduce it on my side.
Comment 12 Tomáš Chvátal (RETIRED) gentoo-dev 2013-04-26 19:44:45 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > The problem seems to be the font "misc-goha tibeb zemen" located in
> > "/usr/share/fonts/OTF".
> > Moving the directory "OTF " out of the way fixes the problem temporarily.
> > 
> > The package containing the font is media-fonts/font-misc-meltho-1.0.3 which
> > is pulled by x11-base/xorg-x11-7.4-r2.
> 
> Thanks for the investigation. I will try to reproduce it on my side.

Seems fixed in 4.0 on ppc.

Please reopen if you still have the issue with lo-4.0 there :-)

Even strace shows now that the font is properly loaded.