Discussion:
Bug#870070: Debian 9.1 stretch: LibreOffice Writer crashes at startup
Carmelo C
2017-07-29 12:29:38 UTC
Permalink
Attached...
Carmelo C
2017-07-29 17:14:04 UTC
Permalink
I apologize for mistaken publishing the bug with incorrect "Severity" and
"Tags"

I have installed the following packages from:
deb http://debug.mirrors.debian.org/debian-debug/ stretch-debug main

gdb (7.12-6)
libbabeltrace-ctf1 (1.5.1-1)
libbabeltrace1 (1.5.1-1)
libc6-dbg (2.24-11+deb9u1)
libdw1 (0.168-1)
libreoffice-writer-dbgsym (1:5.2.7-1)
libreoffice-base-core-dbgsym (1:5.2.7-1)
libreoffice-base-dbgsym (1:5.2.7-1)


And I executed the command:

"gdb --args /usr/lib/libreoffice/program/soffice.bin --writer"
"run"
"bt full"
Rene Engelhard
2017-07-29 17:27:40 UTC
Permalink
tag 870070 - moreinfo
reassign 870070 src:linux
forcemerge 865303 870070
thanks

Hi,
Post by Carmelo C
"gdb --args /usr/lib/libreoffice/program/soffice.bin --writer"
"run"
"bt full"
Thread 1 "soffice.bin" received signal SIGSEGV, Segmentation fault.
0xa969df95 in _expand_stack_to(unsigned char*) () from /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/server/libjvm.so
(gdb) bt full
#0 0xa969df95 in _expand_stack_to(unsigned char*) () from /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/server/libjvm.so
No symbol table info available.
#1 0xa96a07a4 in os::Linux::manually_expand_stack(JavaThread*, unsigned char*) ()
from /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/server/libjvm.so
No symbol table info available.
[...]

There we go. It's that bug.

Somewhere in the kernel bugs is the boot command line to disable the security fix
as a workaround. Or install the original stretch (-2) kernel.

Reassigning to the kernel. Next time please check whether a bug already is reported.

You also might want to try running amd64 instead of an architecture already quite dead
in the last decade.

Regards,

Rene
Debian Bug Tracking System
2017-07-29 17:30:18 UTC
Permalink
Post by Rene Engelhard
tag 870070 - moreinfo
Bug #870070 [libreoffice-writer] Debian 9.1 stretch: LibreOffice Writer crashes at startup
Removed tag(s) moreinfo.
Post by Rene Engelhard
reassign 870070 src:linux
Bug #870070 [libreoffice-writer] Debian 9.1 stretch: LibreOffice Writer crashes at startup
Bug reassigned from package 'libreoffice-writer' to 'src:linux'.
No longer marked as found in versions libreoffice/1:5.2.7-1.
Ignoring request to alter fixed versions of bug #870070 to the same values previously set
Post by Rene Engelhard
forcemerge 865303 870070
Bug #865303 [src:linux] libreoffice: Libreoffice Java features crash with Linux 3.16.43-2+deb8u1
Bug #865866 [src:linux] libreoffice-writer crash on startup Debian 9 i386 arch
Bug #869161 [src:linux] libreoffice-base crashes with code 139 when creating a new base or opening an existing one
Bug #869613 [src:linux] libreoffice write crashes (Debian 9)
Bug #869649 [src:linux] Debian 9 i386 - Libreoffice write crash
Bug #870070 [src:linux] Debian 9.1 stretch: LibreOffice Writer crashes at startup
Added indication that 870070 affects libreoffice,libreoffice-writer,libreoffice-base,rustc,security.debian.org,openjdk-8-jre,jsvc
The source linux and version 3.2.89-1 do not appear to match any binary packages
Marked as found in versions linux/4.9.30-2+deb9u1, linux/3.2.89-1, linux/4.11.6-1, linux/3.16.43-2+deb8u1, and linux/4.9.30-2+deb9u2.
Added tag(s) confirmed, moreinfo, unreproducible, and upstream.
Bug #865866 [src:linux] libreoffice-writer crash on startup Debian 9 i386 arch
Bug #869161 [src:linux] libreoffice-base crashes with code 139 when creating a new base or opening an existing one
Bug #869613 [src:linux] libreoffice write crashes (Debian 9)
Bug #869649 [src:linux] Debian 9 i386 - Libreoffice write crash
Merged 865303 865866 869161 869613 869649 870070
Post by Rene Engelhard
thanks
Stopping processing here.

Please contact me if you need assistance.
--
865303: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865303
865866: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865866
869161: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869161
869613: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869613
869649: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869649
870070: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870070
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Carmelo C
2017-07-29 12:19:04 UTC
Permalink
Package: libreoffice-writer
Version: 1:5.2.7-1
Severity: critical
Tags: security
Justification: LibreOffice Writer crashes at startup

OS: Debian GNU/Linux 9.1 (stretch) (debian-9.1.0-i386-netinst.iso)

Other packages:
libreoffice-base 1:5.2.7-1
libreoffice-base-core 1:5.2.7-1
libreoffice-common 1:5.2.7-1
libreoffice-core 1:5.2.7-1

Hi, libreoffice writer does not start, problem persists only in writer,
calc and impress start correctly with exit code 0

I tried to reinstall the libreoffice-writer package from synaptic and
remove the "/home/carmelo/.config/libreoffice" folder but nothing, does not
start

Attached the output of the command:
strace -o libreoffice_writer_output.txt -tt libreoffice --writer
Rene Engelhard
2017-07-29 13:37:36 UTC
Permalink
Hi,
https://lwn.net/Articles/727206/
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865303
and "friends" merged to it.
https://lwn.net/Articles/727703/ (ttbok unforunatel subscriber-only by now.)
Ah, no, it's public now.
Outstanding bugs -- Grave functionality bugs; More information needed (1 bug)
#865303 [G|MRu|=☣] [src:linux] libreoffice: Libreoffice Java features crash with Linux 3.16.43-2+deb8u1
and friends are visible in bugs.debian.org/libreoffice-writer
BTW, if you installed "libreoffice" you _do_ get Java based components
installed which might be initialized at startup in writer (e.g.
-wiki-publisher) or at any other time one of these is needed, thus you maybe
even don't know you use Java features, but still.

Regards,

Rene

benoit-petit-1
2017-07-29 20:20:03 UTC
Permalink
Hi everybody<br>
<br>
I have encountered the same concern on 32bit stretch and this one is solved by an uninstall and a new installation via synapic.<br>
<br>
I noticed, somewhat by chance, that it is the freeoffice-gtk3 package that is problematic.<br>
<br>
Installed, writer does not launch, but uninstalled, with synaptic or command line, writer launches.<br>
It's up to you to play.<br>
<br>
Best regards<br>
<br>
Benoît
Carmelo C
2017-07-30 16:07:15 UTC
Permalink
I tried to reinstall the following packages:

libreoffice-java-common (1:5.2.7-1)
openjdk-8-jre (8u141-b15-1~deb9u1)
openjdk-8-jre-headless (8u141-b15-1~deb9u1)

But nothing, it does not work :-(

I had to disable the "Use a Java Runtime Environment" option to run
LibreOffice Writer

LibreOffice > Preferences > LibreOffice > Advanced, “Use a Java Runtime
Environment”
Rene Engelhard
2017-07-29 13:32:16 UTC
Permalink
Post by Carmelo C
Attached...
Useless, afaics. libreoffice is a shell script which runs an other shell script
(soffice) which runs the real office. You always need -f to strace here.

Anyway, as said in my initial reply: gdb backtrace please:

https://wiki.documentfoundation.org/QA/BugReport/Debug_Information

Regards,

Rene
Loading...