Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381327 - app-office/libreoffice-3.4.2.3 crashes when using the font dropdown
Summary: app-office/libreoffice-3.4.2.3 crashes when using the font dropdown
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-31 16:51 UTC by Alec Meyers
Modified: 2013-01-07 22:53 UTC (History)
4 users (show)

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


Attachments
soffice.bin backtrace (libreoffice-bt.txt,11.47 KB, text/plain)
2011-09-03 20:23 UTC, Alec Meyers
Details
icu-4.8.1.patch (icu-4.8.1-fix_binformat_fonts.patch,673 bytes, text/plain)
2011-09-05 16:50 UTC, Tomáš Chvátal (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Meyers 2011-08-31 16:51:24 UTC
The crash happens on a fully up-to-date ~amd64 system.

(My guess is that it might have with USE=graphite, but I don't really want to recompile since 3.4.3 came out today.)

Reproducible: Always

Steps to Reproduce:
1. Start LibreOffice Writer
2. Click the font dropdown
3. Scroll down
Actual Results:  
LibreOffice crashes


Portage 2.2.0_alpha51 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.0.4 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.4-x86_64-Intel-R-_Core-TM-_i7_CPU_M_620_@_2.67GHz-with-gentoo-2.0.3
Timestamp of tree: Wed, 31 Aug 2011 14:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r2, 3.2-r2
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1, 4.6.1-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo local
Installed sets: @kde4, @texlive, @xfce4
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fno-ident -floop-interchange -floop-strip-mine -floop-block -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/tomoyo/conf /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 -march=native -pipe -fno-ident -floop-interchange -floop-strip-mine -floop-block -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildsyspkg distlocks ebuild-locks fixlafiles fixpackages news preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.rit.edu/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="gzip"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/tree/official"
PORTDIR_OVERLAY="/usr/portage/tree/local"
SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aio alsa amd64 apng audiofile avi bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr chm cli cracklib crypt css cups curl custom-optimization cxx dbus dell dirac dri dts dvd dvdr emboss encode exif expat ffmpeg fftw firefox flac foomaticdb ftp gallium gdu gif git gles gmp gpm gtk iconv imagemagick imlib inotify java5 java6 jpeg kde kdehiddenvisibility kvm laptop latex lcms libnotify logrotate lqr lzma lzo mad mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap multilib musepack ncurses nptl nptlonly nsplugin nvidia ogg opengl openmp openssl pam pango pch pcre pdf perl pgo png ppds pppd python qt qt3support qt4 quicktime rar readline resolvconf rtmp samba schroedinger sdl session sndfile speex spell sqlite sqlite3 srt sse sse2 sse3 sse4 ssl ssse3 startup-notification subversion svg sysfs systemd tcpd theora threads tiff tokyocabinet truetype udev unicode usb v4l v4l2 vaapi vcd videos vim-syntax vorbis vpx webkit webp wifi wmf x264 xcb xcomposite xft xorg xscreensaver xulrunner xv xvid xvmc xz zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel i965" XFCE_PLUGINS="clock logout menu" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS

=================================================================
                        Package Settings
=================================================================

app-office/libreoffice-3.4.2.3 was built with the following:
USE="branding cups dbus graphite gtk kde (multilib) opengl python templates vba (-aqua) -binfilter -custom-cflags -debug -eds -gnome -gstreamer -java (-kdeenablefinal) -ldap -mysql -nsplugin -odk -offlinehelp -test -webdav" LINGUAS="en -af -ar -as -ast -be -bg -bn -bo -br -brx -bs -ca -ca_XV -cs -cy -da -de -dgo -dz -el -en_GB -en_ZA -eo -es -et -eu -fa -fi -fr -ga -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -kok -ks -ku -lo -lt -lv -mai -mk -ml -mn -mni -mr -my -nb -ne -nl -nn -nr -nso -oc -or -pa_IN -pl -pt -pt_BR -ro -ru -rw -sat -sd (-sh) -sk -sl -sq -sr -ss -st -sv -sw_TZ -ta -te -tg -th -tn -tr -ts -ug -uk -uz -ve -vi -xh -zh_CN -zh_TW -zu"
CFLAGS="-march=native -pipe -fno-ident"
CXXFLAGS="-march=native -pipe -fno-ident"
Comment 1 David Kredba 2011-08-31 18:33:07 UTC
Works for me perfectly with LibreOffice 3.4.3 OOO340m1 (Build:302) built today.

[ebuild   R   #] app-office/libreoffice-3.4.3.2  USE="binfilter branding cups dbus graphite gstreamer gtk java kde ldap mysql odk offlinehelp opengl python templates test vba webdav (-aqua) -bash-completion -custom-cflags -debug -eds -gnome (-kdeenablefinal) -nsplugin" LINGUAS="cs en -af -ar -as -ast -be -bg -bn -bo -br -brx -bs -ca -ca_XV -cy -da -de -dgo -dz -el -en_GB -en_ZA -eo -es -et -eu -fa -fi -fr -ga -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -kok -ks -ku -lo -lt -lv -mai -mk -ml -mn -mni -mr -my -nb -ne -nl -nn -nr -nso -oc -or -pa_IN -pl -pt -pt_BR -ro -ru -rw -sat -sd -sh -sk -sl -sq -sr -ss -st -sv -sw_TZ -ta -te -tg -th -tn -tr -ts -ug -uk -uz -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB

sys-devel/gcc-4.6.1-r1  USE="fortran gcj go graphite gtk mudflap (multilib) nls nptl objc objc++ objc-gc openmp (-altivec) -bootstrap -build -doc (-fixed-point) (-hardened) (-libffi) -multislot -nocxx -nopie -nossp -test -vanilla" 0 kB

Maybe fixed in this version.
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2011-09-02 12:37:18 UTC
Works for me too, with graphite useflag. Could you report if it works with 3.4.3.2?
Comment 3 Bartosz Brachaczek 2011-09-02 14:30:55 UTC
I can confirm on ~amd64 with USE="kde -graphite" on 3.4.2.3 (3.4.3.2 doesn't compile for me). It looks like it happens when one has installed fonts that are pulled in by x11-base/xorg-x11 (I needed to do a reboot after installing those fonts to be able to reproduce).
Comment 4 Alec Meyers 2011-09-03 14:41:22 UTC
Updated libreoffice to 3.4.3.2, but it crashes too (same configuration as above)

Bartosz, could you elaborate, please?
Comment 5 Bartosz Brachaczek 2011-09-03 18:49:03 UTC
(In reply to comment #4)
> Bartosz, could you elaborate, please?

If I have x11-base/xorg-x11 and it dependencies installed, it crashes for me.
If I unmerge them, it doesn't crash.
Conclusion: The crash is only reproducible with certain fonts, specifically by those pulled in by x11-base/xorg-x11, possibly amongst others.

Nothing more that I know about it. Also please note that so far all reporters have amd64 and USE=kde.
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2011-09-03 19:44:49 UTC
Could you try to generate backtrace for the crash?

I will try to reproduce it tomorow, but anyway if you could do so it would be awesome.
Comment 7 Alec Meyers 2011-09-03 20:23:10 UTC
Created attachment 285459 [details]
soffice.bin backtrace

Here's the backtrace for /usr/lib64/libreoffice/program/soffice.bin

Looks like it's related to icu.
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2011-09-05 16:50:19 UTC
Created attachment 285661 [details]
icu-4.8.1.patch

Patch fixing the mentioned issue. Applied to icu-4.8.1-r1.ebuild.
Comment 9 Tomáš Chvátal (RETIRED) gentoo-dev 2011-09-05 17:04:14 UTC
Dependency in libreoffice bumped to always require the icu-4.8.1-r1 -> fixed.

Once again thanks for reporting this issue.
Comment 10 Nikoli 2011-09-05 21:18:43 UTC
Why you removed icu-4.6.1.ebuild and keep icu-4.6.ebuild?