LibreOffice crashes when opening documents
- /e/ version: 0.19 R
- Device model(s): a5y17lte
- Device rooted: yes/no
Summary
When trying to open a document (all kind of Office Documents xlsx, docx, ods, odt, ...) with LibreOffice, LibreOffice is crashing.
The problem
- Open file browser
- Selecte the document that you want to open
- LibreOffice is started but crashes before the document can be shown.
What is the expected correct behavior?
Open documents without a crash of LibreOffice.
Technical informations
Relevant logs (adb logcat
)
11-04 20:44:54.817 2964 2978 I ActivityTaskManager: START u0 {act=android.intent.action.VIEW dat=content://com.android.externalstorage.documents/document/primary:ecloud/Documents/Kettlebell_plan_01.ods typ=application/vnd.oasis.opendocument.spreadsheet flg=0x20000003 cmp=org.documentfoundation.libreoffice/org.libreoffice.LibreOfficeMainActivity} from uid 10094
11-04 20:44:54.834 2964 2984 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 10112; state: DISABLED
11-04 20:44:54.834 2964 2991 D CompatibilityChangeReporter: Compat change id reported: 143937733; UID 10112; state: DISABLED
11-04 20:44:54.845 2734 2734 D Zygote : Forked child process 10039
11-04 20:44:54.849 2964 2991 I ActivityManager: Start proc 10039:org.documentfoundation.libreoffice/u0a112 for pre-top-activity {org.documentfoundation.libreoffice/org.libreoffice.LibreOfficeMainActivity}
11-04 20:44:54.875 3763 3770 I adbd : jdwp connection from 10039
11-04 20:44:54.895 2964 2978 W OomAdjuster: Fallback pre-set sched group to default: not expected top priority
11-04 20:44:54.909 2636 2636 W auditd : type=1325 audit(0.0:175): table=filter family=2 entries=151
11-04 20:44:54.909 2636 2636 W auditd : type=1320 audit(0.0:175):
11-04 20:44:54.937 10039 10039 D ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.test.base.jar
11-04 20:44:54.938 10039 10039 D ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.hidl.base-V1.0-java.jar
11-04 20:44:54.938 10039 10039 D ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.hidl.manager-V1.0-java.jar
11-04 20:44:54.938 10039 10039 D ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.hidl.base-V1.0-java.jar
11-04 20:44:54.944 10039 10039 I ion.libreoffic: The ClassLoaderContext is a special shared library.
11-04 20:44:54.973 10039 10039 D NetworkSecurityConfig: No Network Security Config specified, using platform default
11-04 20:44:54.975 10039 10039 D NetworkSecurityConfig: No Network Security Config specified, using platform default
11-04 20:44:55.060 10039 10039 W LibreOfficeMainActivity: onCreate..
11-04 20:44:55.131 10039 10039 I AppCompatViewInflater: app:theme is now deprecated. Please move to using android:theme instead.
11-04 20:44:55.229 0 0 I : [0: kworker/u16:1: 50] etspi_work_func_debug ldo: 0, sleep: 0, tz: 1, type: egis
11-04 20:44:55.264 0 0 E [0: VosMCThread: 3104] wlan: [3104:E :PE ] limProcessActionFrame: 2229: Spectrum mgmt action id 2 not handled
11-04 20:44:55.173 10039 10039 I chatty : uid=10112(org.documentfoundation.libreoffice) identical 1 line
11-04 20:44:55.243 10039 10039 I AppCompatViewInflater: app:theme is now deprecated. Please move to using android:theme instead.
11-04 20:44:55.329 2780 6610 E BufferQueueProducer: [com.android.documentsui/com.android.documentsui.files.FilesActivity#0](id:adc0000000c,api:0,p:-1,c:2780) disconnect: not connected (req=1)
11-04 20:44:55.329 9911 9939 W libEGL : EGLNativeWindowType 0x7ad60984c0 disconnect failed
11-04 20:44:55.459 10039 10039 I GeckoAxis: Prefs: 0.96174634,0.99271643,2.4,0.012,0.461843,0.3,0.5
11-04 20:44:55.470 10039 10039 E org.mozilla.gecko.gfx.LayerView: ### Creating GL thread!
11-04 20:44:55.498 10039 10039 E LibreOfficeMainActivity: Success copying 21763 bytes
11-04 20:44:55.500 10039 10039 D LibreOfficeMainActivity: SCHEME_CONTENT: getPath(): /document/primary:ecloud/Documents/Kettlebell_plan_01.ods
11-04 20:44:55.506 10039 10039 D CompatibilityChangeReporter: Compat change id reported: 147798919; UID 10112; state: DISABLED
11-04 20:44:55.528 10039 10039 I LibreOfficeMainActivity: onStart..
11-04 20:44:55.532 10039 10067 I lo-bootstrap: putenv(SAL_LOG=+WARN+INFO)
11-04 20:44:55.533 10039 10039 I LibreOfficeMainActivity: onResume..
11-04 20:44:55.534 10039 10067 I LibreOfficeKit: Initializing LibreOfficeKit, dataDir=/data/user/0/org.documentfoundation.libreoffice
11-04 20:44:55.535 10039 10067 I lo-bootstrap: redirect_stdio: stdout pipe: [53,54], stderr pipe: [57,58]
11-04 20:44:55.536 10039 10067 I lo-bootstrap: putenv(OOO_DISABLE_RECOVERY=1)
11-04 20:44:55.537 10039 10067 I lo-bootstrap: putenv(FONTCONFIG_FILE=/data/user/0/org.documentfoundation.libreoffice/etc/fonts/fonts.conf)
11-04 20:44:55.537 10039 10067 I lo-bootstrap: putenv(TMPDIR=/data/user/0/org.documentfoundation.libreoffice/cache)
11-04 20:44:55.601 10039 10039 E RecyclerView: No adapter attached; skipping layout
11-04 20:44:55.601 10039 10039 E RecyclerView: No adapter attached; skipping layout
11-04 20:44:55.607 2780 6610 W ServiceManager: Permission failure: android.permission.ACCESS_SURFACE_FLINGER from uid=10112 pid=10039
11-04 20:44:55.607 2780 6610 D PermissionCache: checking android.permission.ACCESS_SURFACE_FLINGER for uid=10112 => denied (485 us)
11-04 20:44:55.634 10039 10068 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000, [1080x1680]-format:4
11-04 20:44:55.648 10039 10062 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000, [1080x1920]-format:1
11-04 20:44:55.662 2624 2624 I hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.mapper@4.0::IMapper/default in either framework or device manifest.
11-04 20:44:55.663 10039 10062 I Gralloc4: mapper 4.x is not supported
11-04 20:44:55.664 2624 2624 I hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.mapper@3.0::IMapper/default in either framework or device manifest.
11-04 20:44:55.664 10039 10062 W Gralloc3: mapper 3.x is not supported
11-04 20:44:55.664 0 0 W [1: kworker/1:3: 7221] wmitlv_check_and_pad_tlvs: WARN: TLV array of structures needs padding. tlv_size_diff=256
11-04 20:44:55.667 2964 3061 D ConnectivityService: maybeHandleNetworkMonitorMessage: 528388
11-04 20:44:55.667 2964 3061 D ConnectivityService: NetReassign [no changes]
11-04 20:44:55.716 10039 10062 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000, [873x147]-format:1
11-04 20:44:55.769 2964 2989 I ActivityTaskManager: Displayed org.documentfoundation.libreoffice/org.libreoffice.LibreOfficeMainActivity: +949ms
11-04 20:44:55.789 2780 6610 E BufferQueueProducer: [Toast#0](id:adc00000010,api:0,p:-1,c:2780) disconnect: not connected (req=1)
11-04 20:44:55.790 10039 10062 W libEGL : EGLNativeWindowType 0xf18d2e58 disconnect failed
11-04 20:44:55.790 10039 10062 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000, [873x147]-format:1
11-04 20:44:55.865 10039 10086 I LibreOffice: New sal thread started and attached res=0
11-04 20:44:55.870 10039 10086 I LibreOffice/androidinst: Android: CreateSalInstance!
11-04 20:44:55.871 10039 10086 I LibreOffice/androidinst: AttachCurrentThread res=0 env=0xf5f72890
11-04 20:44:56.556 0 0 I : [3:irq/570-SSP_Int: 1627] [SSP] [M] AR--54,-44,4084,60,-1
11-04 20:44:56.878 0 0 D : [0: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_vbat: data0 (107) data1 (128)
11-04 20:44:56.879 0 0 I : [0: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_vbat: vbat (4013), src (0x01)
11-04 20:44:56.885 0 0 I : [0: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_avgvbat: avgvbat (4012)
11-04 20:44:56.885 0 0 E : [0: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_ocv: soc (7142) soc_arr[TABLE_SIZE-1] (-206) ocv_arr[TABLE_SIZE-1) (32069)
11-04 20:44:56.885 0 0 I : [0: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_ocv: soc (7142), ocv (40212)
11-04 20:44:56.887 0 0 D : [0: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_current: rCUR_CC(0xfd3e)
11-04 20:44:56.887 0 0 I : [0: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_current: current (172)mA
11-04 20:44:56.890 0 0 I : [0: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_avgcurrent: MONOUT(0xfc71), avg current (222)mA
11-04 20:44:56.890 0 0 I : [0: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_avgcurrent: SOC(7142)%
11-04 20:44:56.891 0 0 D : [0: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_vbat: data0 (107) data1 (128)
11-04 20:44:56.892 0 0 I : [0: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_vbat: vbat (4013), src (0x01)
11-04 20:44:56.893 0 0 E : [0: kworker/u16:1: 50] sec-battery battery: sec_bat_get_temperature_by_adc: Temp(295), Temp-ADC(1838)
11-04 20:44:56.894 0 0 E : [0: kworker/u16:1: 50] sec-battery battery: sec_bat_get_temperature_by_adc: Temp(295), Temp-ADC(1838)
11-04 20:44:56.895 0 0 E : [0: kworker/u16:1: 50] sec-battery battery: sec_bat_get_temperature_by_adc: Temp(325), Temp-ADC(1688)
11-04 20:44:56.897 0 0 E : [0: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_rawsoc: OTP 4E(37) 4F(10) current 4E(37) 4F(10)
11-04 20:44:56.899 0 0 D : [0: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: [DEBUG]s2mu004_get_rawsoc: data0 (188) data1 (45)
11-04 20:44:56.912 0 0 D : [0: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_rawsoc: vm soc raw data0 (112) data1 (11)
11-04 20:44:56.912 0 0 I : [0: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_rawsoc: vm soc (7148)
11-04 20:44:56.912 0 0 I : [0: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_rawsoc: current_soc (7145), previous soc (7142), diff (0), FG_mode(0)
11-04 20:44:56.915 0 0 I : [0: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_avgcurrent: MONOUT(0xfc71), avg current (222)mA
11-04 20:44:56.915 0 0 I : [0: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_avgcurrent: SOC(7145)%
11-04 20:44:56.968 0 0 I : [0: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_monout_avgvbat: avgvbat (4000)
11-04 20:44:56.968 0 0 I : [0: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_rawsoc: UI SOC = 71
11-04 20:44:56.976 0 0 I : [3: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_avgvbat: avgvbat (4012)
11-04 20:44:56.978 0 0 D : [3: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_vbat: data0 (107) data1 (128)
11-04 20:44:56.978 0 0 I : [3: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_vbat: vbat (4013), src (0x01)
11-04 20:44:56.980 0 0 D : [3: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_current: rCUR_CC(0xfd3e)
11-04 20:44:56.980 0 0 I : [3: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_current: current (172)mA
11-04 20:44:56.981 0 0 I : [3: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_rawsoc: UI SOC = 71
11-04 20:44:56.981 0 0 I : [3: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_get_rawsoc: Fuelgauge Mode: 0, Force power-off voltage: 3300
11-04 20:44:56.981 0 0 I : [3: kworker/u16:1: 50] s2mu004-fuelgauge 10-003b: s2mu004_fg_get_scaled_capacity: capacity_max(1000) scaled capacity(71.4), raw_soc(71.4)
11-04 20:44:56.981 0 0 I : [3: kworker/u16:1: 50] sec-battery battery: sec_bat_get_battery_info:Vnow(4013mV),Inow(172mA),Imax(500mA),SOC(71%),Tbat(295),Tusb(0),Tchg(325),Twpc(0)
11-04 20:44:56.983 0 0 I : [3: kworker/u16:1: 50] sec-battery battery: sec_bat_cisd_check: [CISD] iavg: 222, incur: 500, chgcur: 800,
11-04 20:44:56.983 0 0 I [3: kworker/u16:1: 50] cc_T: 0, lcd_off_T: 0, passed_T: 0, full_T: 0, chg_end_T: 0, cisd: 0x0
11-04 20:44:56.983 0 0 I : [3: kworker/u16:1: 50] sec-battery battery: sec_bat_cisd_check: cisd - clear EFG
11-04 20:44:56.983 0 0 I : [3: kworker/u16:1: 50] sec-battery battery: sec_bat_cisd_check: [CISD] iavg: 222, incur: 500, chgcur: 800,
11-04 20:44:56.983 0 0 I : [3: kworker/u16:1: 50] cisd - stt:0, cp:3000/0, cpmm:3000/3000/3000, dcpt:0, ovc:0, rct:2147483647
11-04 20:44:56.983 0 0 I [3: kworker/u16:1: 50] cisd_debug: 1, 3000, 3000, 3000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2147483647, 0, 1
11-04 20:44:56.986 0 0 I : [3: kworker/u16:1: 50] [DEBUG] s2mu004_get_charging_health: S2MU004_CHG_STATUS0 0x63
11-04 20:44:57.010 0 0 I [0: kworker/u16:1: 50] [DEBUG][CHG]s2mu004_test_read: 0x0a:0x63, 0x0b:0x00, 0x0c:0x03, 0x0d:0x47, 0x0e:0x12, 0x0f:0x25, 0x10:0x83, 0x11:0x05, 0x12:0x12, 0x13:0x25, 0x14:0x10, 0x15:0xdd, 0x16:0x6d, 0x17:0x46, 0x18:0x91, 0x19:0x1f, 0x1a:0x0a, 0x1b:0x08, 0x1c:0x12, 0x1d:0x22, 0x1e:0x01, 0x1f:0x4c, 0x20:0x3b, 0x21:0x1d, 0x22:0x55, 0x23:0x55, 0x24:0x05, 0x33:0x95, 0x03:0xff, 0x71:0x08, 0x74:0xae, 0x91:0xa4, 0x96:0xc2, 0xa5:0x40,
11-04 20:44:57.010 0 0 I : [0: kworker/u16:1: 50] sec-battery battery: sec_bat_monitor_work: Status(Charging), mode(Normal), Health(Good), Cable(4, 4, 1, 0), level(100%), slate_mode(0), store_mode(0), HV(NONE), sleep_mode(0), Cycle(-1)
11-04 20:44:57.011 0 0 I : [0: kworker/0:3: 7190] sec_bat_get_property cable type = 4 sleep_mode = 0
11-04 20:44:57.013 0 0 W [0:health@2.0-serv: 2756] healthd: battery l=71 v=4013 t=29.5 h=2 st=2 c=172 fc=3000000 chg=u
11-04 20:44:58.234 0 0 E [2: VosMCThread: 3104] wlan: [3104:E :PE ] limProcessActionFrame: 2229: Spectrum mgmt action id 2 not handled
11-04 20:44:58.680 0 0 W [2: kworker/2:2: 4937] wmitlv_check_and_pad_tlvs: WARN: TLV array of structures needs padding. tlv_size_diff=256
11-04 20:44:59.017 2780 2957 E BufferQueueProducer: [Toast#0](id:adc00000010,api:0,p:-1,c:2780) disconnect: not connected (req=1)
11-04 20:44:59.019 10039 10062 W libEGL : EGLNativeWindowType 0xf18d2e58 disconnect failed
11-04 20:44:59.022 2964 2978 W NotificationService: Toast already killed. pkg=org.documentfoundation.libreoffice token=android.os.BinderProxy@87fb67d
11-04 20:44:59.219 0 0 I : [1: kworker/u16:1: 50] [SSP] debug_work_func( 447): (100) - Sensor state: 0x4f24f4176, RC: 0, CC: 0 DC: 0 TC: 0
11-04 20:44:59.219 0 0 I : [1: kworker/u16:1: 50] [SSP] 1 : -50, -44, 4083 (66ms, 100ms)
11-04 20:44:59.219 0 0 I : [1: kworker/u16:1: 50] [SSP] 5 : 96, 52, 24, 156, 17, 3 (200ms)
11-04 20:44:59.802 10039 10086 I LibreOffice/androidinst:
11-04 20:44:59.802 10039 10086 I LibreOffice/androidinst: SalAbort: 'Unknown application error'
11-04 20:44:59.804 0 0 F : [3: Thread-4:10086] Unhandled fault: alignment fault (0x92000021) at 0x00000000b98c0c96 -- DABT (lower EL)
11-04 20:44:59.804 0 0 F : [3: Thread-4:10086] sec_debug_set_extra_info_fault = 0xb98c0c96
11-04 20:44:59.838 2964 3044 W InputDispatcher: channel '7a99c74 org.documentfoundation.libreoffice/org.libreoffice.LibreOfficeMainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
11-04 20:44:59.838 2964 3044 E InputDispatcher: channel '7a99c74 org.documentfoundation.libreoffice/org.libreoffice.LibreOfficeMainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
11-04 20:44:59.838 2964 3566 I ActivityManager: Process org.documentfoundation.libreoffice (pid 10039) has died: fg TOP
11-04 20:44:59.839 2964 5954 I WindowManager: WIN DEATH: Window{7a99c74 u0 org.documentfoundation.libreoffice/org.libreoffice.LibreOfficeMainActivity}
11-04 20:44:59.840 2964 5954 W InputDispatcher: Attempted to unregister already unregistered input channel '7a99c74 org.documentfoundation.libreoffice/org.libreoffice.LibreOfficeMainActivity (server)'
11-04 20:44:59.844 2734 2734 I Zygote : Process 10039 exited cleanly (1)
11-04 20:44:59.846 2964 3566 W ActivityTaskManager: Force removing ActivityRecord{995b050 u0 org.documentfoundation.libreoffice/org.libreoffice.LibreOfficeMainActivity t5065}: app died, no saved state
Relevant screenshots
No screenshots
Solutions
Workaround
Install other apps to open Office document files.
Possible fixes
See this comment
Edited by Aude M