Bug 96847 - Android viewer crashes on every file (android 4.4.4)
Summary: Android viewer crashes on every file (android 4.4.4)
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Viewer (show other bugs)
Version:
(earliest affected)
5.2.0.0.alpha0+
Hardware: ARM Android
: highest critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
: 98759 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-01-01 10:05 UTC by raal
Modified: 2016-04-02 08:40 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
ADB debug log (7.94 KB, text/plain)
2016-01-03 18:23 UTC, mycae
Details

Note You need to log in before you can comment on or make changes to this bug.
Description raal 2016-01-01 10:05:19 UTC
Android viewer crashes on every file (android 4.4.4)

Version: 5.2.0.0.alpha0+
Build ID: 4c23184



steps:
open android viewer
open file in 
crash

tested with ods, odt, odp, doc


** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Xiaomi/mocha/mocha:4.4.4/KTU84P/5.11.26:user/release-keys'
Revision: '0'
pid: 17764, tid: 17943, name: Thread-2222  >>> org.example.libreoffice <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
    r0 00000000  r1 00004617  r2 00000006  r3 00000000
    r4 00000006  r5 00000002  r6 00004617  r7 0000010c
    r8 7ca2dd18  r9 7c930000  sl 7c0664f0  fp 7ca2dcec
    ip 71c87f28  sp 7ca2dc70  lr 400c3021  pc 400d1f88  cpsr 000f0010
    d0  6e6f697470656378  d1  3a3a726174733a3a
    d2  7065443a3a6f6e75  d3  45746e656d796f6c
    d4  4026000000000000  d5  4047800000000000
    d6  4026000000000000  d7  0000000b00000000
    d8  3f8000003f800000  d9  4391800044c90000
    d10 0000000044f08000  d11 0000000000000000
    d12 0000000000000000  d13 0000000000000000
    d14 0000000000000000  d15 0000000000000000
    d16 fffffffffffeae80  d17 3ff0000000000000
    d18 4024000000000000  d19 75d93d5d75d93d5d
    d20 75d93d4975d93d49  d21 75d93d4975d93d49
    d22 75d93d3975d93d39  d23 75d93d3975d93d39
    d24 0000005b00000059  d25 0000005f0000005d
    d26 0707070703030303  d27 017a000001720000
    d28 014a005301420051  d29 015a005701520055
    d30 016a005b01620059  d31 017a005f0172005d
    scr 80000010

backtrace:
    #00  pc 00021f88  /system/lib/libc.so (tgkill+12)
    #01  pc 0001301d  /system/lib/libc.so (pthread_kill+48)
    #02  pc 00013231  /system/lib/libc.so (raise+10)
    #03  pc 00011f67  /system/lib/libc.so
    #04  pc 0002183c  /system/lib/libc.so (abort+4)
    #05  pc 025915dc  /data/app-lib/org.example.libreoffice-1/liblo-native-code.so

code around pc:
    400d1f68 e8bd00f0 e3700a01 912fff1e e2600000 
    400d1f78 ea006f79 e92d50f0 e3a07f43 ef000000 
    400d1f88 e8bd50f0 e3700a01 912fff1e e2600000 
    400d1f98 ea006f71 e92d50f0 e3a070ee ef000000 
    400d1fa8 e8bd50f0 e3700a01 912fff1e e2600000 
    400d1fb8 ea006f69 00000000 e1520003 8a0000ab 
    400d1fc8 f5d1f040 e92d4001 e3520000 11500001 
    400d1fd8 08bd8001 f5d1f000 f5d1f040 e3520020 
    400d1fe8 3a00008f e3520080 3a000084 e2603000 
    400d1ff8 e213303f 0a000015 e0422003 e1b0cf83 
    400d2008 44d1c001 44c0c001 24d1c001 24c0c001 
    400d2018 24d1c001 24c0c001 e1b0ce83 5a000001 
    400d2028 f4a1030d f480031d 3a000001 f421070d 
    400d2038 f400071d e1b0cd83 5a000001 f4210a0d 
    400d2048 f4000a2d 3a000001 f421020d f400023d 
    400d2058 f5d1f080 f5d1f0c0 e3520902 3a000004 

code around lr:
    400c3000 447b4b13 42b3e010 4812d10e 44786a1e 
    400c3010 ec90f7fb e9d8f00d 46224631 efaef00e 
    400c3020 d00a3001 e00b2400 2b00681b 480ad1eb 
    400c3030 44782403 ec7ef7fb f001e002 6804fa1b 
    400c3040 fa18f001 46206005 bf00bd70 0003b3a2 
    400c3050 0003b396 0003b38e 0003b36a bf7ef7ff 
    400c3060 4a3e4b3d 43f0e92d 4606b08b 447b460d 
    400c3070 6823589c 930946a1 f9fcf001 8000f8d0 
    400c3080 d0482d00 f0104628 280ff80b d8444604 
    400c3090 ffe4f7ff d1064286 4629200f e8a2f00d 
    400c30a0 d03c2800 482ee02e f7fb4478 482debc2 
    400c30b0 e0154478 d11342b0 482b6a06 f7fb4478 
    400c30c0 4a2aec3a 46332120 447aa801 fc24f013 
    400c30d0 a8012101 ff22f01a 46061c42 e011d104 
    400c30e0 28006800 e02cd1e6 46294630 f00d4622 
    400c30f0 1c43e8de d11e4607 f9bcf001 29046801
Comment 1 mycae 2016-01-03 18:23:53 UTC
Created attachment 121702 [details]
ADB debug log
Comment 2 mycae 2016-01-03 18:27:00 UTC
Same here.

The program initially loads fine, and displays the file chooser.  When attempting to load a document using the android viewer, the program crashes immediately. This is true for all documents, presentations and spreadsheets that I have tested (about 5 files, some odt odp, some docx).

Build is 5.2.0.0+ (91f41c3), installed from the master-built APK.  

ADB debug log is attached, the key lines to me appear to be:
I/LibreOffice/sofficemain(30374): Unhandled UNO exception: 'component context fails to supply singleton com.sun.star.task.OfficeRestartManager of type com.sun.star.task.XRestartManager'
I/stderr  (30374): terminate called after throwing an instance of 'com::sun::star::uno::DeploymentException'
F/libc    (30374): Fatal signal 6 (SIGABRT) in tid 473 (Thread-204)


Additionally I get the same error if I attempt to show "more info" from the about dialog.
Comment 3 Sydney 2016-03-03 03:40:34 UTC
I can reproduce this as well.
Comment 4 Robinson Tryon (qubit) 2016-03-03 15:10:44 UTC
(Cloph: just realized that you weren't cc'd on this bug)
Comment 5 Robinson Tryon (qubit) 2016-03-17 15:22:21 UTC
Testing again with Android 5.1.1 +
Daily build (master) 2016-03-17 07:18:48 5b3fee11

(In reply to mycae from comment #2)
> The program initially loads fine, and displays the file chooser.

Yep

> When
> attempting to load a document using the android viewer, the program crashes
> immediately. This is true for all documents, presentations and spreadsheets
> that I have tested (about 5 files, some odt odp, some docx).

I'm still unable to open any file in the Viewer.

> Additionally I get the same error if I attempt to show "more info" from the
> about dialog.

I get the error "Unfortunately, LibreOffice Viewer has stopped." if I
-> Try to open an ODT, ODS, ODP, or ODG
-> or if I click on the 'MORE INFO' link

If I click "OK" in the error dialog and then try to open another file (the same one or a different one), then LibreOffice appears to crash (taking me back to the home screen).

The Android Viewer is completely broken in this state, so bumping up Importance:
Severity -> highest
Comment 6 raal 2016-03-18 21:57:46 UTC
*** Bug 98759 has been marked as a duplicate of this bug. ***
Comment 8 raal 2016-04-02 08:40:35 UTC
Now app crashes at launch, see bug 99046