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

Bug#819153: libreoffice: LibreOffice crashes when trying to edit diagrams: "does not expose __driDriverGetExtensions_swrast()"



Package: libreoffice
Version: 1:5.1.1-1
Severity: important

The bug also appears on version 5.1.2~rc1-1 of debian unstable.
I initially reported my bug as an extension of an already present bug against
src:mesa but was asked to open a new one specifically for LibreOffice:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743843

I will therefore just shamelessly copy own report:

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)

Versions of packages libreoffice depends on:
ii  fonts-dejavu                     2.35-1
ii  fonts-sil-gentium-basic          1.1-7
ii  libreoffice-avmedia-backend-vlc  1:5.1.1-1
ii  libreoffice-base                 1:5.1.1-1
ii  libreoffice-calc                 1:5.1.1-1
ii  libreoffice-core                 1:5.1.1-1
ii  libreoffice-draw                 1:5.1.1-1
ii  libreoffice-impress              1:5.1.1-1
ii  libreoffice-java-common          1:5.1.1-1
ii  libreoffice-math                 1:5.1.1-1
ii  libreoffice-report-builder-bin   1:5.1.1-1
ii  libreoffice-writer               1:5.1.1-1
ii  python3-uno                      1:5.1.1-1

Versions of packages libreoffice recommends:
ii  fonts-liberation  1.07.4-1
ii  libpaper-utils    1.1.24+nmu4

Versions of packages libreoffice suggests:
pn  cups-bsd                                            <none>
ii  default-jre [java5-runtime]                         2:1.7-52.1
pn  gstreamer1.0-libav                                  <none>
ii  gstreamer1.0-plugins-bad                            1.6.3-1+b2
ii  gstreamer1.0-plugins-base                           1.6.3-1
ii  gstreamer1.0-plugins-good                           1.6.3-1
pn  gstreamer1.0-plugins-ugly                           <none>
ii  hunspell-en-us [hunspell-dictionary]                20070829-6
ii  hyphen-de [hyphen-hyphenation-patterns]             1:5.1.1-1
ii  icedove                                             38.6.0-1
ii  iceweasel                                           38.7.0esr-1~deb8u1bfw1
ii  imagemagick                                         8:6.8.9.9-7+b1
ii  libgl1-mesa-glx [libgl1]                            11.1.2-1
pn  libreoffice-gnome | libreoffice-kde                 <none>
pn  libreoffice-grammarcheck                            <none>
ii  libreoffice-help-de [libreoffice-help-5.1]          1:5.1.1-1
ii  libreoffice-l10n-de [libreoffice-l10n-5.1]          1:5.1.1-1
pn  libreoffice-officebean                              <none>
ii  libsane                                             1.0.23-3+b1bfw1
ii  libxrender1                                         1:0.9.9-2
ii  myspell-de-de [myspell-dictionary]                  20151222-2
ii  mythes-de [mythes-thesaurus]                        20120516-2
pn  openclipart2-libreoffice | openclipart-libreoffice  <none>
ii  openjdk-6-jre [java5-runtime]                       6b35-1.13.7-1
ii  openjdk-7-jre [java5-runtime]                       7u91-2.6.3-1
ii  pstoedit                                            3.70-1
pn  unixodbc                                            <none>

Versions of packages libreoffice-core depends on:
ii  fontconfig                2.11.0-6.3
ii  fonts-opensymbol          2:102.7+LibO5.1.1-1
ii  libboost-date-time1.58.0  1.58.0+dfsg-5+b1
ii  libc6                     2.21-9bfw1
ii  libcairo2                 1.14.6-1
ii  libclucene-contribs1v5    2.3.3.4-4.1
ii  libclucene-core1v5        2.3.3.4-4.1
ii  libcmis-0.5-5v5           0.5.1-2
ii  libcups2                  2.1.3-3
ii  libcurl3-gnutls           7.47.0-1
ii  libdbus-1-3               1.10.6-1bfw1
ii  libdbus-glib-1-2          0.106-1
ii  libdconf1                 0.24.0-2
ii  libeot0                   0.01-3
ii  libexpat1                 2.1.0-7
ii  libexttextcat-2.0-0       3.4.4-1
ii  libfontconfig1            2.11.0-6.3
ii  libfreetype6              2.6.3-3
ii  libgcc1                   1:5.3.1-11bfw1
ii  libgl1-mesa-glx [libgl1]  11.1.2-1
ii  libglew1.13               1.13.0-2
ii  libglib2.0-0              2.46.2-3
ii  libgltf-0.0-0v5           0.0.2-4+b1
ii  libglu1-mesa [libglu1]    9.0.0-2.1
ii  libgraphite2-3            1.3.6-1
ii  libharfbuzz-icu0          1.0.1-1+b1
ii  libharfbuzz0b             1.0.1-1+b1
ii  libhunspell-1.3-0         1.3.3-4
ii  libhyphen0                2.8.8-2
ii  libice6                   2:1.0.9-1+b1
ii  libicu55                  55.1-7
ii  libjpeg62-turbo           1:1.4.2-2
ii  liblangtag1               0.5.7-2
ii  liblcms2-2                2.6-3+b3
ii  libldap-2.4-2             2.4.42+dfsg-2+b2
ii  libmythes-1.2-0           2:1.2.4-1
ii  libneon27-gnutls          0.30.1-3
ii  libnspr4                  2:4.12-1
ii  libnspr4-0d               2:4.12-1
ii  libnss3                   2:3.23-1
ii  libnss3-1d                2:3.23-1
ii  libodfgen-0.1-1           0.1.6-1
ii  libpcre3                  2:8.38-3
ii  libpng12-0                1.2.54-4
ii  librdf0                   1.0.17-1+b1
ii  libreoffice-common        1:5.1.1-1
ii  librevenge-0.0-0          0.0.4-4
ii  libsm6                    2:1.2.2-1+b1
ii  libssl1.0.2               1.0.2g-1
ii  libstdc++6                5.3.1-11bfw1
ii  libx11-6                  2:1.6.3-1
ii  libxext6                  2:1.3.3-1
ii  libxinerama1              2:1.1.3-1+b1
ii  libxml2                   2.9.3+dfsg1-1
ii  libxrandr2                2:1.5.0-1
ii  libxrender1               1:0.9.9-2
ii  libxslt1.1                1.1.28-2.1
ii  uno-libs3                 5.1.1-1
ii  ure                       5.1.1-1
ii  zlib1g                    1:1.2.8.dfsg-2+b1

Versions of packages libreoffice-writer depends on:
ii  libabw-0.1-1           0.1.1-2
ii  libc6                  2.21-9bfw1
ii  libe-book-0.1-1        0.1.2-2+b1
ii  libetonyek-0.1-1       0.1.6-1
ii  libgcc1                1:5.3.1-11bfw1
ii  libicu55               55.1-7
ii  libmwaw-0.3-3          0.3.7-1
ii  libodfgen-0.1-1        0.1.6-1
ii  libreoffice-base-core  1:5.1.1-1
ii  libreoffice-core       1:5.1.1-1
ii  librevenge-0.0-0       0.0.4-4
ii  libstdc++6             5.3.1-11bfw1
ii  libwpd-0.10-10         0.10.1-1
ii  libwpg-0.3-3           0.3.1-1
ii  libwps-0.4-4           0.4.3-1
ii  libxml2                2.9.3+dfsg1-1
ii  uno-libs3              5.1.1-1
ii  ure                    5.1.1-1
ii  zlib1g                 1:1.2.8.dfsg-2+b1

Versions of packages libreoffice-writer recommends:
ii  libreoffice-math  1:5.1.1-1

Versions of packages libreoffice-writer suggests:
ii  default-jre [java5-runtime]    2:1.7-52.1
pn  fonts-crosextra-caladea        <none>
pn  fonts-crosextra-carlito        <none>
ii  libreoffice-base               1:5.1.1-1
pn  libreoffice-gcj                <none>
ii  libreoffice-java-common        1:5.1.1-1
ii  openjdk-6-jre [java5-runtime]  6b35-1.13.7-1
ii  openjdk-7-jre [java5-runtime]  7u91-2.6.3-1

Versions of packages libreoffice-calc depends on:
ii  coinor-libcbc3            2.8.12-1+b1
ii  coinor-libcoinmp1v5       1.7.6+dfsg1-2
ii  libboost-iostreams1.58.0  1.58.0+dfsg-5+b1
ii  libc6                     2.21-9bfw1
ii  libetonyek-0.1-1          0.1.6-1
ii  libgcc1                   1:5.3.1-11bfw1
ii  libicu55                  55.1-7
ii  liblcms2-2                2.6-3+b3
ii  libmwaw-0.3-3             0.3.7-1
ii  libodfgen-0.1-1           0.1.6-1
ii  liborcus-0.10-0v5         0.9.2-4
ii  libreoffice-base-core     1:5.1.1-1
ii  libreoffice-core          1:5.1.1-1
ii  librevenge-0.0-0          0.0.4-4
ii  libstdc++6                5.3.1-11bfw1
ii  libwps-0.4-4              0.4.3-1
ii  libxml2                   2.9.3+dfsg1-1
ii  lp-solve                  5.5.0.13-7+b2
ii  uno-libs3                 5.1.1-1
ii  ure                       5.1.1-1
ii  zlib1g                    1:1.2.8.dfsg-2+b1

Versions of packages libreoffice-calc suggests:
pn  ocl-icd-libopencl1  <none>

Versions of packages libreoffice-base depends on:
ii  libc6                     2.21-9bfw1
ii  libgcc1                   1:5.3.1-11bfw1
ii  libreoffice-base-core     1:5.1.1-1
ii  libreoffice-base-drivers  1:5.1.1-1
ii  libreoffice-core          1:5.1.1-1
ii  libstdc++6                5.3.1-11bfw1
ii  uno-libs3                 5.1.1-1
ii  ure                       5.1.1-1

Versions of packages libreoffice-base recommends:
ii  default-jre [java5-runtime]    2:1.7-52.1
ii  libreoffice-java-common        1:5.1.1-1
ii  libreoffice-writer             1:5.1.1-1
ii  openjdk-6-jre [java5-runtime]  6b35-1.13.7-1
ii  openjdk-7-jre [java5-runtime]  7u91-2.6.3-1

Versions of packages libreoffice-base suggests:
pn  libreoffice-gcj             <none>
pn  libreoffice-report-builder  <none>
pn  unixodbc                    <none>

Versions of packages libreoffice-draw depends on:
ii  libavahi-client3    0.6.32~rc+dfsg-1
ii  libavahi-common3    0.6.32~rc+dfsg-1
ii  libc6               2.21-9bfw1
ii  libcdr-0.1-1        0.1.2-2
ii  libdbus-1-3         1.10.6-1bfw1
ii  libdbus-glib-1-2    0.106-1
ii  libfreehand-0.1-1   0.1.1-1
ii  libgcc1             1:5.3.1-11bfw1
ii  libglib2.0-0        2.46.2-3
ii  libicu55            55.1-7
ii  liblcms2-2          2.6-3+b3
ii  libmspub-0.1-1      0.1.2-2+b1
ii  libmwaw-0.3-3       0.3.7-1
ii  libodfgen-0.1-1     0.1.6-1
ii  libpagemaker-0.0-0  0.0.2-2
ii  libreoffice-core    1:5.1.1-1
ii  librevenge-0.0-0    0.0.4-4
ii  libstdc++6          5.3.1-11bfw1
ii  libvisio-0.1-1      0.1.5-1
ii  libwpd-0.10-10      0.10.1-1
ii  libwpg-0.3-3        0.3.1-1
ii  libxml2             2.9.3+dfsg1-1
ii  uno-libs3           5.1.1-1
ii  ure                 5.1.1-1
ii  zlib1g              1:1.2.8.dfsg-2+b1

Versions of packages libreoffice-impress depends on:
ii  libc6                     2.21-9bfw1
ii  libetonyek-0.1-1          0.1.6-1
ii  libgcc1                   1:5.3.1-11bfw1
ii  libgl1-mesa-glx [libgl1]  11.1.2-1
ii  libglew1.13               1.13.0-2
ii  libglu1-mesa [libglu1]    9.0.0-2.1
ii  libmwaw-0.3-3             0.3.7-1
ii  libodfgen-0.1-1           0.1.6-1
ii  libreoffice-core          1:5.1.1-1
ii  libreoffice-draw          1:5.1.1-1
ii  librevenge-0.0-0          0.0.4-4
ii  libstdc++6                5.3.1-11bfw1
ii  libxml2                   2.9.3+dfsg1-1
ii  uno-libs3                 5.1.1-1
ii  ure                       5.1.1-1
ii  zlib1g                    1:1.2.8.dfsg-2+b1

Versions of packages libreoffice-impress recommends:
ii  libreoffice-avmedia-backend-vlc  1:5.1.1-1

Versions of packages libreoffice-impress suggests:
ii  bluez  5.36-1

Versions of packages libreoffice-math depends on:
ii  fonts-opensymbol  2:102.7+LibO5.1.1-1
ii  libc6             2.21-9bfw1
ii  libgcc1           1:5.3.1-11bfw1
ii  libreoffice-core  1:5.1.1-1
ii  libstdc++6        5.3.1-11bfw1
ii  uno-libs3         5.1.1-1
ii  ure               5.1.1-1

-- no debconf information


Reply to: