https://bugs.documentfoundation.org/show_bug.cgi?id=131195

            Bug ID: 131195
           Summary: Android Viewer crashes when pressing back while
                    loading document
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Android Viewer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: m.wegh...@posteo.de

With
'master~2020-03-06_23.08.42_LibreOfficeViewer-strippedUIEditing-debug.apk',
Android Viewer crashes for the following scenario:

0) uninstall any previous version of the app (to make sure that fontconfig
initializes it's cache anew so loading the first doc takes a bit)
1) install the APK and start Android Viewer
2) open top-right menu, select "About" -> "Notice"
3) while document is still being loaded, press the back button

-> crash

Version: 7.0.0.0.alpha0+
Build ID: 9e8839c934da

Further notes: 

1) While it sounds like the scenario described and fixed in [1] ("android:
LibreOfficeMainActivity::onStop: Add null check"), the used daily build
contains that commit already, so there's another issue in addition.

2) 'adb logcat' output shows this:

03-07 03:55:29.460 28107 28363 I LibreOfficeKit: LibreOfficeKit successfully
initialized
03-07 03:55:29.472 28107 28363 I LOKitTileProvider: ====> Loading file
'/assets/notice.txt'
03-07 03:55:29.618   298   395 E BufferQueueProducer: [SurfaceView -
org.example.libreoffice/org.libreoffice.LibreOfficeMainActivity#0] disconnect:
not connected (req=1)
03-07 03:55:29.618 28107 28364 W libEGL  : EGLNativeWindowType 0x920b2808
disconnect failed
03-07 03:55:29.648 28107 28107 I LibreOfficeMainActivity: onStop..
03-07 03:55:29.652 28107 28107 I LOKitTileProvider: cacheDocument:
/storage/emulated/0/Android/data/org.example.libreoffice/cache/lo_cached_notice.txt
03-07 03:55:29.658 28107 28107 W LOKitTileProvider: mDocument was null when
trying to save cacheDocument:
/storage/emulated/0/Android/data/org.example.libreoffice/cache/lo_cached_notice.txt
03-07 03:55:29.663 28107 28107 I LibreOfficeMainActivity: onDestroy..
03-07 03:55:30.363 28107 28377 E libo:sal/osl/unx/file: failed to open
/assets/share/config/images_tango.zip
03-07 03:55:30.366 28107 28377 E libo:sal/osl/unx/file: failed to open
/assets/share/config/images_colibre.zip
03-07 03:55:30.414 28107 28363 I LOKitTileProvider: ====> mDocument =
org.libreoffice.kit.Document@2306a33
03-07 03:55:30.445 28107 28363 I LOKitTileProvider: Reset document size: 12808
x 48656
03-07 03:55:30.446 28107 28363 I LOKitTileProvider: Document parts: 3
03-07 03:55:30.737 28107 28363 I LOKitTileProvider: Document destroyed:
/assets/notice.txt
03-07 03:55:30.899 28107 28107 I LibreOffice/androidinst: 
03-07 03:55:30.899 28107 28107 I LibreOffice/androidinst: SalAbort: 'Unknown
application error'
03-07 03:55:30.950   540 25330 I WindowManager: WIN DEATH: Window{d59d15 u0
org.example.libreoffice/org.libreoffice.ui.LibreOfficeUIActivity}
03-07 03:55:30.953   540  8007 I ActivityManager: Process
org.example.libreoffice (pid 28107) has died: fore TOP

[1]
https://gerrit.libreoffice.org/plugins/gitiles/core/+diff/bf331e388845a5d213b40a3894db8ffc6560e1da%5E%21

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to