Bug 141044 - Android Viewer crashes trying to open files with comments (again)
Summary: Android Viewer crashes trying to open files with comments (again)
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Viewer (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Michael Weghorn
URL:
Whiteboard: target:7.2.0
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-15 10:25 UTC by Michael Weghorn
Modified: 2021-03-15 13:09 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weghorn 2021-03-15 10:25:05 UTC
When trying to open an ODT doc containing comments, LibreOffice Android Viewer crashes, as was reported and fixed previously in 131179. The issue has reappeared.

Steps to reproduce: open attachment 158436 [details] in Android Viewer

Result: Crash

Using Android Viewer built from current master, as of commit 8ef2414c37843c205dc925677db399553a3ac735.

ADB log contains this:

03-15 11:21:48.052  9699  9739 D libo:sal/osl/unx/file: double-slash in path: /assets//config/soffice.cfg/modules/swriter/ui/annotation.ui
03-15 11:21:48.052  9699  9739 E libo:sal/osl/unx/file: failed to open /assets//config/soffice.cfg/modules/swriter/ui/annotation.ui
03-15 11:21:48.052  9699  9739 W vcl.builder: 1:vcl/source/window/builder.cxx:517: DBG_UNHANDLED_EXCEPTION in VclBuilder
03-15 11:21:48.052  9699  9739 W vcl.builder:     when: Unable to read .ui file exception: com.sun.star.container.NoSuchElementException message: file:///assets//config/soffice.cfg/modules/swriter/ui/annotation.ui
03-15 11:21:48.053  9699  9739 W legacy.osl: 1:vcl/source/window/window.cxx:276: Window ( 7Control()) with live children destroyed:  7VclVBox()
03-15 11:21:48.053  9699  9739 I LibreOffice/androidinst: Window ( 7Control()) with live children destroyed:  7VclVBox()
03-15 11:21:48.053  9699  9739 I LibreOffice/androidinst: SalAbort: 'Window ( 7Control()) with live children destroyed:  7VclVBox()'
03-15 11:21:48.053  9699  9739 I LibreOffice/androidinst: 
03-15 11:21:48.054  9699  9739 I LibreOffice/androidinst: SalAbort: 'Unknown application error'
Comment 1 Michael Weghorn 2021-03-15 10:31:31 UTC
Pending fix: https://gerrit.libreoffice.org/c/core/+/112490
Comment 2 Commit Notification 2021-03-15 13:02:04 UTC
Michael Weghorn committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/96af7614c205cbb43379d8b37fd02de7080175a0

tdf#141044 android: Update included .ui files

It will be available in 7.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.