Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 413201 - app-office/libreoffice-3.5.2.2 crashes when opening "style and formating window"
Summary: app-office/libreoffice-3.5.2.2 crashes when opening "style and formating window"
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-23 06:22 UTC by Kai Wüstermann
Modified: 2012-08-01 10:05 UTC (History)
1 user (show)

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


Attachments
full backtrace from style window crash (backtrace-libreoffice-stylewindow-crash.log,20.45 KB, text/plain)
2012-04-26 13:05 UTC, Kai Wüstermann
Details
full backtrace from style window crash with symbols of X11 (full_backtrace_fron_style_windows_crash-X11.log,24.49 KB, text/plain)
2012-05-04 14:12 UTC, Kai Wüstermann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Wüstermann 2012-04-23 06:22:04 UTC
When I open the "style and formating window" libreoffice chrashes. after starting libreoffice again the window is open and I can use it.

This infects writer, calc, impress, draw ...

Reproducible: Always

Steps to Reproduce:
1.Open libreoffice
2.If open, close the formating window
3.Open the formating window



I am using x11-wm/fluxbox-1.3.2
fluxbox -info
Fluxbox Version: 1.3.2-gentoo
Kompiliert am: Apr  3 2012 07:48:10
Compiler: GCC
Compilerversion: 4.5.3

Standardeinstellungen/-Dateien
: 
      menu: /usr/share/fluxbox/menu
     style: /usr/share/fluxbox/styles/Emerge
      keys: /usr/share/fluxbox/keys
      init: /usr/share/fluxbox/init
       nls: /usr/share/fluxbox/nls

Einkompilierte Optionen (- => deaktiviert): 
-BIDI
-DEBUG
EWMH
IMLIB2
NLS
REMEMBER
RENDER
SHAPE
SLIT
TOOLBAR
XFT
-XINERAMA
XMB
XPM



emerge --info libreoffice
Portage 2.1.10.49 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r3, 3.2.12-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.12-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8200_@_2.33GHz-with-gentoo-2.0.3
Timestamp of tree: Sat, 21 Apr 2012 13:15:01 +0000
ccache version 3.1.6 [enabled]
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/ccache:          3.1.6
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.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            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
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE PUEL dlj-1.1 AdobeFlash-10.3 skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/latex2html /usr/share/texmf-site/tex/latex/html"
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/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="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j5"
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=""
SYNC="rsync://rsync1.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cupsddk cxx dbus device-mapper dri dts dvd dvdr dvi emboss encode exif fam ffmpeg firefox flac fortran gdbm gdu gif gimp glitz gnutls gpm gstreamer gtk hddtemp hpijs hunspell iconv ipv6 java jpeg latex lcms libnotify lm_sensors lyx mad midi mmx mng modules mono mp3 mp4 mpeg mtp mudflap multilib nautilus ncurses nls nptl nptlonly nsplugin nvidia odbc ogg opengl openmp pam pango pcre pdf pmu png policykit ppds pppd python qt3support readline scanner sdl session spell sse sse2 ssl startup-notification svg symlink sysfs tcpd theora tiff truetype udev unicode usb vorbis wmf wxwidgets x264 xcb xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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 auth_digest" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

app-office/libreoffice-3.5.2.2 was built with the following:
USE="binfilter branding cups dbus graphite gstreamer gtk java (multilib) nsplugin opengl svg vba webdav xmlsec (-aqua) -eds -gnome -jemalloc -kde -mysql -nlpsolver -odk -pdfimport -postgres -test"
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2012-04-24 16:15:46 UTC
Could you please attach backtrace?

http://www.gentoo.org/proj/en/qa/backtraces.xml

Without that I can't figure out what is wrong. Also I can't reproduce the crash on my machine with both KDE and GTK rendering.
Comment 2 Kai Wüstermann 2012-04-25 11:45:47 UTC
(In reply to comment #1)
> Could you please attach backtrace?
> 
> http://www.gentoo.org/proj/en/qa/backtraces.xml

Here it is:
---------------------------------------------------
gdb  /usr/lib64/libreoffice/program/soffice.bin
GNU gdb (Gentoo 7.3.1 p2) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/lib64/libreoffice/program/soffice.bin...Reading symbols from /usr/lib64/debug/usr/lib64/libreoffice/program/soffice.bin.debug...done.
done.
(gdb) run
Starting program: /usr/lib64/libreoffice/program/soffice.bin 
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffea066700 (LWP 26789)]
[New Thread 0x7fffe3424700 (LWP 26791)]
[New Thread 0x7fffe2c23700 (LWP 26792)]
[Thread 0x7fffe3424700 (LWP 26791) exited]
[New Thread 0x7fffe3424700 (LWP 26793)]
[New Thread 0x7fffdb494700 (LWP 26796)]
[Thread 0x7fffdb494700 (LWP 26796) exited]
[New Thread 0x7fffdb494700 (LWP 26801)]
[New Thread 0x7fffd5552700 (LWP 26802)]
[Thread 0x7fffd5552700 (LWP 26802) exited]
[Thread 0x7fffdb494700 (LWP 26801) exited]
[New Thread 0x7fffdb494700 (LWP 26804)]
The program 'soffice' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 9874 error_code 8 request_code 42 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
[Thread 0x7fffdb494700 (LWP 26804) exited]
[Thread 0x7fffea066700 (LWP 26789) exited]
[Thread 0x7fffe3424700 (LWP 26793) exited]
[Thread 0x7fffe2c23700 (LWP 26792) exited]
[Inferior 1 (process 26785) exited with code 01]
(gdb) quit
---------------------------------------------------------

Is this all? :-o It's so short.

I opened Libreoffice, choosed writer and opened the StyleWindow. That was all.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2012-04-26 12:28:11 UTC
Almost there, you got the basic stepping. but when it crashes you have to run

bt

and

bt full

to obtain short or long trace of the crashing call before you quit gdb.

Also you could try to run the soffice.bin with --sync parameter there to get it more meaningfull as the comment suggest.

gdb --args '/bla/soffice.bin --sync'
Comment 4 Kai Wüstermann 2012-04-26 13:05:45 UTC
Created attachment 310183 [details]
full backtrace from style window crash
Comment 5 Kai Wüstermann 2012-04-26 13:11:20 UTC
(In reply to comment #3)

> gdb --args '/bla/soffice.bin --sync'

gdb --args '/bla/soffice.bin' --sync

With the --sync option he style window appears and is empty and libreoffice freezes.

The attachment is a full backtrace with --sync option.
Comment 6 Francisco Lloret 2012-04-26 14:13:19 UTC
I also have tried to delete .libreoffice directory in ~/home, and then running libreoffice. It continues with segfaults.

But after running libreoffe by command line from this directory, it stops segfaulting!

I don't know what was exactly the problem, but currrently don't segfaults.
Comment 7 Francisco Lloret 2012-04-26 14:15:35 UTC
Sorry, it was another bug ;)
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2012-05-04 10:00:21 UTC
Damn, it crashes somewhere within of Xorg code itself.
And you don't have debug symbols for that area.

Maybe if you have few gigs on your root partition to spare you could consider to completely move to splitdebug setup (for my whole system it is with whole kde and all other crazy stuff 5.2 GB)

scarabeus@arcarius: ~ $ du -hs /usr/lib/debug/
5,2G    /usr/lib/debug/

You just need to set up in your make.conf
FEATURES="splitdebug"
CFLAGS="... -g"
CXXFLAGS="... -g"

and start rebuilding packages.

For starters I would recompile all the ones from x11-lib/ and x11-base/
You can get list for the installed packages by running something like this:

emerge -1v $(qlist -IC x11-libs/ |tr '\n' ' ')
Comment 9 Tomáš Chvátal (RETIRED) gentoo-dev 2012-05-04 10:07:50 UTC
Oh and so I forgot, you also need glibc with splidebug build to get anything meaningfull.
Comment 10 Kai Wüstermann 2012-05-04 14:12:03 UTC
Created attachment 310789 [details]
full backtrace from style window crash with symbols of X11
Comment 11 Kai Wüstermann 2012-05-04 14:15:25 UTC
(In reply to comment #8)

> You just need to set up in your make.conf
> FEATURES="splitdebug"
> CFLAGS="... -g"
> CXXFLAGS="... -g"
> 
> and start rebuilding packages.
> 
> For starters I would recompile all the ones from x11-lib/ and x11-base/
> You can get list for the installed packages by running something like this:
> 
> emerge -1v $(qlist -IC x11-libs/ |tr '\n' ' ')

I did this and also
emerge -1v $(qlist -IC x11-base/ |tr '\n' ' ')

The new backtrace is attached.
Comment 12 Tomáš Chvátal (RETIRED) gentoo-dev 2012-05-04 15:27:09 UTC
Thanks, I will try to figure it out (but i am quite sucky engeneer so i will also have to ask other lo devs :P)
Comment 13 Kai Wüstermann 2012-08-01 10:05:11 UTC
In app-office/libreoffice-3.5.5.3 the problem is solved.