• Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Packages → Packages: Stable
  • Assigned To No-one
  • Operating System
  • Severity Low
  • Priority Medium
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Archlinux32
Opened by Andreas Baumann - 07.11.2017
Last edited by Andreas Baumann - 13.04.2018

FS#6 - [libreoffice-still] 5.3.7-4 crashes when opening a document when Java 8 is enabled

Nov 07 18:19:32 arch32-testing systemd[1]: Started Process Core Dump (PID 643/UID 0).
Nov 07 18:19:35 arch32-testing systemd-coredump[644]: Process 628 (soffice.bin) of user 0 dumped core.

                                                    

Stack trace of thread 628:
#0 0x00000000a5acab05 n/a (libjvm.so)
#1 0x00000000a5acd184 n/a (libjvm.so)
#2 0x00000000a5ad7ec3 n/a (libjvm.so)
#3 0x00000000a5c23f01 n/a (libjvm.so)
#4 0x00000000a58bd391 JNI_CreateJavaVM (libjvm.so)
#5 0x00000000b2251b5a n/a (libjvmfwklo.so)
#6 0x00000000b2262113 _Z11jfw_startVMPK8JavaInfoP12JavaVMOptionlPP7JavaVM_PP7JNIEnv_ (libjvmfwklo.so)
#7 0x00000000a631d94e n/a (libjavavmlo.so)
#8 0x00000000a6330519 n/a (libjavaloaderlo.so)
#9 0x00000000a6331cff n/a (libjavaloaderlo.so)
#10 0x00000000b734ec02 n/a (libuno_cppuhelpergcc3.so.3)
#11 0x00000000b734e8a0 n/a (libuno_cppuhelpergcc3.so.3)
#12 0x00000000b734e995 n/a (libuno_cppuhelpergcc3.so.3)
#13 0x00000000b734a1e7 n/a (libuno_cppuhelpergcc3.so.3)
#14 0x00000000acb27570 n/a (libfwklo.so)
#15 0x00000000acb25d51 n/a (libfwklo.so)
#16 0x00000000acb272f5 n/a (libfwklo.so)
#17 0x00000000acb29e23 n/a (libfwklo.so)
#18 0x00000000acbd4a70 n/a (libfwklo.so)
#19 0x00000000acc6dddb n/a (libfwklo.so)
#20 0x00000000b4c9f8cd _ZN4Menu8ActivateEv (libvcllo.so)
#21 0x00000000b4c9f9db _ZNK4Menu23HandleMenuActivateEventEPS_ (libvcllo.so)
#22 0x00000000af0d5275 n/a (libvclplug_gtk3lo.so)
#23 0x00000000af0d5285 n/a (libvclplug_gtk3lo.so)
#24 0x00000000af0d5419 n/a (libvclplug_gtk3lo.so)
#25 0x00000000b4ca2bef n/a (libvcllo.so)
#26 0x00000000b4cdfd84 _ZN12SystemWindow10SetMenuBarEP7MenuBar (libvcllo.so)
#27 0x00000000acb7cbec n/a (libfwklo.so)
#28 0x00000000b6aa62a8 n/a (libsfxlo.so)
#29 0x00000000b6aa9ea0 n/a (libsfxlo.so)
#30 0x00000000b6d4a2bd n/a (libsfxlo.so)
#31 0x00000000b6d4bdb0 _ZN17SfxBaseController11attachFrameERKN3com3sun4star3uno9ReferenceINS
#32 0x00000000b6d36f6a n/a (libsfxlo.so)
#33 0x00000000acba5754 n/a (libfwklo.so)
#34 0x00000000acba646c n/a (libfwklo.so)
#35 0x00000000acb2e5db n/a (libfwklo.so)
#36 0x00000000acb2f21b n/a (libfwklo.so)
#37 0x00000000b6b04ab9 n/a (libsfxlo.so)
#38 0x00000000b4d1dc4c n/a (libvcllo.so)
#39 0x00000000b5007e5e _ZN17SalGenericDisplay21DispatchInternalEventEv (libvcllo.so)
#40 0x00000000af0933f7 n/a (libvclplug_gtk3lo.so)
#41 0x00000000af09348d n/a (libvclplug_gtk3lo.so)
#42 0x00000000b133faac g_main_context_dispatch (libglib-2.0.so.0)
#43 0x00000000b1341a7a n/a (libglib-2.0.so.0)
#44 0x00000000b1341ac6 g_main_context_iteration (libglib-2.0.so.0)
#45 0x00000000af092969 n/a (libvclplug_gtk3lo.so)
#46 0x00000000b4f4a8d3 _ZN11Application5YieldEv (libvcllo.so)
#47 0x00000000b4f4c9fe _ZN11Application7ExecuteEv (libvcllo.so)
#48 0x00000000b7df4156 n/a (libsofficeapp.so)
#49 0x00000000b4f51aa9 n/a (libvcllo.so)
#50 0x00000000b4f51bef _Z6SVMainv (libvcllo.so)
#51 0x00000000b7e23706 soffice_main (libsofficeapp.so)
#52 0x000000000048e5cf n/a (soffice.bin)
#53 0x00000000b7be1703 __libc_start_main (libc.so.6)
#54 0x000000000048e618 n/a (soffice.bin)

Currently disabling Java Support in the settings helps.

Closed by  Andreas Baumann
13.04.2018 07:41
Reason for closing:  Fixed
Additional comments about closing:  

Disabling the plugins, patching the kernel for such a small feature is not
really an options.

Admin
Andreas Baumann commented on 07.11.2017 17:25

java version is 1.8.0-144.

Admin
Erich Eckner commented on 28.11.2017 10:43

this seems to be still the case for libreoffice-still 5.3.7-6.1 with jre8-openjdk 8.u144-1

Admin
Andreas Baumann commented on 13.04.2018 06:16

Crosslinking here to Fedora:

https://bugzilla.redhat.com/show_bug.cgi?id=1468436

and Debian:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865303#492

Fixes range from:
- adding a "stack_guard_gap=1" kernel parameter
- disable the extensions at build time with –disable-ext-wiki-publisher and –disable-ext-nlpsolver
- just disable the JVM in libreoffice at runtime in the settings
- patching the kernel to allow the JVM to add it's own stack guards (https://salsa.debian.org/kernel-team/linux/blob/master/debian/patches/bugfix/x86/mmap-add-an-exception-to-the-stack-gap-for-hotspot-jvm.patch)

Thanks go to City-busz for bringing in all the links.

Admin
Andreas Baumann commented on 13.04.2018 06:22

Currently building with –disable-ext-wiki-publisher and –disable-ext-nlpsolver.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing