plateaukao / einkbro

A small, fast web browser based on Android WebView. It's tailored for E-Ink devices but also works great on normal android devices.
https://einkbro.github.io/overview.html
Other
1.24k stars 88 forks source link

FATL_EXCEPTION in 汉王N10 #167

Closed lutts closed 2 years ago

lutts commented 2 years ago

What device and app version are you using

Describe the bug

09-14 14:07:41.762 7521 7521 D AndroidRuntime: Shutting down VM 09-14 14:07:41.764 7521 7521 E AndroidRuntime: FATAL EXCEPTION: main 09-14 14:07:41.764 7521 7521 E AndroidRuntime: Process: info.plateaukao.einkbro, PID: 7521 09-14 14:07:41.764 7521 7521 E AndroidRuntime: java.lang.NullPointerException: null cannot be cast to non-null type info.plateaukao.einkbro.view.NinjaWebView 09-14 14:07:41.764 7521 7521 E AndroidRuntime: at java.util.Objects.requireNonNull(Objects.java:245) 09-14 14:07:41.764 7521 7521 E AndroidRuntime: at info.plateaukao.einkbro.activity.BrowserActivity.y2(Unknown Source:7) 09-14 14:07:41.764 7521 7521 E AndroidRuntime: at info.plateaukao.einkbro.activity.BrowserActivity.G0(Unknown Source:0) 09-14 14:07:41.764 7521 7521 E AndroidRuntime: at info.plateaukao.einkbro.activity.BrowserActivity$m.a(Unknown Source:15) 09-14 14:07:41.764 7521 7521 E AndroidRuntime: at info.plateaukao.einkbro.activity.BrowserActivity$m.R(Unknown Source:2) 09-14 14:07:41.764 7521 7521 E AndroidRuntime: at x4.b$j.a(Unknown Source:19) 09-14 14:07:41.764 7521 7521 E AndroidRuntime: at x4.b$j.R(Unknown Source:2) 09-14 14:07:41.764 7521 7521 E AndroidRuntime: at b0.q.d(Unknown Source:143) 09-14 14:07:41.764 7521 7521 E AndroidRuntime: at b0.p0$a.a(Unknown Source:6) 09-14 14:07:41.764 7521 7521 E AndroidRuntime: at b0.p0$a.R(Unknown Source:6) 09-14 14:07:41.764 7521 7521 E AndroidRuntime: at x1.d0$d.b(Unknown Source:10) 09-14 14:07:41.764 7521 7521 E AndroidRuntime: at x1.w.performEditorAction(Unknown Source:82) 09-14 14:07:41.764 7521 7521 E AndroidRuntime: at com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:363) 09-14 14:07:41.764 7521 7521 E AndroidRuntime: at com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:93) 09-14 14:07:41.764 7521 7521 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106) 09-14 14:07:41.764 7521 7521 E AndroidRuntime: at android.os.Looper.loop(Looper.java:223) 09-14 14:07:41.764 7521 7521 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7840) 09-14 14:07:41.764 7521 7521 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 09-14 14:07:41.764 7521 7521 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) 09-14 14:07:41.764 7521 7521 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947) 09-14 14:07:41.772 370 7573 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2 09-14 14:07:41.772 370 384 W ActivityTaskManager: Force finishing activity info.plateaukao.einkbro/.activity.BrowserActivity

To Reproduce

lutts commented 2 years ago

bellow is another full session log, there no webview related log, like WebViewFactory etc.

09-14 21:31:52.463 370 746 I ActivityTaskManager: START u0 {act=android.intent.action.VIEW flg=0x10000000 cmp=info.plateaukao.einkbro/.activity.BrowserActivity (has extras)} from uid 10085 09-14 21:31:52.464 370 746 W ActivityTaskManager: Activity is launching as a new task, so cancelling activity result. 09-14 21:31:52.345 370 437 I chatty : uid=1000(system) InputDispatcher identical 2 lines 09-14 21:31:52.345 370 437 E libsuspend: cancle this idle 09-14 21:31:52.476 370 746 E libsuspend: cancle this idle 09-14 21:31:52.484 10635 10635 D HANVONEBK-JNI: !!!!!!!!!android_hwebook_HANVONEBK_GetDeviceID. 09-14 21:31:52.485 10635 10635 E HANVONEBK-JNI: sn vendor read: 09-14 21:31:52.485 10635 10635 E HANVONEBK-JNI: 0x39 0x36 0x31 0x32 09-14 21:31:52.485 10635 10635 E HANVONEBK-JNI: 0x39 0x32 0x32 0x30 09-14 21:31:52.485 10635 10635 D HANVONEBK-JNI: sn vendor read length=16 09-14 21:31:52.485 10635 10635 D HANVONEBK-JNI: sn vendor read sn_buf_idb:9612922060000077 09-14 21:31:52.494 370 389 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 10186; state: DISABLED 09-14 21:31:52.496 370 399 D CompatibilityChangeReporter: Compat change id reported: 143937733; UID 10186; state: ENABLED 09-14 21:31:52.531 210 210 D Zygote : Forked child process 23096 09-14 21:31:52.537 370 399 I ActivityManager: Start proc 23096:info.plateaukao.einkbro/u0a186 for pre-top-activity {info.plateaukao.einkbro/info.plateaukao.einkbro.activity.BrowserActivity} 09-14 21:31:52.559 23096 23096 E teaukao.einkbr: Not starting debugger since process cannot load the jdwp agent. 09-14 21:31:52.562 190 191 D gralloc4: [File] : hardware/rockchip/libgralloc/bifrost/src/hidl_common/Allocator.cpp; [Line] : 147; [Func] : allocate; 09-14 21:31:52.562 190 191 D gralloc4: got new private_handle_t instance @0xf42d3800 for buffer 'Splash Screen info.plateaukao.einkbro#0'. share_fd : 7, share_attr_fd : 8, flags : 0x4, width : 1404, height : 1872, req_format : 0x1, producer_usage : 0x933, consumer_usage : 0x933, internal_format : 0x0, stride : 1408, byte_stride : 0, internalWidth : 0, internalHeight : 0, alloc_format : 0x1, size : 10543104, layer_count : 1, backing_store_size : 10543104, allocating_pid : 190, ref_count : 1, yuv_info : 0 09-14 21:31:52.562 190 191 D gralloc4: plane_info[0]: offset : 0, byte_stride : 5632, alloc_width : 1404, alloc_height : 1872 09-14 21:31:52.562 190 191 D gralloc4: plane_info[1]: offset : 0, byte_stride : 0, alloc_width : 0, alloc_height : 0 09-14 21:31:52.628 155 1860 E BufferQueueProducer: hanvon.aebr.hvLauncher/hanvon.aebr.hvLauncher.ui.AppsActivity#0 disconnect: not connected (req=1) 09-14 21:31:52.630 10635 10655 W libEGL : EGLNativeWindowType 0xf2fc6c08 disconnect failed 09-14 21:31:52.683 690 24867 D RecentsModel: onTaskStackChangedBackground: 09-14 21:31:52.683 690 24867 D RecentsModel: onTaskStackChangedBackground: preloading not enable, skip. 09-14 21:31:52.695 23096 23096 D NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: false 09-14 21:31:53.038 23096 23096 V ActivityThread: hehe16 nCurKeyType=0 nNoteModify=1 nHvReader=1 package=info.plateaukao.einkbro cls=info.plateaukao.einkbro.activity.BrowserActivity splitmode=0 09-14 21:31:52.698 23096 23096 D NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: false 09-14 21:31:54.254 23096 23115 I mali_so : [File] : hardware/rockchip/mali_so/driver/product/base/src/mali_base_kbase.c; [Line] : 1311; [Func] : base_context_deal_with_version_affairs_rk_ext; 09-14 21:31:54.254 23096 23115 I mali_so : arm_release_ver of this mali_so is 'g2p0-01eac0', rk_so_ver is '8@0 '. 09-14 21:31:54.254 23096 23115 I mali_so : [File] : hardware/rockchip/mali_so/driver/product/base/src/mali_base_kbase.c; [Line] : 1327; [Func] : base_context_deal_with_version_affairs_rk_ext; 09-14 21:31:54.254 23096 23115 I mali_so : arm_release_vers are match. to set the full mali_ver 'g2p0-01eac0-x-8@0' as value of 'sys.gmali.version'. 09-14 21:31:54.254 23096 23115 W libc : Unable to set property "sys.gmali.version" to "g2p0-01eac0-x-8@0": connection failed; errno=13 (Permission denied) 09-14 21:31:54.252 23096 23096 W RenderThread: type=1400 audit(0.0:82179): avc: denied { write } for name="property_service" dev="tmpfs" ino=2341 scontext=u:r:untrusted_app:s0:c186,c256,c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0 app=info.plateaukao.einkbro 09-14 21:31:54.262 23096 23096 W View : requestLayout() improperly called by android.widget.RelativeLayout{fdfb0a0 V.E...... ......ID 0,0-1404,1707 #7f090048 app:id/activity_main_content} during layout: running second layout pass 09-14 21:31:54.273 133 133 I hwservicemanager: getTransport: Cannot find entry android.hardware.configstore@1.0::ISurfaceFlingerConfigs/default in either framework or device manifest. 09-14 21:31:54.323 190 191 D gralloc4: [File] : hardware/rockchip/libgralloc/bifrost/src/hidl_common/Allocator.cpp; [Line] : 147; [Func] : allocate; 09-14 21:31:54.323 190 191 D gralloc4: got new private_handle_t instance @0xf42d3800 for buffer 'info.plateaukao.einkbro/info.plateaukao.einkbro.activity.BrowserActivity#0'. share_fd : 7, share_attr_fd : 8, flags : 0x4, width : 1404, height : 1872, req_format : 0x1, producer_usage : 0x40000000000b00, consumer_usage : 0x40000000000b00, internal_format : 0x0, stride : 0, byte_stride : 0, internalWidth : 0, internalHeight : 0, alloc_format : 0x100000001, size : 10707968, layer_count : 1, backing_store_size : 10707968, allocating_pid : 190, ref_count : 1, yuv_info : 0 09-14 21:31:54.324 190 191 D gralloc4: plane_info[0]: offset : 0, byte_stride : 5632, alloc_width : 1408, alloc_height : 1872 09-14 21:31:54.324 190 191 D gralloc4: plane_info[1]: offset : 0, byte_stride : 0, alloc_width : 0, alloc_height : 0 09-14 21:31:54.331 190 191 D gralloc4: [File] : hardware/rockchip/libgralloc/bifrost/src/hidl_common/Allocator.cpp; [Line] : 147; [Func] : allocate; 09-14 21:31:54.331 190 191 D gralloc4: got new private_handle_t instance @0xf42d3800 for buffer 'info.plateaukao.einkbro/info.plateaukao.einkbro.activity.BrowserActivity#0'. share_fd : 7, share_attr_fd : 8, flags : 0x4, width : 1404, height : 1872, req_format : 0x1, producer_usage : 0x40000000000b00, consumer_usage : 0x40000000000b00, internal_format : 0x0, stride : 0, byte_stride : 0, internalWidth : 0, internalHeight : 0, alloc_format : 0x100000001, size : 10707968, layer_count : 1, backing_store_size : 10707968, allocating_pid : 190, ref_count : 1, yuv_info : 0 09-14 21:31:54.331 190 191 D gralloc4: plane_info[0]: offset : 0, byte_stride : 5632, alloc_width : 1408, alloc_height : 1872 09-14 21:31:54.331 190 191 D gralloc4: plane_info[1]: offset : 0, byte_stride : 0, alloc_width : 0, alloc_height : 0 09-14 21:31:54.335 190 1872 D gralloc4: [File] : hardware/rockchip/libgralloc/bifrost/src/hidl_common/Allocator.cpp; [Line] : 147; [Func] : allocate; 09-14 21:31:54.335 190 1872 D gralloc4: got new private_handle_t instance @0xf42d3800 for buffer 'info.plateaukao.einkbro/info.plateaukao.einkbro.activity.BrowserActivity#0'. share_fd : 7, share_attr_fd : 8, flags : 0x4, width : 1404, height : 1872, req_format : 0x1, producer_usage : 0x40000000000b00, consumer_usage : 0x40000000000b00, internal_format : 0x0, stride : 0, byte_stride : 0, internalWidth : 0, internalHeight : 0, alloc_format : 0x100000001, size : 10707968, layer_count : 1, backing_store_size : 10707968, allocating_pid : 190, ref_count : 1, yuv_info : 0 09-14 21:31:54.335 190 1872 D gralloc4: plane_info[0]: offset : 0, byte_stride : 5632, alloc_width : 1408, alloc_height : 1872 09-14 21:31:54.335 190 1872 D gralloc4: plane_info[1]: offset : 0, byte_stride : 0, alloc_width : 0, alloc_height : 0 09-14 21:31:54.411 190 1872 D gralloc4: [File] : hardware/rockchip/libgralloc/bifrost/src/hidl_common/Allocator.cpp; [Line] : 147; [Func] : allocate; 09-14 21:31:54.411 190 1872 D gralloc4: got new private_handle_t instance @0xf42d3800 for buffer 'info.plateaukao.einkbro/info.plateaukao.einkbro.activity.BrowserActivity#0'. share_fd : 7, share_attr_fd : 8, flags : 0x4, width : 1872, height : 1404, req_format : 0x1, producer_usage : 0x40000000000b00, consumer_usage : 0x40000000000b00, internal_format : 0x0, stride : 0, byte_stride : 0, internalWidth : 0, internalHeight : 0, alloc_format : 0x100000001, size : 10707968, layer_count : 1, backing_store_size : 10707968, allocating_pid : 190, ref_count : 1, yuv_info : 0 09-14 21:31:54.411 190 1872 D gralloc4: plane_info[0]: offset : 0, byte_stride : 7488, alloc_width : 1872, alloc_height : 1408 09-14 21:31:54.411 190 1872 D gralloc4: plane_info[1]: offset : 0, byte_stride : 0, alloc_width : 0, alloc_height : 0 09-14 21:31:54.495 23096 23115 I OpenGLRenderer: Davey! duration=1726ms; Flags=1, IntendedVsync=123035909773848, Vsync=123036176440504, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=123036180653913, AnimationStart=123036180664413, PerformTraversalsStart=123036182454372, DrawStart=123037464711584, SyncQueued=123037540748800, SyncStart=123037541560800, IssueDrawCommandsStart=123037541915175, SwapBuffers=123037605574640, FrameCompleted=123037636632184, DequeueBufferDuration=6413751, QueueBufferDuration=1063125, GpuCompleted=0, 09-14 21:31:54.514 370 397 I ActivityTaskManager: Displayed info.plateaukao.einkbro/.activity.BrowserActivity: +2s40ms 09-14 21:31:54.620 23096 23096 I Choreographer: Skipped 92 frames! The application may be doing too much work on its main thread. 09-14 21:31:54.958 190 1872 D gralloc4: [File] : hardware/rockchip/libgralloc/bifrost/src/hidl_common/Allocator.cpp; [Line] : 147; [Func] : allocate; 09-14 21:31:54.958 190 1872 D gralloc4: got new private_handle_t instance @0xf42d3800 for buffer 'info.plateaukao.einkbro/info.plateaukao.einkbro.activity.BrowserActivity#0'. share_fd : 7, share_attr_fd : 8, flags : 0x4, width : 1872, height : 1404, req_format : 0x1, producer_usage : 0x40000000000b00, consumer_usage : 0x40000000000b00, internal_format : 0x0, stride : 0, byte_stride : 0, internalWidth : 0, internalHeight : 0, alloc_format : 0x100000001, size : 10707968, layer_count : 1, backing_store_size : 10707968, allocating_pid : 190, ref_count : 1, yuv_info : 0 09-14 21:31:54.959 190 1872 D gralloc4: plane_info[0]: offset : 0, byte_stride : 7488, alloc_width : 1872, alloc_height : 1408 09-14 21:31:54.959 190 1872 D gralloc4: plane_info[1]: offset : 0, byte_stride : 0, alloc_width : 0, alloc_height : 0 09-14 21:31:54.972 23096 23115 I OpenGLRenderer: Davey! duration=1891ms; Flags=0, IntendedVsync=123036220733997, Vsync=123037754067269, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=123037762194114, AnimationStart=123037762200239, PerformTraversalsStart=123038026646557, DrawStart=123038026773140, SyncQueued=123038093661647, SyncStart=123038094882564, IssueDrawCommandsStart=123038095183856, SwapBuffers=123038110246982, FrameCompleted=123038113721607, DequeueBufferDuration=5580750, QueueBufferDuration=2023000, GpuCompleted=0, 09-14 21:31:55.022 190 1872 D gralloc4: [File] : hardware/rockchip/libgralloc/bifrost/src/hidl_common/Allocator.cpp; [Line] : 147; [Func] : allocate; 09-14 21:31:55.022 190 1872 D gralloc4: got new private_handle_t instance @0xf42d3800 for buffer 'info.plateaukao.einkbro/info.plateaukao.einkbro.activity.BrowserActivity#0'. share_fd : 7, share_attr_fd : 8, flags : 0x4, width : 1872, height : 1404, req_format : 0x1, producer_usage : 0x40000000000b00, consumer_usage : 0x40000000000b00, internal_format : 0x0, stride : 0, byte_stride : 0, internalWidth : 0, internalHeight : 0, alloc_format : 0x100000001, size : 10707968, layer_count : 1, backing_store_size : 10707968, allocating_pid : 190, ref_count : 1, yuv_info : 0 09-14 21:31:55.022 190 1872 D gralloc4: plane_info[0]: offset : 0, byte_stride : 7488, alloc_width : 1872, alloc_height : 1408 09-14 21:31:55.023 190 1872 D gralloc4: plane_info[1]: offset : 0, byte_stride : 0, alloc_width : 0, alloc_height : 0 09-14 21:31:55.028 370 9544 V ActivityTaskManager: getPackageFerformanceMode--ComponentInfo{info.plateaukao.einkbro/info.plateaukao.einkbro.activity.BrowserActivity}----info.plateaukao.einkbro 09-14 21:31:55.031 370 9544 E libsuspend: cancle this idle 09-14 21:31:55.039 22850 24866 D EinkSettingsProvider: query uri: content://com.android.systemui.eink/einksettingsupdate 09-14 21:31:55.040 22850 24866 D EinkSettingsProvider: packageName: info.plateaukao.einkbro 09-14 21:31:55.042 22850 24866 D EinkSettingsProvider: cursor.getCount() > 0 DPI: 330 09-14 21:31:55.056 23096 23096 V Activity: ---zc---onReceive onAppBleachConfigChanged bleach 09-14 21:32:00.003 370 435 E libsuspend: cancle this idle 09-14 21:32:00.010 22274 22274 D dau-tracker: minute change time:21,32,0 09-14 21:32:00.018 370 370 E libsuspend: cancle this idle 09-14 21:32:15.030 370 410 D PowerManagerService: mWakeLockSuspendBlocker currentCount = 0 09-14 21:32:15.030 370 410 E libsuspend: ======autosuspend_idle screen_on 1 09-14 21:32:15.030 370 410 E libsuspend: autosuspend_enable 09-14 21:32:15.030 370 410 E libsuspend: autosuspend_wakeup_count_enable 09-14 21:32:29.442 23136 23136 W netstat : type=1400 audit(0.0:82180): avc: denied { getattr } for path="/proc/fb" dev="proc" ino=4026531929 scontext=u:r:untrusted_app_29:s0:c146,c256,c512,c768 tcontext=u:object_r:proc:s0 tclass=file permissive=0 app=com.qidian.QDReader 09-14 21:32:29.442 23136 23136 W netstat : type=1400 audit(0.0:82181): avc: denied { getattr } for path="/proc/iep" dev="proc" ino=4026532137 scontext=u:r:untrusted_app_29:s0:c146,c256,c512,c768 tcontext=u:object_r:proc:s0 tclass=file permissive=0 app=com.qidian.QDReader 09-14 21:32:29.442 23136 23136 W netstat : type=1400 audit(0.0:82182): avc: denied { getattr } for path="/proc/keys" dev="proc" ino=4026532121 scontext=u:r:untrusted_app_29:s0:c146,c256,c512,c768 tcontext=u:object_r:proc_keys:s0 tclass=file permissive=0 app=com.qidian.QDReader 09-14 21:32:29.445 23136 23136 W netstat : type=1400 audit(0.0:82187): avc: denied { getattr } for path="/proc/locks" dev="proc" ino=4026532032 scontext=u:r:untrusted_app_29:s0:c146,c256,c512,c768 tcontext=u:object_r:proc:s0 tclass=file permissive=0 app=com.qidian.QDReader 09-14 21:32:33.702 370 370 D WifiSleepController: onReceive, action=android.intent.action.BATTERY_CHANGED 09-14 21:32:33.702 370 370 D WifiSleepController: updateChargingState, mCharging: true 09-14 21:33:00.003 370 435 E libsuspend: cancle this idle 09-14 21:33:00.012 370 370 E libsuspend: cancle this idle 09-14 21:33:00.013 22274 22274 D dau-tracker: minute change time:21,33,0 09-14 21:33:15.028 370 410 E libsuspend: ======autosuspend_idle screen_on 1 09-14 21:33:15.028 370 410 E libsuspend: autosuspend_enable 09-14 21:33:15.028 370 410 E libsuspend: autosuspend_wakeup_count_enable 09-14 21:33:15.651 370 437 E libsuspend: cancle this idle 09-14 21:33:20.033 23096 23096 E AndroidRuntime: FATAL EXCEPTION: main 09-14 21:33:20.033 23096 23096 E AndroidRuntime: Process: info.plateaukao.einkbro, PID: 23096 09-14 21:33:20.033 23096 23096 E AndroidRuntime: d5.u: lateinit property ninjaWebView has not been initialized 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at info.plateaukao.einkbro.activity.BrowserActivity.d1(Unknown Source:7) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at info.plateaukao.einkbro.activity.BrowserActivity.U0(Unknown Source:9) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at info.plateaukao.einkbro.activity.BrowserActivity.L1(Unknown Source:174) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at info.plateaukao.einkbro.activity.BrowserActivity$f$a.i(Unknown Source:9) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at info.plateaukao.einkbro.activity.BrowserActivity$f$a.R(Unknown Source:2) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at x4.l$d.a(Unknown Source:4) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at x4.l$d.r(Unknown Source:0) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at r.k$d$c$b.a(Unknown Source:12) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at r.k$d$c$b.R(Unknown Source:6) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at s.b0$e$a$a.k(Unknown Source:127) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at j5.a.w(Unknown Source:11) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at a6.a1.d(Unknown Source:85) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at a6.a1.a(Unknown Source:51) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at a6.p.r(Unknown Source:7) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at a6.p.K(Unknown Source:30) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at a6.p.L(Unknown Source:7) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at a6.p.w(Unknown Source:10) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at g1.l0$a.C(Unknown Source:27) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at g1.l0.G0(Unknown Source:50) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at g1.l0.J(Unknown Source:18) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at g1.k.f(Unknown Source:108) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at g1.k.f(Unknown Source:90) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at g1.k.f(Unknown Source:90) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at g1.k.f(Unknown Source:90) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at g1.l.f(Unknown Source:34) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at g1.g.b(Unknown Source:29) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at g1.c0.a(Unknown Source:192) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at androidx.compose.ui.platform.AndroidComposeView.p0(Unknown Source:57) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at androidx.compose.ui.platform.AndroidComposeView.T(Unknown Source:136) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at androidx.compose.ui.platform.AndroidComposeView.dispatchTouchEvent(Unknown Source:68) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:495) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1873) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.app.Activity.dispatchTouchEvent(Activity.java:4224) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:453) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.View.dispatchPointerEvent(View.java:14712) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:6022) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:5825) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5316) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5373) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5339) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:5491) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5347) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:5548) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5320) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5373) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5339) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5347) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5320) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:8086) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:8037) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:7998) 09-14 21:33:20.033 23096 23096 E AndroidRuntime: at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:8209) 09-14 21:33:20.034 23096 23096 E AndroidRuntime: at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:220) 09-14 21:33:20.034 23096 23096 E AndroidRuntime: at android.os.MessageQueue.nativePollOnce(Native Method) 09-14 21:33:20.034 23096 23096 E AndroidRuntime: at android.os.MessageQueue.next(MessageQueue.java:335) 09-14 21:33:20.034 23096 23096 E AndroidRuntime: at android.os.Looper.loop(Looper.java:183) 09-14 21:33:20.034 23096 23096 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7840) 09-14 21:33:20.034 23096 23096 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 09-14 21:33:20.034 23096 23096 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) 09-14 21:33:20.034 23096 23096 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947) 09-14 21:33:20.034 23096 23096 E AndroidRuntime: Suppressed: a6.x0: [androidx.compose.ui.platform.g1@d7c526e, f0.g@e20cd0f, s2{Cancelling}@b0c119c, c0@c2937a5] 09-14 21:33:15.028 370 410 D PowerManagerService: mWakeLockSuspendBlocker currentCount = 0 09-14 21:33:20.041 370 23139 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2 09-14 21:33:20.042 370 746 W ActivityTaskManager: Force finishing activity info.plateaukao.einkbro/.activity.BrowserActivity

lutts commented 2 years ago

Workaroud: after launch EInkbro, click "+" to manually add a tab, then all will be ok, it will not crash. so I guess it's the "lateinit" declaration cause the problem

plateaukao commented 2 years ago

Hi, @lutts May I know what url you set as home page? Or what settings you have configured so that when you try to type something in address bar, it will crash. Since the crash log is with release version, I can't tell the exact position of where it crashes. If possible, could you install this releaseDebuggable version, and run the same steps again? https://github.com/plateaukao/einkbro/releases/download/v9.7.0/app-releaseDebuggable.apk The crash logs in this apk should be more helpful for investigation.

lutts commented 2 years ago

I did not set a home page, I am a newer to Einkbro

my operation sequence:

the related log (apk installation log is not included, I think it's not important)

09-15 06:53:51.605 370 746 I ActivityTaskManager: START u0 {act=android.intent.action.VIEW flg=0x10000000 cmp=info.plateaukao.einkbro/.activity.BrowserActivity (has extras)} from uid 10085 09-15 06:53:51.616 370 746 W ActivityTaskManager: Activity is launching as a new task, so cancelling activity result. 09-15 06:53:51.537 370 437 I chatty : uid=1000(system) InputDispatcher identical 2 lines 09-15 06:53:51.537 370 437 E libsuspend: cancle this idle 09-15 06:53:51.626 370 746 E libsuspend: cancle this idle 09-15 06:53:51.632 10635 10635 D HANVONEBK-JNI: !!!!!!!!!android_hwebook_HANVONEBK_GetDeviceID. 09-15 06:53:51.632 10635 10635 E HANVONEBK-JNI: sn vendor read: 09-15 06:53:51.632 10635 10635 E HANVONEBK-JNI: 0x39 0x36 0x31 0x32 09-15 06:53:51.632 10635 10635 E HANVONEBK-JNI: 0x39 0x32 0x32 0x30 09-15 06:53:51.632 10635 10635 D HANVONEBK-JNI: sn vendor read length=16 09-15 06:53:51.632 10635 10635 D HANVONEBK-JNI: sn vendor read sn_buf_idb:9612922060000077 09-15 06:53:51.639 370 389 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 10190; state: DISABLED 09-15 06:53:51.640 370 399 D CompatibilityChangeReporter: Compat change id reported: 143937733; UID 10190; state: ENABLED 09-15 06:53:51.673 210 210 D Zygote : Forked child process 27084 09-15 06:53:51.680 370 399 I ActivityManager: Start proc 27084:info.plateaukao.einkbro/u0a190 for pre-top-activity {info.plateaukao.einkbro/info.plateaukao.einkbro.activity.BrowserActivity} 09-15 06:53:51.688 27084 27084 I teaukao.einkbr: Late-enabling -Xcheck:jni 09-15 06:53:51.711 190 191 D gralloc4: [File] : hardware/rockchip/libgralloc/bifrost/src/hidl_common/Allocator.cpp; [Line] : 147; [Func] : allocate; 09-15 06:53:51.711 190 191 D gralloc4: got new private_handle_t instance @0xf42d3800 for buffer 'Splash Screen info.plateaukao.einkbro#0'. share_fd : 7, share_attr_fd : 8, flags : 0x4, width : 1404, height : 1872, req_format : 0x1, producer_usage : 0x933, consumer_usage : 0x933, internal_format : 0x0, stride : 1408, byte_stride : 0, internalWidth : 0, internalHeight : 0, alloc_format : 0x1, size : 10543104, layer_count : 1, backing_store_size : 10543104, allocating_pid : 190, ref_count : 1, yuv_info : 0 09-15 06:53:51.711 190 191 D gralloc4: plane_info[0]: offset : 0, byte_stride : 5632, alloc_width : 1404, alloc_height : 1872 09-15 06:53:51.711 190 191 D gralloc4: plane_info[1]: offset : 0, byte_stride : 0, alloc_width : 0, alloc_height : 0 09-15 06:53:51.752 690 17680 D RecentsModel: onTaskStackChangedBackground: 09-15 06:53:51.752 690 17680 D RecentsModel: onTaskStackChangedBackground: preloading not enable, skip. 09-15 06:53:51.755 27084 27084 I teaukao.einkbr: Unquickening 12 vdex files! 09-15 06:53:51.777 18429 18433 I adbd : jdwp connection from 27084 09-15 06:53:51.847 155 170 E BufferQueueProducer: hanvon.aebr.hvLauncher/hanvon.aebr.hvLauncher.ui.AppsActivity#0 disconnect: not connected (req=1) 09-15 06:53:51.847 10635 10655 W libEGL : EGLNativeWindowType 0xf2fc6c08 disconnect failed 09-15 06:53:52.652 27084 27084 D NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: true 09-15 06:53:53.875 27084 27084 V ActivityThread: hehe16 nCurKeyType=0 nNoteModify=1 nHvReader=1 package=info.plateaukao.einkbro cls=info.plateaukao.einkbro.activity.BrowserActivity splitmode=0 09-15 06:53:52.657 27084 27084 D NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: true 09-15 06:53:53.877 27084 27084 I Choreographer: Skipped 64 frames! The application may be doing too much work on its main thread. 09-15 06:53:55.560 27084 27084 W teaukao.einkbr: Class androidx.compose.runtime.snapshots.SnapshotStateList failed lock verification and will run slower. 09-15 06:53:55.560 27084 27084 W teaukao.einkbr: Common causes for lock verification issues are non-optimized dex code 09-15 06:53:55.560 27084 27084 W teaukao.einkbr: and incorrect proguard optimizations. 09-15 06:53:56.785 27084 27107 I mali_so : [File] : hardware/rockchip/mali_so/driver/product/base/src/mali_base_kbase.c; [Line] : 1311; [Func] : base_context_deal_with_version_affairs_rk_ext; 09-15 06:53:56.785 27084 27107 I mali_so : arm_release_ver of this mali_so is 'g2p0-01eac0', rk_so_ver is '8@0 '. 09-15 06:53:56.785 27084 27107 I mali_so : [File] : hardware/rockchip/mali_so/driver/product/base/src/mali_base_kbase.c; [Line] : 1327; [Func] : base_context_deal_with_version_affairs_rk_ext; 09-15 06:53:56.785 27084 27107 I mali_so : arm_release_vers are match. to set the full mali_ver 'g2p0-01eac0-x-8@0' as value of 'sys.gmali.version'. 09-15 06:53:56.786 27084 27107 W libc : Unable to set property "sys.gmali.version" to "g2p0-01eac0-x-8@0": connection failed; errno=13 (Permission denied) 09-15 06:53:56.785 27084 27084 W RenderThread: type=1400 audit(0.0:85395): avc: denied { write } for name="property_service" dev="tmpfs" ino=2341 scontext=u:r:untrusted_app:s0:c190,c256,c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0 app=info.plateaukao.einkbro 09-15 06:53:56.814 133 133 I hwservicemanager: getTransport: Cannot find entry android.hardware.configstore@1.0::ISurfaceFlingerConfigs/default in either framework or device manifest. 09-15 06:53:56.825 27084 27084 W View : requestLayout() improperly called by android.widget.RelativeLayout{56fb61b V.E...... ......ID 0,0-1404,1707 #7f090048 app:id/activity_main_content} during layout: running second layout pass 09-15 06:53:56.879 190 191 D gralloc4: [File] : hardware/rockchip/libgralloc/bifrost/src/hidl_common/Allocator.cpp; [Line] : 147; [Func] : allocate; 09-15 06:53:56.879 190 191 D gralloc4: got new private_handle_t instance @0xf42d3800 for buffer 'info.plateaukao.einkbro/info.plateaukao.einkbro.activity.BrowserActivity#0'. share_fd : 7, share_attr_fd : 8, flags : 0x4, width : 1404, height : 1872, req_format : 0x1, producer_usage : 0x40000000000b00, consumer_usage : 0x40000000000b00, internal_format : 0x0, stride : 0, byte_stride : 0, internalWidth : 0, internalHeight : 0, alloc_format : 0x100000001, size : 10707968, layer_count : 1, backing_store_size : 10707968, allocating_pid : 190, ref_count : 1, yuv_info : 0 09-15 06:53:56.879 190 191 D gralloc4: plane_info[0]: offset : 0, byte_stride : 5632, alloc_width : 1408, alloc_height : 1872 09-15 06:53:56.879 190 191 D gralloc4: plane_info[1]: offset : 0, byte_stride : 0, alloc_width : 0, alloc_height : 0 09-15 06:53:56.883 190 192 D gralloc4: [File] : hardware/rockchip/libgralloc/bifrost/src/hidl_common/Allocator.cpp; [Line] : 147; [Func] : allocate; 09-15 06:53:56.883 190 192 D gralloc4: got new private_handle_t instance @0xf42d3900 for buffer 'info.plateaukao.einkbro/info.plateaukao.einkbro.activity.BrowserActivity#0'. share_fd : 9, share_attr_fd : 10, flags : 0x4, width : 1404, height : 1872, req_format : 0x1, producer_usage : 0x40000000000b00, consumer_usage : 0x40000000000b00, internal_format : 0x0, stride : 0, byte_stride : 0, internalWidth : 0, internalHeight : 0, alloc_format : 0x100000001, size : 10707968, layer_count : 1, backing_store_size : 10707968, allocating_pid : 190, ref_count : 1, yuv_info : 0 09-15 06:53:56.883 190 192 D gralloc4: plane_info[0]: offset : 0, byte_stride : 5632, alloc_width : 1408, alloc_height : 1872 09-15 06:53:56.883 190 192 D gralloc4: plane_info[1]: offset : 0, byte_stride : 0, alloc_width : 0, alloc_height : 0 09-15 06:53:56.887 190 1872 D gralloc4: [File] : hardware/rockchip/libgralloc/bifrost/src/hidl_common/Allocator.cpp; [Line] : 147; [Func] : allocate; 09-15 06:53:56.887 190 1872 D gralloc4: got new private_handle_t instance @0xf42d3a00 for buffer 'info.plateaukao.einkbro/info.plateaukao.einkbro.activity.BrowserActivity#0'. share_fd : 11, share_attr_fd : 12, flags : 0x4, width : 1404, height : 1872, req_format : 0x1, producer_usage : 0x40000000000b00, consumer_usage : 0x40000000000b00, internal_format : 0x0, stride : 0, byte_stride : 0, internalWidth : 0, internalHeight : 0, alloc_format : 0x100000001, size : 10707968, layer_count : 1, backing_store_size : 10707968, allocating_pid : 190, ref_count : 1, yuv_info : 0 09-15 06:53:56.887 190 1872 D gralloc4: plane_info[0]: offset : 0, byte_stride : 5632, alloc_width : 1408, alloc_height : 1872 09-15 06:53:56.887 190 1872 D gralloc4: plane_info[1]: offset : 0, byte_stride : 0, alloc_width : 0, alloc_height : 0 09-15 06:53:57.032 190 191 D gralloc4: [File] : hardware/rockchip/libgralloc/bifrost/src/hidl_common/Allocator.cpp; [Line] : 147; [Func] : allocate; 09-15 06:53:57.032 190 191 D gralloc4: got new private_handle_t instance @0xf42d3800 for buffer 'info.plateaukao.einkbro/info.plateaukao.einkbro.activity.BrowserActivity#0'. share_fd : 7, share_attr_fd : 8, flags : 0x4, width : 1872, height : 1404, req_format : 0x1, producer_usage : 0x40000000000b00, consumer_usage : 0x40000000000b00, internal_format : 0x0, stride : 0, byte_stride : 0, internalWidth : 0, internalHeight : 0, alloc_format : 0x100000001, size : 10707968, layer_count : 1, backing_store_size : 10707968, allocating_pid : 190, ref_count : 1, yuv_info : 0 09-15 06:53:57.032 190 191 D gralloc4: plane_info[0]: offset : 0, byte_stride : 7488, alloc_width : 1872, alloc_height : 1408 09-15 06:53:57.032 190 191 D gralloc4: plane_info[1]: offset : 0, byte_stride : 0, alloc_width : 0, alloc_height : 0 09-15 06:53:57.291 27084 27107 I OpenGLRenderer: Davey! duration=4481ms; Flags=1, IntendedVsync=127273142785078, Vsync=127274209451702, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=127274212432486, AnimationStart=127274212449403, PerformTraversalsStart=127274212942611, DrawStart=127277210901454, SyncQueued=127277354805427, SyncStart=127277355583302, IssueDrawCommandsStart=127277355929802, SwapBuffers=127277596812660, FrameCompleted=127277625251038, DequeueBufferDuration=6434459, QueueBufferDuration=1124959, GpuCompleted=0, 09-15 06:53:57.306 370 397 I ActivityTaskManager: Displayed info.plateaukao.einkbro/.activity.BrowserActivity: +5s694ms 09-15 06:53:57.631 27084 27084 I Choreographer: Skipped 214 frames! The application may be doing too much work on its main thread. 09-15 06:53:58.120 190 191 D gralloc4: [File] : hardware/rockchip/libgralloc/bifrost/src/hidl_common/Allocator.cpp; [Line] : 147; [Func] : allocate; 09-15 06:53:58.120 190 191 D gralloc4: got new private_handle_t instance @0xf42d3800 for buffer 'info.plateaukao.einkbro/info.plateaukao.einkbro.activity.BrowserActivity#0'. share_fd : 7, share_attr_fd : 8, flags : 0x4, width : 1872, height : 1404, req_format : 0x1, producer_usage : 0x40000000000b00, consumer_usage : 0x40000000000b00, internal_format : 0x0, stride : 0, byte_stride : 0, internalWidth : 0, internalHeight : 0, alloc_format : 0x100000001, size : 10707968, layer_count : 1, backing_store_size : 10707968, allocating_pid : 190, ref_count : 1, yuv_info : 0 09-15 06:53:58.120 190 191 D gralloc4: plane_info[0]: offset : 0, byte_stride : 7488, alloc_width : 1872, alloc_height : 1408 09-15 06:53:58.120 190 191 D gralloc4: plane_info[1]: offset : 0, byte_stride : 0, alloc_width : 0, alloc_height : 0 09-15 06:53:58.124 155 169 W ServiceManager: Permission failure: android.permission.ACCESS_SURFACE_FLINGER from uid=10190 pid=27084 09-15 06:53:58.124 155 169 D PermissionCache: checking android.permission.ACCESS_SURFACE_FLINGER for uid=10190 => denied (934 us) 09-15 06:53:58.129 27084 27107 I OpenGLRenderer: Davey! duration=4065ms; Flags=0, IntendedVsync=127274397631245, Vsync=127277964297769, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=127277966210572, AnimationStart=127277966227488, PerformTraversalsStart=127278359267611, DrawStart=127278360004653, SyncQueued=127278446393995, SyncStart=127278447719912, IssueDrawCommandsStart=127278448035495, SwapBuffers=127278462176372, FrameCompleted=127278464488997, DequeueBufferDuration=7768543, QueueBufferDuration=931292, GpuCompleted=0, 09-15 06:53:58.207 190 191 D gralloc4: [File] : hardware/rockchip/libgralloc/bifrost/src/hidl_common/Allocator.cpp; [Line] : 147; [Func] : allocate; 09-15 06:53:58.207 190 191 D gralloc4: got new private_handle_t instance @0xf42d3800 for buffer 'info.plateaukao.einkbro/info.plateaukao.einkbro.activity.BrowserActivity#0'. share_fd : 7, share_attr_fd : 8, flags : 0x4, width : 1872, height : 1404, req_format : 0x1, producer_usage : 0x40000000000b00, consumer_usage : 0x40000000000b00, internal_format : 0x0, stride : 0, byte_stride : 0, internalWidth : 0, internalHeight : 0, alloc_format : 0x100000001, size : 10707968, layer_count : 1, backing_store_size : 10707968, allocating_pid : 190, ref_count : 1, yuv_info : 0 09-15 06:53:58.207 190 191 D gralloc4: plane_info[0]: offset : 0, byte_stride : 7488, alloc_width : 1872, alloc_height : 1408 09-15 06:53:58.207 190 191 D gralloc4: plane_info[1]: offset : 0, byte_stride : 0, alloc_width : 0, alloc_height : 0 09-15 06:53:58.221 370 11021 V ActivityTaskManager: getPackageFerformanceMode--ComponentInfo{info.plateaukao.einkbro/info.plateaukao.einkbro.activity.BrowserActivity}----info.plateaukao.einkbro 09-15 06:53:58.223 370 11021 E libsuspend: cancle this idle 09-15 06:53:58.232 22850 31638 D EinkSettingsProvider: query uri: content://com.android.systemui.eink/einksettingsupdate 09-15 06:53:58.232 22850 31638 D EinkSettingsProvider: packageName: info.plateaukao.einkbro 09-15 06:53:58.233 22850 31638 D EinkSettingsProvider: cursor.getCount() > 0 DPI: 330 09-15 06:53:58.247 27084 27084 V Activity: ---zc---onReceive onAppBleachConfigChanged bleach 09-15 06:53:59.704 27084 27129 D ProfileInstaller: Installing profile for info.plateaukao.einkbro 09-15 06:54:00.002 370 435 E libsuspend: cancle this idle 09-15 06:54:00.009 370 370 E libsuspend: cancle this idle 09-15 06:54:00.017 26638 26638 D dau-tracker: minute change time:6,54,0 09-15 06:54:03.319 10635 10649 W System : A resource failed to call close. 09-15 06:54:03.319 10635 10649 W SQLiteConnectionPool: A SQLiteConnection object for database '/storage/emulated/0/notes/.database/HvNote.db' was leaked! Please fix your application to end transactions in progress properly and to close the database when it is no longer needed. 09-15 06:54:03.319 10635 10649 W System : A resource failed to call close. 09-15 06:54:03.320 10635 10649 W System : A resource failed to call close. 09-15 06:54:03.320 10635 10649 W SQLiteConnectionPool: A SQLiteConnection object for database '/storage/emulated/0/notes/.database/HvNote.db' was leaked! Please fix your application to end transactions in progress properly and to close the database when it is no longer needed. 09-15 06:54:03.320 10635 10649 W System : A resource failed to call close. 09-15 06:54:03.321 10635 10649 W System : A resource failed to call close. 09-15 06:54:03.322 10635 10649 W SQLiteConnectionPool: A SQLiteConnection object for database '/storage/emulated/0/notes/.database/HvNote.db' was leaked! Please fix your application to end transactions in progress properly and to close the database when it is no longer needed. 09-15 06:54:03.322 10635 10649 W System : A resource failed to call close. 09-15 06:54:03.323 10635 10649 W System : A resource failed to call close. 09-15 06:54:03.324 10635 10649 W System : A resource failed to call release. 09-15 06:54:15.024 370 410 D PowerManagerService: mWakeLockSuspendBlocker currentCount = 1 09-15 06:54:46.035 27131 27131 W netstat : type=1400 audit(0.0:85396): avc: denied { getattr } for path="/proc/fb" dev="proc" ino=4026531929 scontext=u:r:untrusted_app_29:s0:c146,c256,c512,c768 tcontext=u:object_r:proc:s0 tclass=file permissive=0 app=com.qidian.QDReader 09-15 06:54:46.035 27131 27131 W netstat : type=1400 audit(0.0:85397): avc: denied { getattr } for path="/proc/iep" dev="proc" ino=4026532137 scontext=u:r:untrusted_app_29:s0:c146,c256,c512,c768 tcontext=u:object_r:proc:s0 tclass=file permissive=0 app=com.qidian.QDReader 09-15 06:54:46.038 27131 27131 W netstat : type=1400 audit(0.0:85401): avc: denied { getattr } for path="/proc/stat" dev="proc" ino=4026532040 scontext=u:r:untrusted_app_29:s0:c146,c256,c512,c768 tcontext=u:object_r:proc_stat:s0 tclass=file permissive=0 app=com.qidian.QDReader 09-15 06:54:46.038 27131 27131 W netstat : type=1400 audit(0.0:85402): avc: denied { getattr } for path="/proc/iomem" dev="proc" ino=4026532105 scontext=u:r:untrusted_app_29:s0:c146,c256,c512,c768 tcontext=u:object_r:proc_iomem:s0 tclass=file permissive=0 app=com.qidian.QDReader 09-15 06:54:46.038 27131 27131 W netstat : type=1400 audit(0.0:85403): avc: denied { getattr } for path="/proc/locks" dev="proc" ino=4026532032 scontext=u:r:untrusted_app_29:s0:c146,c256,c512,c768 tcontext=u:object_r:proc:s0 tclass=file permissive=0 app=com.qidian.QDReader 09-15 06:54:47.418 370 370 D WifiSleepController: onReceive, action=android.intent.action.BATTERY_CHANGED 09-15 06:54:47.418 370 370 D WifiSleepController: updateChargingState, mCharging: true 09-15 06:54:59.618 22480 22613 D PHC_LOG : [PHCEngine] brian cipher type is :5 09-15 06:54:59.619 22480 22613 D PHC_LOG : [PHCEngine] brian Encoded str of {"appKey":"db80a5178a5249b3be5e7a54262cc01b"} is :oyTrcRLBZXusEsTuYtqmYJUnDzrrDJS0EWSzYwU1ZJdrDJGyDtTtYzKnYsT9 09-15 06:54:59.620 22480 22613 D PHC_LOG : [PHCEngine] brian cipher type is :5 09-15 06:54:59.620 22480 22613 D PHC_LOG : [PHCEngine] brian Encoded str of N10B464 is :JtOmGtG2DK== 09-15 06:54:59.620 22480 22613 D PHC_LOG : [PHCEngine] brian Encoded str of 11 is :CJO= 09-15 06:54:59.620 22480 22613 D PHC_LOG : [PHCEngine] brian Encoded str of 1404*1872 is :CJGmDMenENcy 09-15 06:54:59.620 22480 22613 D PHC_LOG : [PHCEngine] brian Encoded str of rockchip is :cw9ta2DeaXK= 09-15 06:54:59.620 22480 22613 D PHC_LOG : [PHCEngine] brian Encoded str of f408a9081e1c3e29846ec3e84de16018 is :ZtGmEQO5CNqnZJPtC2UyEJq0DwVtC2U4DQHvCJYmCJq= 09-15 06:54:59.632 22480 22510 I m.jd.app.reade: Waiting for a blocking GC ProfileSaver 09-15 06:54:59.638 22480 22510 I m.jd.app.reade: WaitForGcToComplete blocked ProfileSaver on HeapTrim for 5.495ms 09-15 06:55:00.003 370 435 E libsuspend: cancle this idle 09-15 06:55:00.010 26638 26638 D dau-tracker: minute change time:6,55,0 09-15 06:55:00.010 370 370 E libsuspend: cancle this idle 09-15 06:55:03.233 22806 23397 D ReportSdkLogTag: send data with typeid : 1, chId : 6 09-15 06:55:04.814 22806 27138 D ReportSdkLogTag: send data with typeid : 1, chId : 6 09-15 06:55:22.817 370 437 E libsuspend: cancle this idle 09-15 06:55:22.914 370 437 I chatty : uid=1000(system) InputDispatcher identical 2 lines 09-15 06:55:22.914 370 437 E libsuspend: cancle this idle 09-15 06:55:23.001 27084 27084 D Compose Focus: Owner FocusChanged(true) 09-15 06:55:23.282 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:23.315 8830 8830 I chatty : uid=10174(com.baidu.input) identical 50 lines 09-15 06:55:23.315 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:23.392 190 191 D gralloc4: [File] : hardware/rockchip/libgralloc/bifrost/src/hidl_common/Allocator.cpp; [Line] : 147; [Func] : allocate; 09-15 06:55:23.392 190 191 D gralloc4: got new private_handle_t instance @0xf42d3800 for buffer 'InputMethod#0'. share_fd : 7, share_attr_fd : 8, flags : 0x4, width : 1404, height : 1810, req_format : 0x1, producer_usage : 0x40000000000b00, consumer_usage : 0x40000000000b00, internal_format : 0x0, stride : 0, byte_stride : 0, internalWidth : 0, internalHeight : 0, alloc_format : 0x100000001, size : 10433536, layer_count : 1, backing_store_size : 10433536, allocating_pid : 190, ref_count : 1, yuv_info : 0 09-15 06:55:23.392 190 191 D gralloc4: plane_info[0]: offset : 0, byte_stride : 5632, alloc_width : 1408, alloc_height : 1824 09-15 06:55:23.392 190 191 D gralloc4: plane_info[1]: offset : 0, byte_stride : 0, alloc_width : 0, alloc_height : 0 09-15 06:55:23.396 190 192 D gralloc4: [File] : hardware/rockchip/libgralloc/bifrost/src/hidl_common/Allocator.cpp; [Line] : 147; [Func] : allocate; 09-15 06:55:23.396 190 192 D gralloc4: got new private_handle_t instance @0xf42d3900 for buffer 'InputMethod#0'. share_fd : 9, share_attr_fd : 10, flags : 0x4, width : 1404, height : 1810, req_format : 0x1, producer_usage : 0x40000000000b00, consumer_usage : 0x40000000000b00, internal_format : 0x0, stride : 0, byte_stride : 0, internalWidth : 0, internalHeight : 0, alloc_format : 0x100000001, size : 10433536, layer_count : 1, backing_store_size : 10433536, allocating_pid : 190, ref_count : 1, yuv_info : 0 09-15 06:55:23.396 190 192 D gralloc4: plane_info[0]: offset : 0, byte_stride : 5632, alloc_width : 1408, alloc_height : 1824 09-15 06:55:23.396 190 192 D gralloc4: plane_info[1]: offset : 0, byte_stride : 0, alloc_width : 0, alloc_height : 0 09-15 06:55:23.396 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:23.399 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:23.406 190 1872 D gralloc4: [File] : hardware/rockchip/libgralloc/bifrost/src/hidl_common/Allocator.cpp; [Line] : 147; [Func] : allocate; 09-15 06:55:23.406 190 1872 D gralloc4: got new private_handle_t instance @0xf42d3800 for buffer 'InputMethod#0'. share_fd : 7, share_attr_fd : 8, flags : 0x4, width : 1404, height : 1810, req_format : 0x1, producer_usage : 0x40000000000b00, consumer_usage : 0x40000000000b00, internal_format : 0x0, stride : 0, byte_stride : 0, internalWidth : 0, internalHeight : 0, alloc_format : 0x100000001, size : 10433536, layer_count : 1, backing_store_size : 10433536, allocating_pid : 190, ref_count : 1, yuv_info : 0 09-15 06:55:23.406 190 1872 D gralloc4: plane_info[0]: offset : 0, byte_stride : 5632, alloc_width : 1408, alloc_height : 1824 09-15 06:55:23.406 190 1872 D gralloc4: plane_info[1]: offset : 0, byte_stride : 0, alloc_width : 0, alloc_height : 0 09-15 06:55:23.428 190 191 D gralloc4: [File] : hardware/rockchip/libgralloc/bifrost/src/hidl_common/Allocator.cpp; [Line] : 147; [Func] : allocate; 09-15 06:55:23.428 190 191 D gralloc4: got new private_handle_t instance @0xf42d3800 for buffer 'InputMethod#0'. share_fd : 7, share_attr_fd : 8, flags : 0x4, width : 1810, height : 1404, req_format : 0x1, producer_usage : 0x40000000000b00, consumer_usage : 0x40000000000b00, internal_format : 0x0, stride : 0, byte_stride : 0, internalWidth : 0, internalHeight : 0, alloc_format : 0x100000001, size : 10433536, layer_count : 1, backing_store_size : 10433536, allocating_pid : 190, ref_count : 1, yuv_info : 0 09-15 06:55:23.428 190 191 D gralloc4: plane_info[0]: offset : 0, byte_stride : 7296, alloc_width : 1824, alloc_height : 1408 09-15 06:55:23.428 190 191 D gralloc4: plane_info[1]: offset : 0, byte_stride : 0, alloc_width : 0, alloc_height : 0 09-15 06:55:23.499 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:23.501 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:23.519 190 191 D gralloc4: [File] : hardware/rockchip/libgralloc/bifrost/src/hidl_common/Allocator.cpp; [Line] : 147; [Func] : allocate; 09-15 06:55:23.519 190 191 D gralloc4: got new private_handle_t instance @0xf42d3800 for buffer 'InputMethod#0'. share_fd : 7, share_attr_fd : 8, flags : 0x4, width : 1810, height : 1404, req_format : 0x1, producer_usage : 0x40000000000b00, consumer_usage : 0x40000000000b00, internal_format : 0x0, stride : 0, byte_stride : 0, internalWidth : 0, internalHeight : 0, alloc_format : 0x100000001, size : 10433536, layer_count : 1, backing_store_size : 10433536, allocating_pid : 190, ref_count : 1, yuv_info : 0 09-15 06:55:23.520 190 191 D gralloc4: plane_info[0]: offset : 0, byte_stride : 7296, alloc_width : 1824, alloc_height : 1408 09-15 06:55:23.520 190 191 D gralloc4: plane_info[1]: offset : 0, byte_stride : 0, alloc_width : 0, alloc_height : 0 09-15 06:55:23.652 155 170 E BufferQueueProducer: info.plateaukao.einkbro/info.plateaukao.einkbro.activity.BrowserActivity#0 disconnect: not connected (req=1) 09-15 06:55:23.652 27084 27107 W libEGL : EGLNativeWindowType 0xf2fca408 disconnect failed 09-15 06:55:23.662 190 191 D gralloc4: [File] : hardware/rockchip/libgralloc/bifrost/src/hidl_common/Allocator.cpp; [Line] : 147; [Func] : allocate; 09-15 06:55:23.662 190 191 D gralloc4: got new private_handle_t instance @0xf42d3800 for buffer 'info.plateaukao.einkbro/info.plateaukao.einkbro.activity.BrowserActivity#0'. share_fd : 7, share_attr_fd : 8, flags : 0x4, width : 1872, height : 1404, req_format : 0x1, producer_usage : 0x40000000000b00, consumer_usage : 0x40000000000b00, internal_format : 0x0, stride : 0, byte_stride : 0, internalWidth : 0, internalHeight : 0, alloc_format : 0x100000001, size : 10707968, layer_count : 1, backing_store_size : 10707968, allocating_pid : 190, ref_count : 1, yuv_info : 0 09-15 06:55:23.662 190 191 D gralloc4: plane_info[0]: offset : 0, byte_stride : 7488, alloc_width : 1872, alloc_height : 1408 09-15 06:55:23.662 190 191 D gralloc4: plane_info[1]: offset : 0, byte_stride : 0, alloc_width : 0, alloc_height : 0 09-15 06:55:23.763 190 191 D gralloc4: [File] : hardware/rockchip/libgralloc/bifrost/src/hidl_common/Allocator.cpp; [Line] : 147; [Func] : allocate; 09-15 06:55:23.763 190 191 D gralloc4: got new private_handle_t instance @0xf42d3800 for buffer 'info.plateaukao.einkbro/info.plateaukao.einkbro.activity.BrowserActivity#0'. share_fd : 7, share_attr_fd : 8, flags : 0x4, width : 1872, height : 1404, req_format : 0x1, producer_usage : 0x40000000000b00, consumer_usage : 0x40000000000b00, internal_format : 0x0, stride : 0, byte_stride : 0, internalWidth : 0, internalHeight : 0, alloc_format : 0x100000001, size : 10707968, layer_count : 1, backing_store_size : 10707968, allocating_pid : 190, ref_count : 1, yuv_info : 0 09-15 06:55:23.763 190 191 D gralloc4: plane_info[0]: offset : 0, byte_stride : 7488, alloc_width : 1872, alloc_height : 1408 09-15 06:55:23.763 190 191 D gralloc4: plane_info[1]: offset : 0, byte_stride : 0, alloc_width : 0, alloc_height : 0 09-15 06:55:26.054 370 437 E libsuspend: cancle this idle 09-15 06:55:26.055 370 437 E libsuspend: cancle this idle 09-15 06:55:26.088 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:26.091 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:26.105 190 191 D gralloc4: [File] : hardware/rockchip/libgralloc/bifrost/src/hidl_common/Allocator.cpp; [Line] : 147; [Func] : allocate; 09-15 06:55:26.105 190 191 D gralloc4: got new private_handle_t instance @0xf42d3800 for buffer 'InputMethod#0'. share_fd : 7, share_attr_fd : 8, flags : 0x4, width : 1810, height : 1404, req_format : 0x1, producer_usage : 0x40000000000b00, consumer_usage : 0x40000000000b00, internal_format : 0x0, stride : 0, byte_stride : 0, internalWidth : 0, internalHeight : 0, alloc_format : 0x100000001, size : 10433536, layer_count : 1, backing_store_size : 10433536, allocating_pid : 190, ref_count : 1, yuv_info : 0 09-15 06:55:26.105 190 191 D gralloc4: plane_info[0]: offset : 0, byte_stride : 7296, alloc_width : 1824, alloc_height : 1408 09-15 06:55:26.105 190 191 D gralloc4: plane_info[1]: offset : 0, byte_stride : 0, alloc_width : 0, alloc_height : 0 09-15 06:55:26.140 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:26.143 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:26.761 370 437 E libsuspend: cancle this idle 09-15 06:55:26.761 370 437 E libsuspend: cancle this idle 09-15 06:55:26.811 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:26.868 8830 8830 I chatty : uid=10174(com.baidu.input) identical 2 lines 09-15 06:55:26.870 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:27.002 190 191 D gralloc4: [File] : hardware/rockchip/libgralloc/bifrost/src/hidl_common/Allocator.cpp; [Line] : 147; [Func] : allocate; 09-15 06:55:27.002 190 191 D gralloc4: got new private_handle_t instance @0xf42d3800 for buffer 'info.plateaukao.einkbro/info.plateaukao.einkbro.activity.BrowserActivity#0'. share_fd : 7, share_attr_fd : 8, flags : 0x4, width : 1872, height : 1404, req_format : 0x1, producer_usage : 0x40000000000b00, consumer_usage : 0x40000000000b00, internal_format : 0x0, stride : 0, byte_stride : 0, internalWidth : 0, internalHeight : 0, alloc_format : 0x100000001, size : 10707968, layer_count : 1, backing_store_size : 10707968, allocating_pid : 190, ref_count : 1, yuv_info : 0 09-15 06:55:27.002 190 191 D gralloc4: plane_info[0]: offset : 0, byte_stride : 7488, alloc_width : 1872, alloc_height : 1408 09-15 06:55:27.002 190 191 D gralloc4: plane_info[1]: offset : 0, byte_stride : 0, alloc_width : 0, alloc_height : 0 09-15 06:55:27.372 370 437 E libsuspend: cancle this idle 09-15 06:55:27.372 370 437 E libsuspend: cancle this idle 09-15 06:55:27.422 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:27.476 8830 8830 I chatty : uid=10174(com.baidu.input) identical 2 lines 09-15 06:55:27.478 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:28.157 370 437 E libsuspend: cancle this idle 09-15 06:55:28.158 370 437 E libsuspend: cancle this idle 09-15 06:55:28.190 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:28.233 8830 8830 I chatty : uid=10174(com.baidu.input) identical 2 lines 09-15 06:55:28.236 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:28.728 370 437 E libsuspend: cancle this idle 09-15 06:55:28.729 370 437 E libsuspend: cancle this idle 09-15 06:55:28.737 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:28.794 8830 8830 I chatty : uid=10174(com.baidu.input) identical 2 lines 09-15 06:55:28.798 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:28.956 27084 27098 I teaukao.einkbr: Background young concurrent copying GC freed 35956(1116KB) AllocSpace objects, 0(0B) LOS objects, 46% free, 4727KB/8898KB, paused 292us total 117.043ms 09-15 06:55:29.395 370 437 E libsuspend: cancle this idle 09-15 06:55:29.396 370 437 E libsuspend: cancle this idle 09-15 06:55:29.447 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:29.508 8830 8830 I chatty : uid=10174(com.baidu.input) identical 2 lines 09-15 06:55:29.513 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:30.404 370 437 E libsuspend: cancle this idle 09-15 06:55:30.404 370 437 E libsuspend: cancle this idle 09-15 06:55:30.458 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:30.510 8830 8830 I chatty : uid=10174(com.baidu.input) identical 2 lines 09-15 06:55:30.512 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:31.736 370 437 E libsuspend: cancle this idle 09-15 06:55:31.737 370 437 E libsuspend: cancle this idle 09-15 06:55:31.766 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:54:45.053 370 410 I chatty : uid=1000(system) PowerManagerSer identical 2 lines 09-15 06:55:15.026 370 410 D PowerManagerService: mWakeLockSuspendBlocker currentCount = 1 09-15 06:55:32.589 370 435 W ActivityManager: Background start not allowed: service Intent { act=com.qidian.QDReader.DailyWorksService.ACTION_DELAY flg=0x4 cmp=com.qidian.QDReader/.service.DailyWorksService (has extras) } to com.qidian.QDReader/.service.DailyWorksService from pid=-1 uid=10146 pkg=com.qidian.QDReader startFg?=false 09-15 06:55:32.030 8830 8830 I chatty : uid=10174(com.baidu.input) identical 6 lines 09-15 06:55:32.033 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:32.591 370 435 E libsuspend: cancle this idle 09-15 06:55:32.599 370 452 E libsuspend: cancle this idle 09-15 06:55:32.840 370 746 D WifiNl80211Manager: Scan result ready event 09-15 06:55:32.840 370 746 D WifiNative: Scan result ready event 09-15 06:55:33.896 370 437 E libsuspend: cancle this idle 09-15 06:55:33.897 370 437 E libsuspend: cancle this idle 09-15 06:55:33.949 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:34.006 8830 8830 I chatty : uid=10174(com.baidu.input) identical 2 lines 09-15 06:55:34.008 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:34.923 370 437 E libsuspend: cancle this idle 09-15 06:55:34.924 370 437 E libsuspend: cancle this idle 09-15 06:55:34.956 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:34.959 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:35.024 370 437 E libsuspend: cancle this idle 09-15 06:55:35.024 370 437 E libsuspend: cancle this idle 09-15 06:55:35.059 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:35.062 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:35.440 370 437 E libsuspend: cancle this idle 09-15 06:55:35.440 370 437 E libsuspend: cancle this idle 09-15 06:55:35.466 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:35.522 8830 8830 I chatty : uid=10174(com.baidu.input) identical 2 lines 09-15 06:55:35.525 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:37.754 370 437 E libsuspend: cancle this idle 09-15 06:55:37.754 370 437 E libsuspend: cancle this idle 09-15 06:55:37.784 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:37.787 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:37.856 370 437 E libsuspend: cancle this idle 09-15 06:55:37.857 370 437 E libsuspend: cancle this idle 09-15 06:55:37.935 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:37.938 8830 8830 I System.out: skin thj getCustomSkinIndexFileName 09-15 06:55:37.943 27084 27084 D AndroidRuntime: Shutting down VM 09-15 06:55:37.951 27084 27084 E AndroidRuntime: FATAL EXCEPTION: main 09-15 06:55:37.951 27084 27084 E AndroidRuntime: Process: info.plateaukao.einkbro, PID: 27084 09-15 06:55:37.951 27084 27084 E AndroidRuntime: java.lang.NullPointerException: null cannot be cast to non-null type info.plateaukao.einkbro.view.NinjaWebView 09-15 06:55:37.951 27084 27084 E AndroidRuntime: at info.plateaukao.einkbro.activity.BrowserActivity.updateAlbum(BrowserActivity.kt:1246) 09-15 06:55:37.951 27084 27084 E AndroidRuntime: at info.plateaukao.einkbro.activity.BrowserActivity.access$updateAlbum(BrowserActivity.kt:78) 09-15 06:55:37.951 27084 27084 E AndroidRuntime: at info.plateaukao.einkbro.activity.BrowserActivity$initInputBar$1$1.invoke(BrowserActivity.kt:329) 09-15 06:55:37.951 27084 27084 E AndroidRuntime: at info.plateaukao.einkbro.activity.BrowserActivity$initInputBar$1$1.invoke(BrowserActivity.kt:329) 09-15 06:55:37.951 27084 27084 E AndroidRuntime: at info.plateaukao.einkbro.view.compose.AutoCompleteTextFieldKt$TextInput$1$3$1.invoke(AutoCompleteTextField.kt:219) 09-15 06:55:37.951 27084 27084 E AndroidRuntime: at info.plateaukao.einkbro.view.compose.AutoCompleteTextFieldKt$TextInput$1$3$1.invoke(AutoCompleteTextField.kt:219) 09-15 06:55:37.951 27084 27084 E AndroidRuntime: at androidx.compose.foundation.text.KeyboardActionRunner.runAction-KlQnJC8(KeyboardActionRunner.kt:61) 09-15 06:55:37.951 27084 27084 E AndroidRuntime: at androidx.compose.foundation.text.TextFieldState$onImeActionPerformed$1.invoke-KlQnJC8(CoreTextField.kt:771) 09-15 06:55:37.951 27084 27084 E AndroidRuntime: at androidx.compose.foundation.text.TextFieldState$onImeActionPerformed$1.invoke(CoreTextField.kt:770) 09-15 06:55:37.951 27084 27084 E AndroidRuntime: at androidx.compose.ui.text.input.TextInputServiceAndroid$createInputConnection$1.onImeAction-KlQnJC8(TextInputServiceAndroid.android.kt:117) 09-15 06:55:37.951 27084 27084 E AndroidRuntime: at androidx.compose.ui.text.input.RecordingInputConnection.performEditorAction(RecordingInputConnection.android.kt:337) 09-15 06:55:37.951 27084 27084 E AndroidRuntime: at com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:363) 09-15 06:55:37.951 27084 27084 E AndroidRuntime: at com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:93) 09-15 06:55:37.951 27084 27084 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106) 09-15 06:55:37.951 27084 27084 E AndroidRuntime: at android.os.Looper.loop(Looper.java:223) 09-15 06:55:37.951 27084 27084 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7840) 09-15 06:55:37.951 27084 27084 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 09-15 06:55:37.951 27084 27084 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) 09-15 06:55:37.951 27084 27084 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947) 09-15 06:55:37.965 370 27145 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2 09-15 06:55:37.965 370 746 W ActivityTaskManager: Force finishing activity info.plateaukao.einkbro/.activity.BrowserActivity

lutts commented 2 years ago

I guess the problem is Einkbro is lauched with ACTION_VIEW(with null URI), not ACTION_MAIN, in dispatchIntent() at BrowserActivity.kt, addAlbum() is called when ACTION_MAIN, but if ACTION_MAIN intent is missing, no addAlbum() is called

if viewUri is null, it should not simply return, when a Intent is dispatched to Einkbro, Einkbro is launched, a window is displayed. if there's no album, we should add one

ACTION_VIEW -> { // if webview for that url already exists, show the original tab, otherwise, create new val viewUri = intent.data?.toNormalScheme() ?: return if (viewUri.scheme == "content") { epubManager.showEpubReader(viewUri) finish() } else { val url = viewUri.toString() getUrlMatchedBrowser(url)?.let { showAlbum(it) } ?: addAlbum(url = url) } }

plateaukao commented 2 years ago

@lutts if that's the scenario, I fix it in this commit, by putting favorite url instead. Hope it could fix what you encountered.

lutts commented 2 years ago

@plateaukao

I think your commit will be ok, I see favorite url will always has a default value, which is DEFAULT_HOME_URL("https://www.google.com/")

But I am so sorry that I can't test your commit now, because I currently don't have android develop environment to build your code

This FATAL exception should blame N10 developer, who incorrectly launch an app with ACTION_VIEW instead of ACTION_MAIN.

plateaukao commented 2 years ago

@lutts You don't have to build it by yourself. You can download the latest build on github by downloading the zip on einkbro github main page (close to the bottom of the page). It will include latest commit too. image

lutts commented 2 years ago

I tested the nightly build, no FATAL exception now. I will close this issue