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

Bug#869649: Debian 9 i386 - Libreoffice write crash



reassign 869649 src:linux
severity 869649 grave
forcemerge 865303 869649
thanks

Hi,

On Wed, Jul 26, 2017 at 10:19:35AM +0000, Alessandro Chiominto wrote:
>    >> Works for me in stable (see below) and I *do* have gnome installed.
>    The issue is SPECIFIC of the «superobsolete» i386 architecture ;-) , AMD64

Yes. It is.

>    it's fine. You could test it with a virtual machine.

Actually I can't since it somewhow fails to install into a libvirt-based VM
when I try...

>    >> And then a crash or does it fail to start?
>    Libreoffice starts and, when you invoke Writer, crashes.
>    If you remove the package libreoffice-gnome, the problem goes away.

That is interesting, but just hides the real problem and gets people confused
thinking this crash has to do with GNOME/Gtk3'ish things. Which isn't the
case (see below)

>    >>Can you send a strace and a gdb bt?
>    Yes, see attachments.

OK.

So the Gtk warnings etc are just a red herring and the actual issue is *tadaa*
*drums* .. the known i386 Stack Clash regression on i386.

Thread 1 "soffice.bin" received signal SIGSEGV, Segmentation fault.
0xa931cf95 in _expand_stack_to(unsigned char*) () from /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/server/libjvm.so
#0  0xa931cf95 in _expand_stack_to(unsigned char*) () from /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/server/libjvm.so
#1  0xa931f7a4 in os::Linux::manually_expand_stack(JavaThread*, unsigned char*) () from /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/server/libjvm.so
#2  0xa9329ce8 in os::create_main_thread(JavaThread*) () from /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/server/libjvm.so
#3  0xa946c69e in Threads::create_vm(JavaVMInitArgs*, bool*) () from /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/server/libjvm.so
#4  0xa9117f45 in JNI_CreateJavaVM () from /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/server/libjvm.so
#5  0xb22c49a1 in ?? () from /usr/lib/libreoffice/program/libjvmfwklo.so
#6  0xb22d6bf4 in jfw_startVM(JavaInfo const*, JavaVMOption*, long, JavaVM_**, JNIEnv_**) () from /usr/lib/libreoffice/program/libjvmfwklo.so

And thus:

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.)

You wouldn't have this problem if you used amd64...

>    >>Sigh, and again someone using a architecture which was already obsoolete
>    in the last decade...
>    Debian, the universal operating system, exists also for this reason...

This does not mean "support obsolete stuff for infinity". Or do we still have m68k or powerpc
as release arch?

Regards,

Rene


Reply to: