Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #214882 > unrolled thread

Bug#876021: libreoffice-writer: launching writer makes libreoffice crash

Started byJérôme <jerome.bouat@wanadoo.fr>
First post2017-09-17 15:30 +0200
Last post2017-10-13 21:20 +0200
Articles 6 — 3 participants

Back to article view | Back to linux.debian.bugs.rc


Contents

  Bug#876021: libreoffice-writer: launching writer makes libreoffice crash Jérôme <jerome.bouat@wanadoo.fr> - 2017-09-17 15:30 +0200
    Bug#876021: libreoffice-writer: launching writer makes libreoffice crash Rene Engelhard <rene@debian.org> - 2017-09-17 21:10 +0200
    Bug#876021: libreoffice-writer: launching writer makes libreoffice crash Rene Engelhard <rene@debian.org> - 2017-09-24 10:30 +0200
      Bug#876021: libreoffice-writer: launching writer makes libreoffice crash Jérôme Bouat <jerome.bouat@wanadoo.fr> - 2017-09-24 14:30 +0200
        Bug#876021: libreoffice-writer: launching writer makes libreoffice crash Rene Engelhard <rene@debian.org> - 2017-09-24 22:30 +0200
          Bug#876021: libreoffice-writer: launching writer makes libreoffice crash Jérôme Bouat <jerome.bouat@wanadoo.fr> - 2017-10-13 21:20 +0200

#214882 — Bug#876021: libreoffice-writer: launching writer makes libreoffice crash

FromJérôme <jerome.bouat@wanadoo.fr>
Date2017-09-17 15:30 +0200
SubjectBug#876021: libreoffice-writer: launching writer makes libreoffice crash
Message-ID<uqHO1-8uN-1@gated-at.bofh.it>
Package: libreoffice-writer
Version: 1:5.2.7-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,


I tried to launch Libreoffice Writer by the desktop menu entry, nothing
happends. However, I successfully ran Calc, Impress and Draw.

Next, I opened a terminal and launched the "libreoffice" command.
Then only warning error I got was :
---
** (soffice:1099): WARNING **: Error retrieving accessibility bus address:
org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not
provided by any .service files
---
Next the Libreoffice window appeared and I achieved to run Calc, Impress and
Draw. However, if I try to open a new Writer document, then all Libreoffice
window disappear.

The next time I'm running "libreoffice", a window proposes to restore the Calc,
Impress and Draw documents.

I can reproduce this bug always.



-- System Information:
Debian Release: 9.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 4.9.0-3-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libreoffice-writer depends on:
ii  dpkg                   1.18.24
ii  libabw-0.1-1           0.1.1-4
ii  libc6                  2.24-11+deb9u1
ii  libe-book-0.1-1        0.1.2-4
ii  libetonyek-0.1-1       0.1.6-5
ii  libgcc1                1:6.3.0-18
ii  libicu57               57.1-6
ii  libmwaw-0.3-3          0.3.9-2
ii  libodfgen-0.1-1        0.1.6-2
ii  libreoffice-base-core  1:5.2.7-1
ii  libreoffice-core       1:5.2.7-1
ii  librevenge-0.0-0       0.0.4-6
ii  libstdc++6             6.3.0-18
ii  libwpd-0.10-10         0.10.1-5
ii  libwpg-0.3-3           0.3.1-3
ii  libwps-0.4-4           0.4.5-1
ii  libxml2                2.9.4+dfsg1-2.2+deb9u1
ii  uno-libs3              5.2.7-1
ii  ure                    5.2.7-1
ii  zlib1g                 1:1.2.8.dfsg-5

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

Versions of packages libreoffice-writer suggests:
ii  default-jre [java5-runtime]    2:1.8-58
ii  fonts-crosextra-caladea        20130214-1
ii  fonts-crosextra-carlito        20130920-1
ii  libreoffice-base               1:5.2.7-1
pn  libreoffice-gcj                <none>
ii  libreoffice-java-common        1:5.2.7-1
ii  openjdk-8-jre [java5-runtime]  8u141-b15-1~deb9u1

Versions of packages libreoffice-core depends on:
ii  fontconfig                2.11.0-6.7+b1
ii  fonts-opensymbol          2:102.7+LibO5.2.7-1
ii  libboost-date-time1.62.0  1.62.0+dfsg-4
ii  libc6                     2.24-11+deb9u1
ii  libcairo2                 1.14.8-1
ii  libclucene-contribs1v5    2.3.3.4+dfsg-1
ii  libclucene-core1v5        2.3.3.4+dfsg-1
ii  libcmis-0.5-5v5           0.5.1+git20160603-3+b1
ii  libcups2                  2.2.1-8
ii  libcurl3-gnutls           7.52.1-5
ii  libdbus-1-3               1.10.18-1
ii  libdbus-glib-1-2          0.108-2
ii  libdconf1                 0.26.0-2+b1
ii  libeot0                   0.01-4+b1
ii  libexpat1                 2.2.0-2+deb9u1
ii  libexttextcat-2.0-0       3.4.4-2+b1
ii  libfontconfig1            2.11.0-6.7+b1
ii  libfreetype6              2.6.3-3.2
ii  libgcc1                   1:6.3.0-18
ii  libgl1-mesa-glx [libgl1]  13.0.6-1+b2
ii  libglew2.0                2.0.0-3+b1
ii  libglib2.0-0              2.50.3-2
ii  libgltf-0.0-0v5           0.0.2-5
ii  libglu1-mesa [libglu1]    9.0.0-2.1
ii  libgraphite2-3            1.3.10-1
ii  libharfbuzz-icu0          1.4.2-1
ii  libharfbuzz0b             1.4.2-1
ii  libhunspell-1.4-0         1.4.1-2+b2
ii  libhyphen0                2.8.8-5
ii  libice6                   2:1.0.9-2
ii  libicu57                  57.1-6
ii  libjpeg62-turbo           1:1.5.1-2
ii  liblangtag1               0.6.2-1
ii  liblcms2-2                2.8-4
ii  libldap-2.4-2             2.4.44+dfsg-5
ii  libmythes-1.2-0           2:1.2.4-3
ii  libneon27-gnutls          0.30.2-2
ii  libnspr4                  2:4.12-6
ii  libnss3                   2:3.26.2-1.1
ii  libodfgen-0.1-1           0.1.6-2
ii  libpcre3                  2:8.39-3
ii  libpng16-16               1.6.28-1
ii  librdf0                   1.0.17-1.1
ii  libreoffice-common        1:5.2.7-1
ii  librevenge-0.0-0          0.0.4-6
ii  libsm6                    2:1.2.2-1+b3
ii  libstdc++6                6.3.0-18
ii  libx11-6                  2:1.6.4-3
ii  libxext6                  2:1.3.3-1+b2
ii  libxinerama1              2:1.1.3-1+b3
ii  libxml2                   2.9.4+dfsg1-2.2+deb9u1
ii  libxrandr2                2:1.5.1-1
ii  libxrender1               1:0.9.10-1
ii  libxslt1.1                1.1.29-2.1
ii  uno-libs3                 5.2.7-1
ii  ure                       5.2.7-1
ii  zlib1g                    1:1.2.8.dfsg-5

Versions of packages libreoffice-core recommends:
ii  libpaper-utils  1.1.24+nmu5

-- no debconf information

[toc] | [next] | [standalone]


#214898

FromRene Engelhard <rene@debian.org>
Date2017-09-17 21:10 +0200
Message-ID<uqMXn-3gE-11@gated-at.bofh.it>
In reply to#214882
tag 876021 + moreinfo
thanks

Hi,

On Sun, Sep 17, 2017 at 03:19:20PM +0200, Jérôme wrote:
> I tried to launch Libreoffice Writer by the desktop menu entry, nothing
> happends. However, I successfully ran Calc, Impress and Draw.

Aha.

> Next, I opened a terminal and launched the "libreoffice" command.
> Then only warning error I got was :
> ---
> ** (soffice:1099): WARNING **: Error retrieving accessibility bus address:
> org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not
> provided by any .service files
> ---

Shoudln't be related.

> Next the Libreoffice window appeared and I achieved to run Calc, Impress and
> Draw. However, if I try to open a new Writer document, then all Libreoffice
> window disappear.

Do you have libreoffice-wiki-publisher installed? This could be it, LO trying to
instatiate it and as it's Java it's crashing since the kernel security update fixing
Stash Clash...

> -- System Information:
> Debian Release: 9.1
>   APT prefers stable-updates
>   APT policy: (500, 'stable-updates'), (500, 'stable')
> Architecture: i386 (i686)

... only in i386, not on amd64.

See https://lwn.net/Articles/727206/
https://lwn.net/Articles/727703/

See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865303 and "friends".
Somewhere there is also the boot option to disable the security(!) fix
to make Java work again.

To confirm, please send a gb backtrace; see
https://wiki.documentfoundation.org/QA/BugReport/Debug_Information

If this is this bug this is a kernel and/or Java bug, just manifesting in LO.

Regards,

Rene

[toc] | [prev] | [next] | [standalone]


#215338

FromRene Engelhard <rene@debian.org>
Date2017-09-24 10:30 +0200
Message-ID<utasy-6nG-9@gated-at.bofh.it>
In reply to#214882
Hi,

On Sun, Sep 24, 2017 at 10:03:03AM +0200, Jérôme Bouat wrote:
> >Do you have libreoffice-wiki-publisher installed?
> 
> yes I have, version 1.2.0+LibO5.2.7-1

OK, I believe it goes away when you remove it, though, please remove it
only after the required infomation ;)
 
> >To confirm, please send a gb backtrace; see
> >https://wiki.documentfoundation.org/QA/BugReport/Debug_Information
> 
> For each installed package of libreoffice, openjdk and libstdc++, I installed the matching (by name) dbgsym package of the stretch-debug repository.
> 
> Next I reproduced this bug with the following command :
> libreoffice --backtrace
> 
> I attached the log.
> 
> Do you need more information ?

Yes, an actual backtrace...

> Error while reading shared library symbols for /usr/lib/libreoffice/program/../program/libswlo.so:
> Can't read symbols from /usr/lib/debug/.build-id/a8/3ed458e560517bc1b835be230488a4c5b7a0ac.debug: M??moire ??puis??e

So your memory exhausted.... Unsurprisingly for a i386. Which might have a tiny little amount of RAM.

Can you retry without -writer-dbgsym? Or if it doesn't help without -dbgsym at all?

If it's the stack clash kernel/Java bug, what you "should" get is something like:

> Thread 1 "soffice.bin" received signal SIGSEGV, Segmentation fault.
> 0xa72a8975 in _expand_stack_to(unsigned char*) () from /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/server/libjvm.so
> #0  0xa72a8975 in _expand_stack_to(unsigned char*) () at /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/server/libjvm.so
> #1  0xa72ab184 in os::Linux::manually_expand_stack(JavaThread*, unsigned char*) () at /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/server/libjvm.so
> #2  0xa72b56c8 in os::create_main_thread(JavaThread*) () at /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/server/libjvm.so
> #3  0xa73f7ede in Threads::create_vm(JavaVMInitArgs*, bool*) () at /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/server/libjvm.so
> #4  0xa70a4645 in JNI_CreateJavaVM () at /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/server/libjvm.so
> #5  0xb232f9a1 in  () at /usr/lib/libreoffice/program/libjvmfwklo.so
> #6  0xb2341bf4 in jfw_startVM(JavaInfo const*, JavaVMOption*, long, JavaVM_**, JNIEnv_**) () at /usr/lib/libreoffice/program/libjvmfwklo.so

Regards,

Rene

[toc] | [prev] | [next] | [standalone]


#215355

FromJérôme Bouat <jerome.bouat@wanadoo.fr>
Date2017-09-24 14:30 +0200
Message-ID<utecN-do-1@gated-at.bofh.it>
In reply to#215338

[Multipart message — attachments visible in raw view] — view raw

I reproduced this crash by following a slightly different use case.

At first, I saved a few memory (the host has only 256MB RAM).

The NetworkManager service is always disabled on this host.
As root the following command :
systemctl stop rsyslog.service

Next as normal user, I terminated the nm-applet process in order to save memory in the openbox session.

As normal user, the following command :
libreoffice --backtrace

Next I didn't created new Draw, Impress and Calc documents as in previous use case. I directly attempted to launch writer by using the shortcut in left panel for creating a new Writer document.

Libreoffice crashed and I attached the backtrace.

Do you need more information before I remove the libreoffice-wiki-publisher package ?

Regards.

[toc] | [prev] | [next] | [standalone]


#215382

FromRene Engelhard <rene@debian.org>
Date2017-09-24 22:30 +0200
Message-ID<utlHj-4Np-7@gated-at.bofh.it>
In reply to#215355
reassign 876021 src:linux
forcemerge 865303 876021
thanks

Hi,

On Sun, Sep 24, 2017 at 02:24:20PM +0200, Jérôme Bouat wrote:
> As normal user, the following command :
> libreoffice --backtrace
> 
> Next I didn't created new Draw, Impress and Calc documents as in previous use case. I directly attempted to launch writer by using the shortcut in left panel for creating a new Writer document.
> 
> Libreoffice crashed and I attached the backtrace.
> 
> Do you need more information before I remove the libreoffice-wiki-publisher package ?

Nah, ...

[...]
> Thread 1 "soffice.bin" received signal SIGSEGV, Segmentation fault.
> _expand_stack_to (bottom=0xbf805fff <error: Cannot access memory at address 0xbf805fff>, bottom@entry=0xbf805000 <error: Cannot access memory at address 0xbf805000>) at ./src/hotspot/src/os/linux/vm/os_linux.cpp:673
> 673	./src/hotspot/src/os/linux/vm/os_linux.cpp: Aucun fichier ou dossier de ce type.
> #0  _expand_stack_to (bottom=0xbf805fff <error: Cannot access memory at address 0xbf805fff>, bottom@entry=0xbf805000 <error: Cannot access memory at address 0xbf805000>) at ./src/hotspot/src/os/linux/vm/os_linux.cpp:673
> #1  0xa816d7a4 in os::Linux::manually_expand_stack (t=0x1547400, addr=0xbf805000 <error: Cannot access memory at address 0xbf805000>) at ./src/hotspot/src/os/linux/vm/os_linux.cpp:686
> #2  0xa8177ce8 in os::create_attached_thread (thread=0x1547400) at ./src/hotspot/src/os/linux/vm/os_linux.cpp:965
> #3  os::create_main_thread (thread=0x1547400) at ./src/hotspot/src/os/linux/vm/os_linux.cpp:915
> #4  0xa82ba69e in Thread::set_as_starting_thread (this=0x1547400) at ./src/hotspot/src/share/vm/runtime/thread.cpp:988
> #5  Threads::create_vm (args=0xbfffd908, canTryAgain=0xbfffd767) at ./src/hotspot/src/share/vm/runtime/thread.cpp:3405
> #6  0xa7f65f45 in JNI_CreateJavaVM (vm=0xbfffd8a8, penv=0xbfffdb68, args=0xbfffd908) at ./src/hotspot/src/share/vm/prims/jni.cpp:5220
> #7  0xb23389a1 in ?? () from /usr/lib/libreoffice/program/libjvmfwklo.so
> #8  0xb234abf4 in jfw_startVM(JavaInfo const*, JavaVMOption*, long, JavaVM_**, JNIEnv_**) () from /usr/lib/libreoffice/program/libjvmfwklo.so

... that is exactly it.

Wait for Linux and/or the JDK to be fixed. Or use amd64...

Merging with the already existing kernel bugs.

Regards,

Rene

[toc] | [prev] | [next] | [standalone]


#216738

FromJérôme Bouat <jerome.bouat@wanadoo.fr>
Date2017-10-13 21:20 +0200
Message-ID<uAdEZ-7IB-5@gated-at.bofh.it>
In reply to#215382
Hello.

FYI,
I removed the libreoffice-wiki-publisher package. Next I achieved to use Writer. However I experienced a crash when I tried to create a new LO Base file.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.rc


csiph-web