reassign 877809 src:linux
forcemerge 865303 877809
thanks

On Thu, Oct 05, 2017 at 10:19:18PM +0100, Andrew Rule wrote:
> I recently upgraded to libreoffice 5.4.1-1 i386, and experienced the following
> problem:
> 
> While using
> openjdk-8-jre version 8u144-b01-1 i386
> kernel 4.9.21 i686 built from source

Yes, that kernel didn't have the bug. It doesn't have the Stack Clash
security fix either I think?

> then there is no problem at all, but,
> 
> with either
> kernel 4.9.51 i686 built from source, or
> kernel 4.12.0-2-686-pae Debian 4.12.13-1 i686

Those have.

> then using openjdk-8-jre in LibreOffice Calc works fine, Impress works fine,
> but Writer crashes on load, with exit +139, both on an Intel i3 and an AMD A4.
> If you turn off Java, or use the Free Software Foundation (gcj) it works and
> does not crash.

And you didn't even dare to check the libreoffice-writer bug list?

Outstanding bugs -- Grave functionality bugs; More information needed (1 bug)

#865303 [G|Mu|=☣] [src:linux] libreoffice: Libreoffice Java features crash with 
Linux 3.16.43-2+deb8u1
Outstanding bugs -- Important bugs; Patch Available (2 bugs)

#876051 [i|+|☣] [openjdk-8-jre-headless] i386 applications using JNI may crash 
due to Hotspot workaround for Exec Shield
#876069 [i|+|☣] [openjdk-9-jre-headless] i386 applications using JNI may crash 
due to Hotspot workaround for Exec Shield

directly on the top

You yourself say "libreoffice writer java kernel crash".

The first bug says:

Found in versions linux/4.9.30-2+deb9u1, linux/4.11.6-1, linux/3.2.89-1, 
linux/4.9.30-2+deb9u2, linux/3.16.43-2+deb8u1

and has many "friends" merged with it.

> I have also amd64 architecture on the AMD A4, and have not experienced the
> problem with that architecture.

Yes, that is i386 only.

See also

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

Yes, this is still unfixed, but a kernel/OpenJDK bug. LO just calls
JNI_StartJVM or how it's called. _OpenJDK_ crashes then.

> ii  libreoffice-wiki-publisher          1.2.0+LibO5.4.1-1

You can try removing this, this is just recommended to have a "full"
LO install if one did apt-get install libreoffice. That one's Java
and seems to be initialized on (most) "normal" writer startups, too
-> the Java crash.

Or use a architecture which wasn't already obsolete last decade. As you
say yourself: amd64 works.

Regards,

Rene

Reply via email to