[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] MarcS:
Microsoft Word / Excel

Hi,

I've "dirty flashed" the current build over the previous one (as always before) and cleared Dalvic / Cache.

Now Microsoft Word and Excel "have stopped" when trying to launch (and also sometimes in the background)

Logcat (MS Word) :

[ 01-18 08:31:15.822 10963:10963 I/[ACT]:H ]
initialize|context:com.microsoft.office.word.WordApplication@1197fc4|tenantToken:0f7e2d7f1132433b82c0b49a3e7da349-48b984f1-c586-4e69-9a6b-c3cb9597e0bc-7008

[ 01-18 08:31:15.833 10963:10963 I/[ACT]:H ]
initialize|context:com.microsoft.office.word.WordApplication@1197fc4|tenantToken:0f7e2d7f1132433b82c0b49a3e7da349-48b984f1-c586-4e69-9a6b-c3cb9597e0bc-7008|configuration:null

[ 01-18 08:31:15.879 10963:10963 D/c ]
Cost(prev,now): (Unknown,Unknown)|Type(prev,now): (Unknown, WWAN)|Provider(prev,now): (null,Drillisch)

[ 01-18 08:31:15.881 10963:10963 V/d ]
getOsVersion|value:7.1.2

[ 01-18 08:31:15.881 10963:10963 V/d ]
getOsVersion|value:7.1.2

[ 01-18 08:31:15.882 10963:10963 D/[ACT]:S ]
Registering hardware receiver

[ 01-18 08:31:15.885 10963:10963 D/[ACT]:S ]
Loading the transmission policy

[ 01-18 08:31:15.931 10963:10963 D/[ACT]:W ]
Reading offline kvp file.

[ 01-18 08:31:15.949 10963:10963 V/c ]
getNetworkCost|value:Unknown

[ 01-18 08:31:15.950 10963:10963 V/a ]
getPowerSource|value:UNKNOWN

[ 01-18 08:31:15.950 10963:10963 D/[ACT]:ao ]
startProcessingWithTransmitCondition : UNMETERED_AC, profile: REAL_TIME

[ 01-18 08:31:15.954 10963:10963 V/d ]
getAppId|value:

[ 01-18 08:31:15.954 10963:10963 V/af ]
setAppId|appId:

[ 01-18 08:31:15.954 10963:10963 V/d ]
getAppVersion|value:16.0.9001.2077

[ 01-18 08:31:15.954 10963:10963 V/af ]
setAppVersion|appVersion: 16.0.9001.2077

[ 01-18 08:31:15.955 10963:10963 V/a ]
getDeviceId|value: 96fb586a228c8235

[ 01-18 08:31:15.955 10963:10963 V/af ]
setDeviceId|deviceId: 96fb586a228c8235

[ 01-18 08:31:15.955 10963:10963 V/a ]
getManufacturer|value: motorola

[ 01-18 08:31:15.955 10963:10963 V/af ]
setDeviceMake|deviceMake: motorola

[ 01-18 08:31:15.955 10963:10963 V/a ]
getModel|value: Moto G5

[ 01-18 08:31:15.955 10963:10963 V/af ]
setDeviceModel|deviceModel: Moto G5

[ 01-18 08:31:15.955 10963:10963 V/c ]
getNetworkProvider|value:Drillisch

[ 01-18 08:31:15.955 10963:10963 V/af ]
setNetworkProvider|networkProvider: Drillisch

[ 01-18 08:31:15.956 10963:10963 V/d ]
getUserLanguage|value:de-DE

[ 01-18 08:31:15.956 10963:10963 V/af ]
setUserLanguage|language: de-DE

[ 01-18 08:31:15.956 10963:10963 V/d ]
getUserTimeZone|value:+01:00

[ 01-18 08:31:15.956 10963:10963 V/af ]
setUserTimeZone|timeZone: +01:00

[ 01-18 08:31:15.976 10963:10963 E/ChinaFeaturesLib ]
failed to create chinaFeaturesHelper, ClassNotFoundException

[ 01-18 08:31:15.977 10963:10963 D/TSLTokenProviderImpl ]
Init

[ 01-18 08:31:15.990 10963:10963 D/TSLTokenProviderImpl ]
Check if this IsTSLDebugMode

[ 01-18 08:31:15.998 10963:10963 D/TokenSharingManager_v1.4.4 ]
Library works in release mode

[ 01-18 08:31:16.001 10963:10963 I/AMEnrollmentStatusCache ]
No MAM enrollment status found.

[ 01-18 08:31:16.003 10963:10963 I/MAMWERetryScheduler ]
scheduling any necessary enrollment retries at startup; online: false

[ 01-18 08:31:16.072 10963:10963 E/ResourceType ]
Style contains key with bad entry: 0x01010562

[ 01-18 08:31:16.073 10963:10963 I/AppHost.Android ]
OnMAMCreate Called

[ 01-18 08:31:16.073 10963:10963 I/OfficeApplication ]
Application Boot Start Time - 1516260676073

[ 01-18 08:31:16.080 10963:10963 I/AppHost.Android ]
Derived class may override isOfficeActivityAlwaysBeTaskRoot

[ 01-18 08:31:16.086 10963:10963 I/AppHost.Android ]
OfficeActivityHolder Setting Current Activity Instance in the Holder

[ 01-18 08:31:16.100 1353: 4826 W/AccountManagerService ]
insertAccountIntoDatabase: Account {name=Office, type=com.microsoft.office}, skipping since the account already exists

[ 01-18 08:31:16.104 10963:10963 E/ChinaFeaturesLib ]
failed to create chinaFeaturesHelper, ClassNotFoundException

[ 01-18 08:31:16.110 10963:10963 I/SharedLibraryLoader ]
SHARED_LIBS_VERSIONCODE=160900110011

[ 01-18 08:31:16.111 1353: 6001 W/AccountManagerService ]
insertAccountIntoDatabase: Account {name=Office, type=com.microsoft.office}, skipping since the account already exists

--------- beginning of crash
[ 01-18 08:31:16.133 10963:10984 E/AndroidRuntime ]
FATAL EXCEPTION: AsyncTask #2
Process: com.microsoft.office.word, PID: 10963
java.lang.ExceptionInInitializerError
at com.microsoft.office.plat.keystore.KeyStore.getAllItemsByType(SourceFile:61)
at com.microsoft.office.tokenshare.a.getAccounts(SourceFile:68)
at com.microsoft.tokenshare.TokenSharingManager$1.run(SourceFile:118)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
Caused by: java.lang.IllegalStateException: motorola - Moto G5 - 7.1.2
at com.microsoft.office.plat.keystore.b.<init>(SourceFile:132)
at com.microsoft.office.plat.keystore.b.a(SourceFile:33)
at com.microsoft.office.plat.keystore.KeyStore.getDataManager(SourceFile:312)
at com.microsoft.office.plat.keystore.KeyStore.<clinit>(SourceFile:40)
... 6 more

[ 01-18 08:31:16.151 1353: 6000 W/ActivityManager ]
Force finishing activity com.microsoft.office.word/com.microsoft.office.apphost.LaunchActivity

[ 01-18 08:31:16.222 10963:10963 I/SharedLibraryLoader ]
initCommonLibsPath. Loc=/mnt/expand/29344678-0326-406a-854c-6a4fc4ee97e8/user/0/com.microsoft.office.word/files/data/commonlibs/160900110011, found=false, extractCommonLibs=true

[ 01-18 08:31:16.259 1353:10993 I/Adreno ]
QUALCOMM build : b11b894, Id9e7eae3da
Build Date : 12/22/16
OpenGL ES Shader Compiler Version: XE031.09.00.03
Local Branch :
Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.5.5.R1.07.00.00.269.019
Remote Branch : NONE
Reconstruct Branch : NOTHING

[ 01-18 08:31:16.268 1353:10993 I/OpenGLRenderer ]
Initialized EGL, version 1.4

[ 01-18 08:31:16.268 1353:10993 D/OpenGLRenderer ]
Swap behavior 1

[ 01-18 08:31:16.404 10963:10963 I/OfficeApplication ]
################################### load gnustl_shared start ###################################

[ 01-18 08:31:16.407 10963:10963 I/OfficeApplication ]
################################### load gnustl_shared end ###################################

[ 01-18 08:31:16.408 10963:10963 I/OfficeApplication ]
################################### load plat start ###################################

[ 01-18 08:31:16.418 10963:10963 I/CXA_THROW ]
RegisterTerminateHandler: Try to register TerminateHandler.

[ 01-18 08:31:16.418 10963:10963 I/CXA_THROW ]
RegisterTerminateHandler: Complete registration of TerminateHandler.

[ 01-18 08:31:16.424 10963:10963 I/Registry ]
initFile - START

[ 01-18 08:31:16.424 10963:10963 I/Registry ]
initializeAlternateRegistryFileIfNecessary - START

[ 01-18 08:31:16.430 10963:10963 I/RegistryUtilities ]
initJsonFile - START

[ 01-18 08:31:16.431 10963:10963 I/RegistryUtilities ]
initJsonFile - END

[ 01-18 08:31:16.445 10963:10963 I/Registry ]
initFile - END

[ 01-18 08:31:16.530 10963:10963 F/libc ]
Fatal signal 11 (SIGSEGV), code 2, fault addr 0x1fa9e5e1 in tid 10963 (oft.office.word)

[ 01-18 08:31:16.533 404: 404 W/ ]
debuggerd: handling request: pid=10963 uid=10119 gid=10119 tid=10963

[ 01-18 08:31:16.538 11003:11003 W/debuggerd ]
type=1400 audit(0.0:3121): avc: denied { search } for uid=0 name="expand" dev="tmpfs" ino=7289 scontext=u:r:debuggerd:s0 tcontext=u:object_r:mnt_expand_file:s0 tclass=dir permissive=0

[ 01-18 08:31:16.541 11003:11003 W/debuggerd ]
type=1400 audit(0.0:3122): avc: denied { search } for uid=0 name="expand" dev="tmpfs" ino=7289 scontext=u:r:debuggerd:s0 tcontext=u:object_r:mnt_expand_file:s0 tclass=dir permissive=0

[ 01-18 08:31:16.541 11003:11003 W/debuggerd ]
type=1400 audit(0.0:3123): avc: denied { search } for uid=0 name="expand" dev="tmpfs" ino=7289 scontext=u:r:debuggerd:s0 tcontext=u:object_r:mnt_expand_file:s0 tclass=dir permissive=0

[ 01-18 08:31:16.565 11003:11003 W/debuggerd ]
type=1400 audit(0.0:3124): avc: denied { search } for uid=0 name="expand" dev="tmpfs" ino=7289 scontext=u:r:debuggerd:s0 tcontext=u:object_r:mnt_expand_file:s0 tclass=dir permissive=0

[ 01-18 08:31:16.657 1353: 1367 W/ActivityManager ]
Activity pause timeout for ActivityRecord{8da81f9 u0 com.microsoft.office.word/com.microsoft.office.apphost.LaunchActivity t1547 f}

[ 01-18 08:31:16.662 1353: 1367 I/WindowManager ]
Failed to capture screenshot of Token{839653e ActivityRecord{8da81f9 u0 com.microsoft.office.word/com.microsoft.office.apphost.LaunchActivity t1547 f}} appWin=Window{7bf7397 u0 Starting com.microsoft.office.word} drawState=4

[ 01-18 08:31:16.705 11003:11003 W/debuggerd ]
type=1400 audit(0.0:3125): avc: denied { search } for uid=1045 name="expand" dev="tmpfs" ino=7289 scontext=u:r:debuggerd:s0 tcontext=u:object_r:mnt_expand_file:s0 tclass=dir permissive=0

[ 01-18 08:31:16.705 11003:11003 F/DEBUG ]
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

[ 01-18 08:31:16.706 11003:11003 F/DEBUG ]
LineageOS Version: '14.1-20180117-UNOFFICIAL-cedric'

[ 01-18 08:31:16.706 11003:11003 F/DEBUG ]
Build fingerprint: 'motorola/lineage_cedric/cedric:7.1.2/NJH47F/05daf9bd05:userdebug/test-keys'

[ 01-18 08:31:16.706 11003:11003 F/DEBUG ]
Revision: '0'

[ 01-18 08:31:16.706 11003:11003 F/DEBUG ]
ABI: 'arm'

[ 01-18 08:31:16.706 11003:11003 F/DEBUG ]
pid: 10963, tid: 10963, name: oft.office.word >>> com.microsoft.office.word <<<

[ 01-18 08:31:16.706 11003:11003 F/DEBUG ]
signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x1fa9e5e1

[ 01-18 08:31:16.706 11003:11003 F/DEBUG ]
r0 1fa9e5df r1 1fa9e5e3 r2 00000000 r3 bee06164

[ 01-18 08:31:16.706 11003:11003 F/DEBUG ]
r4 b1cc19e0 r5 982ca888 r6 b2205400 r7 bee061a8

[ 01-18 08:31:16.706 11003:11003 F/DEBUG ]
r8 00100019 r9 bee06304 sl b2232000 fp bee06298

[ 01-18 08:31:16.706 11003:11003 F/DEBUG ]
ip 982c3dd8 sp bee061a0 lr 98254f29 pc 98220eec cpsr 000d0030

[ 01-18 08:31:16.721 11003:11003 F/DEBUG ]

backtrace:

[ 01-18 08:31:16.722 11003:11003 F/DEBUG ]
#00 pc 00055eec /mnt/expand/29344678-0326-406a-854c-6a4fc4ee97e8/user/0/com.microsoft.office.word/files/data/applibs/libplat.so

[ 01-18 08:31:16.722 11003:11003 F/DEBUG ]
#01 pc 0005de4d /mnt/expand/29344678-0326-406a-854c-6a4fc4ee97e8/user/0/com.microsoft.office.word/files/data/applibs/libplat.so

[ 01-18 08:31:16.722 11003:11003 F/DEBUG ]
#02 pc 00050441 /mnt/expand/29344678-0326-406a-854c-6a4fc4ee97e8/user/0/com.microsoft.office.word/files/data/applibs/libplat.so

[ 01-18 08:31:16.722 11003:11003 F/DEBUG ]
#03 pc 0023b839 /system/lib/libart.so (_ZN3art9JavaVMExt17LoadNativeLibraryEP7_JNIEnvRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEP8_jobjectP8_jstringPS9_+1844)

[ 01-18 08:31:16.722 11003:11003 F/DEBUG ]
#04 pc 00003167 /system/lib/libopenjdkjvm.so (JVM_NativeLoad+178)

[ 01-18 08:31:16.722 11003:11003 F/DEBUG ]
#05 pc 72a4fc45 /data/dalvik-cache/arm/system@framework@boot.oat (offset 0x27fc000)

[ 01-18 08:31:16.811 1353: 8086 E/QCOM PowerHAL ]
Failed to acquire lock.

[ 01-18 08:31:16.935 1353: 1367 I/ActivityManager ]
Killing 9802:com.google.android.gm/u0a84 (adj 906): empty #17

[ 01-18 08:31:16.954 1353: 4826 D/ActivityManager ]
cleanUpApplicationRecord -- 9802

[ 01-18 08:31:17.105 1353: 1374 W/WindowManager ]
Failed looking up window
java.lang.IllegalArgumentException: Requested window android.view.ViewRootImpl$W@43ade16 does not exist
at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9469)
at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9460)
at com.android.server.wm.WindowManagerService.removeWindow(WindowManagerService.java:2401)
at com.android.server.wm.Session.remove(Session.java:202)
at android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:3290)
at android.view.ViewRootImpl.doDie(ViewRootImpl.java:5923)
at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3629)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.os.HandlerThread.run(HandlerThread.java:61)
at com.android.server.ServiceThread.run(ServiceThread.java:46)

[ 01-18 08:31:17.360 404: 404 W/ ]
debuggerd: resuming target 10963

[ 01-18 08:31:17.361 1353:11008 W/ActivityManager ]
Process com.microsoft.office.word has crashed too many times: killing!

[ 01-18 08:31:17.361 1353:11008 W/ActivityManager ]
Force finishing activity com.microsoft.office.word/com.microsoft.office.apphost.LaunchActivity

[ 01-18 08:31:17.362 1353:11008 I/ActivityManager ]
Killing 10963:com.microsoft.office.word/u0a119 (adj 900): crash

[ 01-18 08:31:17.362 1353:11008 D/ActivityManager ]
cleanUpApplicationRecord -- 10963

Appreciate if wzedlare could have a look into this, as this seems to be a new issue with this build ... take your time, MS Word / Excel is not really soooo important on Android :)

Otherwise, no issues found, good work...