I upgraded my system from debian jessie to stretch. The first problem, after i completed the procedure, was that i couldn't see the GUI(gnome) but only a command prompt. By using an advice in the link below i managed to start the system and see the GUI (gnome). I'm mentioning that in case that is relevant to the problem.
The other major problem that i have, is that libreoffice is crashing. At first i had stable version 188.8.131.52 and since i couldn't work with this version i installed, from backports, the version 184.108.40.206.
The problem that i have can be reproduced in my system by,
1. Opening libreoffice
2. From menu File - New - Text document
3. Libreoffice crashes.
If i'll try to create a new spreadsheet document, libreoffice doesn't crash.
If i try to open a text document that i already have in my disk, libreoffice crashes before opening it. Libreoffice automatically tries to restart but then crashes again and nothing happens.
The only type of document that i can open without problem is calc documents.
Base documents, also crash libreoffice.
I followed an advice that i found in ask.libreoffice.org and deleted the libreoffice-gtk2 file, but that didn't solve any problem.
Linux 4.9.0-3-686-pae #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06) i686 GNU/Linux
For the test, could you rename your LO directory profile and give a new try? (see https://wiki.documentfoundation.org/UserProfile#GNU.2FLinux)
Also, what do you use gtk, gtk3?
I started libreoffice in safe mode and renamed the user profile directory but the behavior of libreoffice is exactly the same.
I don't know what gtk i use. If it is helpful, the command below,
dpkg -l libgtk* | grep -e '^i' | grep -e 'libgtk-*[0-9]'
gives these results,
ii libgtk-3-0:i386 3.22.11-1 i386 GTK+ graphical user interface library
ii libgtk-3-bin 3.22.11-1 i386 programs for the GTK+ graphical user interface library
ii libgtk-3-common 3.22.11-1 all common files for the GTK+ graphical user interface library
ii libgtk2-perl 2:1.2499-1 i386 Perl interface to the 2.x series of the Gimp Toolkit library
ii libgtk2.0-0:i386 2.24.31-2 i386 GTK+ graphical user interface library
ii libgtk2.0-bin 2.24.31-2 i386 programs for the GTK+ graphical user interface library
ii libgtk2.0-cil 2.12.40-2 i386 CLI binding for the GTK+ toolkit 2.12
ii libgtk2.0-common 2.24.31-2 all common files for the GTK+ graphical user interface library
ii libgtk2.0-dev 2.24.31-2 i386 development files for the GTK+ library
Have you installed any specific fonts? if yes could you disable them temporarily for the test?
Also, would it be possible you attach a backtrace? (see https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU.2FLinux:_How_to_get_a_backtrace)
Created attachment 135734 [details]
I'm attaching the backtrace.
I didn't install any additional fonts, except what the debian system automatically installs. How can i disable the fonts?
Thread 1 "soffice.bin" received signal SIGSEGV, Segmentation fault.
0xa31e2f95 in _expand_stack_to(unsigned char*) () from /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/server/libjvm.so
#0 0xa31e2f95 in _expand_stack_to(unsigned char*) () from /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/server/libjvm.so
#1 0xa31e57a4 in os::Linux::manually_expand_stack(JavaThread*, unsigned char*) () from /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/server/libjvm.so
So this is the known kernel bug on i386 affecting Java.
the workaround is to install the original stretch kernel (-2, see snapshot.debian.org) or boot with the security fixes basically disabled.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865303 and friends. Affected jessie, too, though.
This wouldn't have happened if you used 64bit, too.
(In reply to ratrace from comment #0)
> I followed an advice that i found in ask.libreoffice.org and deleted the
> libreoffice-gtk2 file, but that didn't solve any problem.
Same problem when you install Debian 9 in 32 bits.
Removing libreoffice-gtk3 solve the problem.
The workaround that is described in the post below, works for my system.