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

Bug#743843: src:mesa: LibreOffice crahes at runtime



Package: src:mesa
Followup-For: Bug #743843

The latest version of LibreOffice seems to depend on OpenGL for
rendering/editing its diagrams. So when one attempts to edit a diagram it
crashes:

$ LIBGL_DEBUG=verbose /usr/lib/libreoffice/program/soffice.bin /tmp/file.ods
Fontconfig error: "/home/winter/.config/fontconfig/fonts.conf", line 25: no element found
Fontconfig error: "~/.fonts.conf", line 25: no element found
libGL error: failed to open drm device: No such file or directory
libGL error: failed to load driver: r600
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrast_dri.so
libGL: driver does not expose __driDriverGetExtensions_swrast(): /usr/lib/i386-linux-gnu/dri/swrast_dri.so: undefined symbol: __driDriverGetExtensions_swrast
libGL: Can't open configuration file /home/winter/.drirc: No such file or directory.
libGL: Can't open configuration file /home/winter/.drirc: No such file or directory.
X-Error: BadRequest (invalid request code or no such operation)
        Major opcode: 154
        Minor opcode: 34
        Resource ID:  0x1a00787
        Serial No:    20543 (20543)
These errors are reported asynchronously,
set environment variable SAL_SYNCHRONIZE to 1 to help debugging
Application Error

Since we do not have hardware acceleration present, LibreOffice tries to fall
back to the software renderer which is not installed. Launching LibreOffice with
the sw-renderer version of libgl fixes the problem:
$ apt-get download libgl1-mesa-swx11; dpkg -x libgl1-mesa-swx11*deb .; LD_PRELOAD=usr/lib/i386-linux-gnu/libGL.so.1.6.0 /usr/lib/libreoffice/program/soffice.bin /tmp/file.ods

However installing the software renderer is in conflict with the glx renderer
and would lead to the removal of a lot of application we intent to keep:
# apt-get install libgl1-mesa-swx11
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  gir1.2-clutter-1.0 gir1.2-clutter-gst-2.0 gir1.2-cogl-1.0
  gir1.2-coglpango-1.0 gir1.2-gtkclutter-1.0 gir1.2-totem-1.0 gnome-sushi
  gstreamer1.0-clutter-3.0 libclutter-1.0-0 libclutter-gst-2.0-0
  libclutter-gst-3.0-0 libclutter-gtk-1.0-0 libcogl-pango20 libcogl-path20
  libcogl20 libgl1-mesa-glx libtotem0 totem totem-plugins
The following NEW packages will be installed:
  libgl1-mesa-swx11
0 upgraded, 1 newly installed, 19 to remove and 215 not upgraded.
Need to get 0 B/1245 kB of archives.
After this operation, 3637 kB disk space will be freed.
Do you want to continue? [Y/n] 

Thus currently it is impossible to have a working LibreOffice application that
can edit diagrams and have totem installed at the same time. Since the initial
cause of this problem seems to be the absent symbol of the software rasterer I
joined this bug report.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (550, 'testing'), (500, 'stable'), (210, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.17.8-64+ (SMP w/32 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)


Reply to: