kmac / mindfulnotifier

A simple mindfulness-based timer which displays a notification/reminder at user-defined intervals
GNU General Public License v3.0
47 stars 3 forks source link

Stuck on app start #32

Closed r4taw2mg closed 3 years ago

r4taw2mg commented 3 years ago

After upgrading to 1.0.15 the app doesn't start properly any more. I just see the small app icon in blue before a white background and that's it. Not responsive.

I am using a rooted SM-G938F with Samsung Stock (v9.0) on Android 8.0.0.

kmac commented 3 years ago

Very odd. So that tells me it's stuck initializing for some reason. The 1.0.14 update was the bigger one, so I'm surprised you're seeing issues with 1.0.15.

A couple of things to try (if you haven't already):

If you're still seeing the issue, then I'd really love to get a logcat dump. I'm not sure if you know how to do that - you're rooted so it shouldn't be difficult. You can either use adb logcat or an app (I have used MatLog in the past). Filter on 'flutter'.

And finally, if you you have a backup you could narrow it down to the app vs your data by resetting the app - either clear the app data and then restart, or uninstall and re-install.

kusinkay commented 3 years ago

It happened just the same to me. I could manage to see some logs. I hope they help. Device: BQ Aquaris 5.5 MN version: 1.0.16 Android v. 7.1.2

Many thanks


06-20 12:13:40.350 2131 8132 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=com.kmac5dev.mindfulnotifier cmp=com.kmac5dev.mindfulnotifier/.MainActivity} from uid 10090 on display 0 06-20 12:13:40.376 2131 8833 I ActivityManager: Start proc 6108:com.kmac5dev.mindfulnotifier/u0a134 for activity com.kmac5dev.mindfulnotifier/.MainActivity 06-20 12:13:40.608 6108 6108 D ApplicationLoaders: ignored Vulkan layer search path /data/app/com.kmac5dev.mindfulnotifier-1/lib/arm:/data/app/com.kmac5dev.mindfulnotifier-1/base.apk!/lib/armeabi-v7a for namespace 0xb4164090 06-20 12:13:41.177 2131 2185 I ActivityManager: Displayed com.kmac5dev.mindfulnotifier/.MainActivity: +813ms (total +5m53s650ms) 06-20 12:13:41.271 6108 6127 I flutter : 12:13:41.271 INFO: mindfulnotifier: mindfulnotifier UI init() I:236686343 06-20 12:13:41.271 6108 6127 I flutter : 12:13:41.271 INFO: mindfulnotifier: initializeFromAlarmServiceReceivePort I:236686343 06-20 12:13:41.271 6108 6127 I flutter : 12:13:41.271 DEBUG: mindfulnotifier: new fromAlarmServiceReceivePort 06-20 12:13:41.272 6108 6127 I flutter : 12:13:41.272 DEBUG: mindfulnotifier: registerPortWithName: toAppIsolate, result=true I:236686343 06-20 12:13:41.288 6108 6127 I flutter : 12:13:41.288 DEBUG: mindfulnotifier: sendToAlarmService: {syncDataStore: 1} 06-20 12:13:41.505 6108 6108 E AndroidRuntime: Process: com.kmac5dev.mindfulnotifier, PID: 6108 06-20 12:13:41.505 6108 6108 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "java.time.ZoneId" on path: DexPathList[[zip file "/data/app/com.kmac5dev.mindfulnotifier-1/base.apk"],nativeLibraryDirectories=[/data/app/com.kmac5dev.mindfulnotifier-1/lib/arm, /data/app/com.kmac5dev.mindfulnotifier-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]] 06-20 12:13:41.507 2131 31966 W ActivityManager: Force finishing activity com.kmac5dev.mindfulnotifier/.MainActivity 06-20 12:13:41.517 2131 31966 W ActivityManager: Force finishing activity com.kmac5dev.mindfulnotifier/.MainActivity 06-20 12:13:41.517 2131 31966 W ActivityManager: Duplicate finish request for ActivityRecord{a3561da u0 com.kmac5dev.mindfulnotifier/.MainActivity t7253 f} 06-20 12:13:42.017 2131 2159 W ActivityManager: Activity pause timeout for ActivityRecord{a3561da u0 com.kmac5dev.mindfulnotifier/.MainActivity t7253 f}

kusinkay commented 3 years ago

The version that started to crash was 1.0.14

kmac commented 3 years ago

Thank you so much @kusinkay. That log is perfect.

It looks like the root cause is I updated flutter_native_timezone to 1.1.10 and now we're seeing this on some devices: https://github.com/pinkfish/flutter_native_timezone/issues/25

I should be able to get a fix out for this pretty quick.

kmac commented 3 years ago

I've published a fix for this in Release 1.0.17 which should fix things for @kusinkay

@r4taw2mg if you are running Android 8.0 I don't think this will fix anything for you since you're already on API 26. However, I don't know what the issue may be in your case. I've tested startup going back to a device on API 21 (Android 5). I'm hoping you are actually on Android 7 which would explain things, but other than that I don't know what the problem may be without getting some more information.

kusinkay commented 3 years ago

It's such an honor I'm not sure to deserve, Sir. I take the chance to say thank you so much for this useful app.

r4taw2mg commented 3 years ago

Sorry, I was having some problems with logcat.

Here is the log filter by "mindful", hope, it helps: [06-21 10:25:23.453 4076:4076 D/SystemUIAnalytics] sendEventLog 500, 5101, com.kmac5dev.mindfulnotifier, 3

[06-21 10:25:23.473 3690:4371 I/ActivityManager] START u0 {act=android.intent.action.MAIN typ=null flg=0x10300000 cmp=ComponentInfo{com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity}} from uid 10222

[06-21 10:25:23.507 3690:4804 D/ActivityManagerPerformance] Received MSG_CFMS_HINT_AMS_SWITCH pkgName: com.kmac5dev.mindfulnotifier

[06-21 10:25:23.540 3690:3770 D/ViewRootImpl@24729de[mindfulnotifier]] setView = DecorView@cb7ce8c[mindfulnotifier] TM=true MM=false

[06-21 10:25:23.546 3690:3770 D/ViewRootImpl@24729de[mindfulnotifier]] dispatchAttachedToWindow

[06-21 10:25:23.546 3690:3770 V/WindowManager] Relayout Window{6c2a7bf u0 Splash Screen com.kmac5dev.mindfulnotifier}: viewVisibility=0 req=1080x1848 WM.LayoutParams{(0,0)(fillxfill) sim=#20 ty=3 fl=#1830118 pfl=0x20011 fmt=-3 wanim=0x1030001 vsysui=0x400 needsMenuKey=2 colorMode=0 naviIconColor=0}

[06-21 10:25:23.551 3249:3249 I/SurfaceFlinger] id=2141 createSurf (1080x1920),1 flag=4, Splash Screen com.kmac5dev.mindfulnotifier#0

[06-21 10:25:23.560 3690:3770 D/ViewRootImpl@24729de[mindfulnotifier]] Relayout returned: old=[0,0][0,0] new=[0,0][1080,1920] result=0x7 surface={valid=true 517223501824} changed=true

[06-21 10:25:23.570 3690:18236 D/StorageManagerService] getExternalStorageMountMode : final mountMode=2, uid : 10292, packageName : com.kmac5dev.mindfulnotifier

[06-21 10:25:23.572 3690:18236 I/ApplicationPolicy] isApplicationExternalStorageWhitelisted:com.kmac5dev.mindfulnotifier user:0

[06-21 10:25:23.572 3690:3770 V/WindowManager] finishDrawingLocked: mDrawState=COMMIT_DRAW_PENDING Window{6c2a7bf u0 Splash Screen com.kmac5dev.mindfulnotifier} in Surface(name=Splash Screen com.kmac5dev.mindfulnotifier)

[06-21 10:25:23.573 3690:18236 D/ActivityManager] package com.kmac5dev.mindfulnotifier, user - 0 is SDcard whitelisted

[06-21 10:25:23.573 3690:18236 I/ApplicationPolicy] isApplicationExternalStorageBlacklisted:com.kmac5dev.mindfulnotifier user:0

[06-21 10:25:23.590 3690:18236 I/ActivityManager] Start proc 4390:com.kmac5dev.mindfulnotifier/u0a292 for activity com.kmac5dev.mindfulnotifier/.MainActivity

[06-21 10:25:23.594 4390:4390 I/SELinux] SELinux: seapp_context_lookup: seinfo=untrusted, level=s0:c512,c768, pkgname=com.kmac5dev.mindfulnotifier

[06-21 10:25:23.608 3690:3770 D/ViewRootImpl@24729de[mindfulnotifier]] MSG_RESIZED: frame=Rect(0, 0 - 1080, 1920) ci=Rect(0, 72 - 0, 0) vi=Rect(0, 72 - 0, 0) or=1

[06-21 10:25:23.612 3690:3770 V/WindowManager] Relayout Window{6c2a7bf u0 Splash Screen com.kmac5dev.mindfulnotifier}: viewVisibility=0 req=1080x1920 WM.LayoutParams{(0,0)(fillxfill) sim=#20 ty=3 fl=#1830118 pfl=0x20011 fmt=-3 wanim=0x1030001 vsysui=0x400 needsMenuKey=2 colorMode=0 naviIconColor=0}

[06-21 10:25:23.617 3690:3770 D/ViewRootImpl@24729de[mindfulnotifier]] Relayout returned: old=[0,0][1080,1920] new=[0,0][1080,1920] result=0x1 surface={valid=true 517223501824} changed=false

[06-21 10:25:23.630 3690:4371 I/ActivityManager] DSS on for com.kmac5dev.mindfulnotifier and scale is 1.0

[06-21 10:25:23.670 3690:4005 D/GameManagerService] handleForegroundChange(). pkgName: com.kmac5dev.mindfulnotifier, clsName: com.kmac5dev.mindfulnotifier.MainActivity,FgActivityName:com.kmac5dev.mindfulnotifier/.MainActivity

[06-21 10:25:23.670 3690:4005 D/GameManagerService] notifyResumePause(). pkg: com.kmac5dev.mindfulnotifier, type: 4, isMinimized: false, isTunableApp: false

[06-21 10:25:23.671 3690:4371 D/MARsPolicyManager] onPackageResumedFG pkgName = com.kmac5dev.mindfulnotifier, userId = 0

[06-21 10:25:23.703 3690:6635 D/GamePkgDataHelper] getGamePkgDataIncServer(). com.kmac5dev.mindfulnotifier

[06-21 10:25:23.707 3690:6635 D/GameManagerService] identifyGamePackage. com.kmac5dev.mindfulnotifier

[06-21 10:25:23.708 3690:6635 D/GameManagerService] identifyGamePackage. com.kmac5dev.mindfulnotifier

[06-21 10:25:23.709 3690:6635 D/GameManagerService] identifyGamePackage. com.kmac5dev.mindfulnotifier

[06-21 10:25:23.710 3690:6635 D/GameManagerService] identifyGamePackage. com.kmac5dev.mindfulnotifier

[06-21 10:25:23.711 3690:6635 D/GameManagerService] identifyGamePackage. com.kmac5dev.mindfulnotifier

[06-21 10:25:23.720 3249:3249 D/SurfaceFlinger] Display[0] configurations (* current):

[06-21 10:25:23.753 3249:3249 D/SurfaceFlinger] Display[0] configurations (* current):

[06-21 10:25:23.831 3690:3821 D/MdnieScenarioControlService] packageName : com.kmac5dev.mindfulnotifier className : com.kmac5dev.mindfulnotifier.MainActivity

[06-21 10:25:23.888 3112:3112 E/audit] type=1400 audit(1624263923.881:332): avc: denied { read } for pid=4390 comm="mindfulnotifier" name="max_map_count" dev="proc" ino=4951189 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:proc:s0 tclass=file permissive=0 SEPF_SM-G930F_8.0.0_0018 audit_filtered

[06-21 10:25:23.921 3249:3249 D/SurfaceFlinger] Display[0] configurations (* current):

[06-21 10:25:24.019 3690:4371 V/WindowManager] Relayout Window{85f6842 u0 com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity}: viewVisibility=0 req=1080x1848 WM.LayoutParams{(0,0)(fillxfill) sim=#110 ty=1 fl=#81810100 pfl=0x20000 wanim=0x1030001 vsysui=0x700 needsMenuKey=2 colorMode=0 naviIconColor=0}

[06-21 10:25:24.038 3249:3249 I/SurfaceFlinger] id=2143 createSurf (1080x1920),1 flag=404, com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity#0

[06-21 10:25:24.064 4390:4447 D/libGLESv1] STS_GLApi : DTS, ODTC are not allowed for Package : com.kmac5dev.mindfulnotifier

[06-21 10:25:24.077 3249:3249 I/SurfaceFlinger] id=2144 createSurf (1080x1920),4 flag=404, SurfaceView - com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity@3d6ad6a@0#0

[06-21 10:25:24.078 3249:3249 I/SurfaceFlinger] id=2145 createSurf (1080x1920),-1 flag=20404, Background for - SurfaceView - com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity@3d6ad6a@0#0

[06-21 10:25:24.078 4390:4390 D/SurfaceView] BG show() Surface(name=Background for - SurfaceView - com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity@3d6ad6a@0) io.flutter.embedding.android.k{3d6ad6a V.E...... ......ID 0,0-1080,1920}

[06-21 10:25:24.155 3249:3249 D/SurfaceFlinger] Display[0] configurations (* current):

[06-21 10:25:24.232 4390:4390 V/InputMethodManager] Starting input: tba=android.view.inputmethod.EditorInfo@1e89bd1 nm : com.kmac5dev.mindfulnotifier ic=null

[06-21 10:25:24.234 3690:4369 V/InputMethodManagerService] windowGainedFocus : reason=WINDOW_FOCUS_GAIN client=android.os.BinderProxy@976324 inputContext=null missingMethods= attribute=android.view.inputmethod.EditorInfo@76fb053 nm = com.kmac5dev.mindfulnotifier controlFlags=#105 softInputMode=#110 windowFlags=#81810100

[06-21 10:25:24.236 4390:4412 E/flutter] [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: RangeError: Value not in range: 1

0 _StringBase.substring (dart:core-patch/string_patch.dart:399)

1 Reminders._stripFirstQuote (package:mindfulnotifier/components/datastore.dart:779)

2 Reminders._sortAllByText. (package:mindfulnotifier/components/datastore.dart:789)

3 Sort._insertionSort (dart:_internal/sort.dart:69)

4 Sort._doSort (dart:_internal/sort.dart:58)

5 Sort.sort (dart:_internal/sort.dart:33)

6 ListMixin.sort (dart:collection/list.dart:356)

7 Reminders._sortAllByText (package:mindfulnotifier/components/datastore.dart:788)

8 new Reminders.fromJson (package:mindfulnotifier/components/datastore.dart:718)

9 ScheduleDataStore.jsonReminders= (package:mindfulnotifier/components/datastore.dart:623)

10 ScheduleDataStore.jsonReminders (package:mindfulnotifier/components/datastore.dart:635)

11 new InMemoryScheduleDataStore.fromDS (package:mindfulnotifier/components/datastore.dart:192)

12 ScheduleDataStore.getInMemoryInstance (package:mindfulnotifier/components/datastore.dart:263)

#13 main (package:mindfulnotifier/main.dart:31) [06-21 10:25:24.237 3690:4369 V/WindowManager] Relayout Window{85f6842 u0 com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity}: viewVisibility=0 req=1080x1920 WM.LayoutParams{(0,0)(fillxfill) sim=#10 ty=1 fl=#81810100 pfl=0x20000 fmt=-3 wanim=0x1030001 vsysui=0x700 needsMenuKey=2 colorMode=0 naviIconColor=0} [06-21 10:25:24.286 3690:4369 V/WindowManager] finishDrawingLocked: mDrawState=COMMIT_DRAW_PENDING Window{85f6842 u0 com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity} in Surface(name=com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity) [06-21 10:25:24.286 4390:4390 V/InputMethodManager] Starting input: tba=android.view.inputmethod.EditorInfo@42a3636 nm : com.kmac5dev.mindfulnotifier ic=null [06-21 10:25:24.295 3690:3770 D/ViewRootImpl@24729de[mindfulnotifier]] dispatchDetachedFromWindow [06-21 10:25:24.295 3690:3770 D/InputEventReceiver] channel '6c2a7bf Splash Screen com.kmac5dev.mindfulnotifier (client)' ~ Disposing input event receiver. [06-21 10:25:24.295 3690:3770 D/InputEventReceiver] channel '6c2a7bf Splash Screen com.kmac5dev.mindfulnotifier (client)' ~NativeInputEventReceiver. [06-21 10:25:24.310 3690:3730 I/ActivityManager] Displayed com.kmac5dev.mindfulnotifier/.MainActivity: +727ms [06-21 10:25:24.322 3249:3249 D/SurfaceFlinger] Display[0] configurations (* current): * 0: 1440x2560, xdpi=580.570984, ydpi=575.432983, refresh=16949152 numHwLayers=5, flags=00000000 type | handle | hint | flag | tr | blnd | format | source crop (l,t,r,b) | frame | name -----------+----------+------+------+----+------+-------------+--------------------------------+------------------------+------ GLES | 00000000 | 0000 | 0220 | 00 | 0105 | ? ffffffff | 0.0, 0.0, -1.0, -1.0 | 0, 0, 1080, 1920 | Background for - SurfaceView - com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity@3d6ad6a@0#0 HWC | 71d102db40 | 0000 | 0000 | 00 | 0105 | RGBA_8888 | 0.0, 0.0, 1080.0, 1920.0 | 0, 0, 1080, 1920 | com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity#0 HWC | 71d102d900 | 0000 | 0000 | 00 | 0105 | RGBA_8888 | 0.0, 0.0, 1080.0, 1920.0 | 0, 0, 1080, 1920 | Splash Screen com.kmac5dev.mindfulnotifier#0 HWC | 71ccdf80 [06-21 10:25:24.407 11430:1141 D/com.jarsilio.android.autoautorotate (d$a)] com.kmac5dev.mindfulnotifier is *not* in the list for auto-rotate. Setting auto-rotate to false (if not already set) [06-21 10:25:24.467 3690:3770 I/WindowManager] Destroying surface Surface(name=Splash Screen com.kmac5dev.mindfulnotifier) called by com.android.server.wm.WindowStateAnimator.destroySurface:2501 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:985 com.android.server.wm.WindowState.destroyOrSaveSurfaceUnchecked:3680 com.android.server.wm.WindowState.destroySurface:3628 com.android.server.wm.AppWindowToken.destroySurfaces:722 com.android.server.wm.AppWindowToken.destroySurfaces:706 com.android.server.wm.WindowState.onExitAnimationDone:5335 com.android.server.wm.WindowStateAnimator.stepAnimationLocked:550 [06-21 10:25:24.467 3249:4991 I/SurfaceFlinger] id=2141 Removed Splash Screen com.kmac5dev.mindfulnotifier#0 (4/5) [06-21 10:25:24.473 3249:3249 D/SurfaceFlinger] Display[0] configurations (* current): * 0: 1440x2560, xdpi=580.570984, ydpi=575.432983, refresh=16949152 numHwLayers=4, flags=00000000 type | handle | hint | flag | tr | blnd | format | source crop (l,t,r,b) | frame | name -----------+----------+------+------+----+------+-------------+--------------------------------+------------------------+------ GLES | 00000000 | 0000 | 0220 | 00 | 0105 | ? ffffffff | 0.0, 0.0, -1.0, -1.0 | 0, 0, 1080, 1920 | Background for - SurfaceView - com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity@3d6ad6a@0#0 HWC | 71d102db40 | 0000 | 0000 | 00 | 0105 | RGBA_8888 | 0.0, 0.0, 1080.0, 1920.0 | 0, 0, 1080, 1920 | com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity#0 HWC | 71ccdf8040 | 0000 | 0000 | 00 | 0105 | RGBA_8888 | 0.0, 0.0, 1080.0, 72.0 | 0, 0, 1080, 72 | StatusBar#0 FB TARGET | 71ccff5e40 | 0000 | 0000 | 00 | 0105 | RG [06-21 10:25:24.482 3249:3249 I/Layer] id=2141 onRemoved Splash Screen com.kmac5dev.mindfulnotifier#0 [06-21 10:25:28.382 4076:4076 D/ApplicationPackageManager] updateItemMetaDataForFixedIconScale: package: com.kmac5dev.mindfulnotifier [06-21 10:25:28.382 3690:18236 D/PackageManager] getSelectedMetaData : packageName(com.kmac5dev.mindfulnotifier) or Metadata strings {[Ljava.lang.String;@71504fd} [06-21 10:25:28.383 4076:4076 I/ApplicationPackageManager] load=com.kmac5dev.mindfulnotifier, bg=144-144, dr=144-144, forDefault=true, density=0 [06-21 10:25:28.387 4076:4076 I/ApplicationPackageManager] load=com.kmac5dev.mindfulnotifier-crop, bg=114-114, dr=144-144 [06-21 10:25:28.502 4390:4390 D/SurfaceView] BG show() Surface(name=Background for - SurfaceView - com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity@3d6ad6a@0) io.flutter.embedding.android.k{3d6ad6a V.E...... ........ 0,0-1080,1920} [06-21 10:25:28.527 4390:4390 D/SurfaceView] BG show() Surface(name=Background for - SurfaceView - com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity@3d6ad6a@0) io.flutter.embedding.android.k{3d6ad6a V.E...... ........ 0,0-1080,1920} [06-21 10:25:28.533 3690:18236 V/WindowManager] Relayout Window{85f6842 u0 com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity}: viewVisibility=4 req=1080x1920 WM.LayoutParams{(0,0)(fillxfill) sim=#10 ty=1 fl=#81810100 pfl=0x20000 fmt=-3 wanim=0x1030001 vsysui=0x700 needsMenuKey=2 colorMode=0 naviIconColor=0} [06-21 10:25:28.621 4076:4238 D/ApplicationPackageManager] updateItemMetaDataForFixedIconScale: package: com.kmac5dev.mindfulnotifier [06-21 10:25:28.622 3690:4371 D/PackageManager] getSelectedMetaData : packageName(com.kmac5dev.mindfulnotifier) or Metadata strings {[Ljava.lang.String;@31f3f9} [06-21 10:25:28.623 4076:4238 I/ApplicationPackageManager] load=com.kmac5dev.mindfulnotifier, bg=144-144, dr=144-144, forDefault=true, density=0 [06-21 10:25:28.627 4076:4238 I/ApplicationPackageManager] load=com.kmac5dev.mindfulnotifier-crop, bg=114-114, dr=144-144 [06-21 10:25:28.653 3690:5030 V/WindowManager] Relayout Window{85f6842 u0 com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity EXITING}: viewVisibility=8 req=1080x1920 WM.LayoutParams{(0,0)(fillxfill) sim=#10 ty=1 fl=#81810100 pfl=0x20000 fmt=-3 wanim=0x1030001 vsysui=0x700 needsMenuKey=2 colorMode=0 naviIconColor=0} [06-21 10:25:28.689 3249:3249 D/SurfaceFlinger] Display[0] configurations (* current): * 0: 1440x2560, xdpi=580.570984, ydpi=575.432983, refresh=16949152 numHwLayers=6, flags=00000000 type | handle | hint | flag | tr | blnd | format | source crop (l,t,r,b) | frame | name -----------+----------+------+------+----+------+-------------+--------------------------------+------------------------+------ HWC | 71ba88d540 | 0000 | 0020 | 00 | 0100 | RGBx_8888 | 140.0, 0.0, 1220.0, 1920.0 | 0, 0, 1080, 1920 | com.android.systemui.ImageWallpaper#0 HWC | 71ccdf7440 | 0000 | 0000 | 00 | 0105 | RGBA_8888 | 0.0, 0.0, 1080.0, 1920.0 | 0, 0, 1080, 1920 | com.android.systemui/com.android.systemui.recents.RecentsActivity#0 GLES | 00000000 | 0000 | 0220 | 00 | 0105 | ? ffffffff | 0.0, 0.0, -1.0, -1.0 | 0, 8, 1079, 1920 | Background for - SurfaceView - com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity@3d6ad6a@0#0 HWC | 71d102db40 | 0000 | [06-21 10:25:28.689 3249:3249 D/SurfaceFlinger] 0000 | 00 | 0105 | RGBA_8888 | 0.0, 0.0, 1080.0, 1914.0 | 0, 8, 1079, 1920 | com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity#0 HWC | 71cc4c72c0 | 0000 | 0000 | 00 | 0105 | RGBA_8888 | 0.0, 0.0, 1080.0, 72.0 | 0, 0, 1080, 72 | StatusBar#0 FB TARGET | 71ccff5d80 | 0000 | 0000 | 00 | 0105 | RGBA_8888 | 0.0, 0.0, 1440.0, 2560.0 | 0, 0, 1440, 2560 | HWC_FRAMEBUFFER_TARGET [06-21 10:25:28.723 3249:3249 D/SurfaceFlinger] Display[0] configurations (* current): * 0: 1440x2560, xdpi=580.570984, ydpi=575.432983, refresh=16949152 numHwLayers=5, flags=00000000 type | handle | hint | flag | tr | blnd | format | source crop (l,t,r,b) | frame | name -----------+----------+------+------+----+------+-------------+--------------------------------+------------------------+------ HWC | 71ba88d540 | 0000 | 0020 | 00 | 0100 | RGBx_8888 | 140.0, 0.0, 1220.0, 1920.0 | 0, 0, 1080, 1920 | com.android.systemui.ImageWallpaper#0 HWC | 71d102d9c0 | 0000 | 0000 | 00 | 0105 | RGBA_8888 | 0.0, 0.0, 1080.0, 1920.0 | 0, 0, 1080, 1920 | com.android.systemui/com.android.systemui.recents.RecentsActivity#0 GLES | 00000000 | 0000 | 0220 | 00 | 0105 | ? ffffffff | 0.0, -0.0, -1.0, -1.0 | 5, 93, 1075, 1920 | Background for - SurfaceView - com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity@3d6ad6a@0#0 HWC | 71d102db40 | 0000 | [06-21 10:25:28.723 3249:3249 D/SurfaceFlinger] 0000 | 00 | 0105 | RGBA_8888 | 0.0, 5.0, 1080.0, 1850.0 | 5, 93, 1075, 1920 | com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity#0 FB TARGET | 71ccff5e40 | 0000 | 0000 | 00 | 0105 | RGBA_8888 | 0.0, 0.0, 1440.0, 2560.0 | 0, 0, 1440, 2560 | HWC_FRAMEBUFFER_TARGET [06-21 10:25:28.890 3249:3249 D/SurfaceFlinger] Display[0] configurations (* current): * 0: 1440x2560, xdpi=580.570984, ydpi=575.432983, refresh=16949152 numHwLayers=6, flags=00000000 type | handle | hint | flag | tr | blnd | format | source crop (l,t,r,b) | frame | name -----------+----------+------+------+----+------+-------------+--------------------------------+------------------------+------ HWC | 71ba88d540 | 0000 | 0020 | 00 | 0100 | RGBx_8888 | 140.0, 0.0, 1220.0, 1920.0 | 0, 0, 1080, 1920 | com.android.systemui.ImageWallpaper#0 HWC | 71ccdf7440 | 0000 | 0000 | 00 | 0105 | RGBA_8888 | 0.0, 0.0, 1080.0, 1920.0 | 0, 0, 1080, 1920 | com.android.systemui/com.android.systemui.recents.RecentsActivity#0 GLES | 00000000 | 0000 | 0220 | 00 | 0105 | ? ffffffff | 0.0, -0.0, -1.0, -0.5 | 63, 1141, 1016, 1920 | Background for - SurfaceView - com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity@3d6ad6a@0#0 HWC | 71d102db40 | 0000 | [06-21 10:25:28.890 3249:3249 D/SurfaceFlinger] 0000 | 00 | 0105 | RGBA_8888 | 0.0, 62.0, 1080.0, 945.0 | 63, 1141, 1016, 1920 | com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity#0 HWC | 71d102d3c0 | 0000 | 0000 | 00 | 0105 | RGBA_8888 | 0.0, 0.0, 933.0, 132.0 | 62, 1159, 1014, 1294 | thumbnail anim#0 FB TARGET | 71ccff5d80 | 0000 | 0000 | 00 | 0105 | RGBA_8888 | 0.0, 0.0, 1440.0, 2560.0 | 0, 0, 1440, 2560 | HWC_FRAMEBUFFER_TARGET [06-21 10:25:29.100 3690:3770 I/WindowManager] Destroying surface Surface(name=com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2501 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:985 com.android.server.wm.WindowState.destroyOrSaveSurfaceUnchecked:3680 com.android.server.wm.WindowState.destroySurface:3628 com.android.server.wm.AppWindowToken.destroySurfaces:722 com.android.server.wm.AppWindowToken.destroySurfaces:706 com.android.server.wm.WindowState.onExitAnimationDone:5335 com.android.server.wm.WindowStateAnimator.stepAnimationLocked:550 [06-21 10:25:29.100 3249:3315 I/SurfaceFlinger] id=2143 Removed com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity#0 (4/6) [06-21 10:25:29.101 3249:4692 I/SurfaceFlinger] id=2143 Removed com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity#0 (-2/6) [06-21 10:25:29.117 3249:3249 I/Layer] id=2143 onRemoved com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity#0 [06-21 10:25:29.117 3249:3249 I/Layer] id=2145 onRemoved Background for - SurfaceView - com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity@3d6ad6a@0#0 [06-21 10:25:29.117 3249:3249 I/Layer] id=2144 onRemoved SurfaceView - com.kmac5dev.mindfulnotifier/com.kmac5dev.mindfulnotifier.MainActivity@3d6ad6a@0#0 [06-21 10:25:29.895 4076:29735 D/ApplicationPackageManager] updateItemMetaDataForFixedIconScale: package: com.kmac5dev.mindfulnotifier [06-21 10:25:29.895 3690:5829 D/PackageManager] getSelectedMetaData : packageName(com.kmac5dev.mindfulnotifier) or Metadata strings {[Ljava.lang.String;@ab4384} [06-21 10:25:29.896 4076:29735 I/ApplicationPackageManager] load=com.kmac5dev.mindfulnotifier, bg=144-144, dr=144-144, forDefault=true, density=0 [06-21 10:25:29.899 4076:29735 I/ApplicationPackageManager] load=com.kmac5dev.mindfulnotifier-crop, bg=114-114, dr=144-144
kmac commented 3 years ago

Thanks @r4taw2mg I think the error you're seeing is in that log. Looking at it now. I think you have an 'empty' reminder in your list, like an empty string? It seems to be choking on that. It should be easy to fix.

kmac commented 3 years ago

I pushed a fix for this in Release 1.0.18. I'm going to close this now because I'm pretty sure this should fix the issue, but @r4taw2mg please let me know if you still see issues. Thanks for that log file it was a big help.

r4taw2mg commented 3 years ago

Thanks a lot. I'll be checking and reporting back.