Skip to content

Resource NotFoundException on a Android 6 / Cortex A53 #270

@danielrempel

Description

@danielrempel

I have tried to launch LocalDesktop 1.7.1 (and 1.6.0) on an old tablet and the application crashes without even creating a window.

Could you please take a look what is wrong here?

I have recorded the following logs using adb and the debug version:

...
05-25 19:43:51.782 11639 11639 D ActivityThread: BIND_APPLICATION handled : 0 / AppBindData{appInfo=ApplicationInfo{63acd5e app.polarbear}}
05-25 19:43:51.783 11639 11639 V ActivityThread: Handling launch of ActivityRecord{650453f token=android.os.BinderProxy@300de0c {app.polarbear/android.app.NativeActivity}} startsNotResumed=false
05-25 19:43:51.783 11639 11639 V ActivityThread: ActivityRecord{650453f token=android.os.BinderProxy@300de0c {app.polarbear/android.app.NativeActivity}}: app=android.app.Application@58df65b, appName=app.polarbear, pkg=app.polarbear, comp={app.polarbear/android.app.NativeActivity}, dir=/data/app/app.polarbear-1/base.apk
05-25 19:43:51.789   210   210 I BufferQueueProducer: [FrameBufferSurface_0](this:0x7fb5c99000,id:0,api:1,p:210,c:210) queueBuffer: fps=0.39 dur=30472.18 max=30276.68 min=12.78
05-25 19:43:51.808 11639 11639 W ResourceType: Failure getting entry for 0x7f010000 (t=0 e=0) (error -75)
05-25 19:43:51.810 11639 11639 D AndroidRuntime: Shutting down VM
05-25 19:43:51.814 11639 11639 E AndroidRuntime: FATAL EXCEPTION: main
05-25 19:43:51.814 11639 11639 E AndroidRuntime: Process: app.polarbear, PID: 11639
05-25 19:43:51.814 11639 11639 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{app.polarbear/android.app.NativeActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x7f010000
05-25 19:43:51.814 11639 11639 E AndroidRuntime: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2583)
05-25 19:43:51.814 11639 11639 E AndroidRuntime: 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2665)
05-25 19:43:51.814 11639 11639 E AndroidRuntime: 	at android.app.ActivityThread.-wrap11(ActivityThread.java)
05-25 19:43:51.814 11639 11639 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1499)
05-25 19:43:51.814 11639 11639 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:111)
05-25 19:43:51.814 11639 11639 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:207)
05-25 19:43:51.814 11639 11639 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:5765)
05-25 19:43:51.814 11639 11639 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
05-25 19:43:51.814 11639 11639 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
05-25 19:43:51.814 11639 11639 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)
05-25 19:43:51.814 11639 11639 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f010000
05-25 19:43:51.814 11639 11639 E AndroidRuntime: 	at android.content.res.Resources.getValue(Resources.java:1544)
05-25 19:43:51.814 11639 11639 E AndroidRuntime: 	at android.content.res.Resources.getDrawable(Resources.java:918)
05-25 19:43:51.814 11639 11639 E AndroidRuntime: 	at android.content.Context.getDrawable(Context.java:463)
05-25 19:43:51.814 11639 11639 E AndroidRuntime: 	at com.android.internal.widget.ToolbarWidgetWrapper.setIcon(ToolbarWidgetWrapper.java:322)
05-25 19:43:51.814 11639 11639 E AndroidRuntime: 	at com.android.internal.widget.ActionBarOverlayLayout.setIcon(ActionBarOverlayLayout.java:737)
05-25 19:43:51.814 11639 11639 E AndroidRuntime: 	at com.android.internal.policy.PhoneWindow.setDefaultIcon(PhoneWindow.java:1695)
05-25 19:43:51.814 11639 11639 E AndroidRuntime: 	at android.app.Activity.initWindowDecorActionBar(Activity.java:2177)
05-25 19:43:51.814 11639 11639 E AndroidRuntime: 	at android.app.Activity.setContentView(Activity.java:2212)
05-25 19:43:51.814 11639 11639 E AndroidRuntime: 	at android.app.NativeActivity.onCreate(NativeActivity.java:144)
05-25 19:43:51.814 11639 11639 E AndroidRuntime: 	at android.app.Activity.performCreate(Activity.java:6309)
05-25 19:43:51.814 11639 11639 E AndroidRuntime: 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1113)
05-25 19:43:51.814 11639 11639 E AndroidRuntime: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2530)
05-25 19:43:51.814 11639 11639 E AndroidRuntime: 	... 9 more
05-25 19:43:51.816   752  5957 V SettingsProvider: packageValueForCallResult, name = send_action_app_error, value : 1
...
05-25 19:43:51.822   752  5957 I BufferQueueProducer: [ScreenshotClient](this:0x7f88403400,id:103,api:1,p:210,c:752) new GraphicBuffer needed
05-25 19:43:51.823   210  1032 I [MALI][Gralloc]: [+]hnd(0x7fb615e860), client(26), share_fd(54), hnd->flags:4
05-25 19:43:51.823   210  1032 D GraphicBuffer: alloc, handle(0x7fb615e860) (w:630 h:630 s:640 f:0x1 u:0x000333) err(0)
05-25 19:43:51.824   752  5957 I [MALI][Gralloc]: [+]r_hnd(0x7f8e97b180), client(119), share_fd(280)
05-25 19:43:51.824   752  5957 D GraphicBuffer: register, handle(0x7f8e97b180) (w:630 h:630 s:640 f:0x1 u:0x000333)
05-25 19:43:51.824   210  5365 D GraphicBuffer: free, handle(0x7fb615e860) (w:630 h:630 s:640 f:0x1 u:0x000333)
05-25 19:43:51.824   210  5365 I [MALI][Gralloc]: [-]hnd(0x7fb615e860), client(26), share_fd(54)
05-25 19:43:51.825   210   210 I [MALI][Gralloc]: [+]r_hnd(0x7fb615f1c0), client(26), share_fd(73)
05-25 19:43:51.825   210   210 D GraphicBuffer: register, handle(0x7fb615f1c0) (w:630 h:630 s:640 f:0x1 u:0x000333)
05-25 19:43:51.827   752 11653 W AES     : Exception Log handling...
05-25 19:43:51.828   210   210 D Surface : Surface::disconnect(this=0x7fb3a52c00,api=1)
05-25 19:43:51.828   752  5957 I BufferQueueProducer: [ScreenshotClient](this:0x7f88403400,id:103,api:1,p:-1,c:752) disconnect(P): api 1
05-25 19:43:51.828   752 11653 D AES     : ExceptionLog: notify aed
05-25 19:43:51.828   752 11653 D AES     :     process : app.polarbear
05-25 19:43:51.828   752 11653 D AES     :      module : app.polarbear v16844545 (1.7.1)
05-25 19:43:51.828   752 11653 D AES     : 
05-25 19:43:51.828   752 11653 D AES     :       cause : data_app_crash
05-25 19:43:51.828   752 11653 D AES     :       pid : 11639
05-25 19:43:51.829   752 11653 D AEE/LIBAEE: shell: raise_exp(4, 11639, -1361051648, app.polarbear, 0x0x7f901fd8c0, 0x0x0)
05-25 19:43:51.829   752  5957 I BufferQueueConsumer: [ScreenshotClient](this:0x7f88403400,id:103,api:1,p:-1,c:752) getReleasedBuffers: returning mask 0xffffffffffffffff
05-25 19:43:51.829   752 11653 D AEE/LIBAEE: shell: connected with AED OK
05-25 19:43:51.829   222   222 D AEE/AED : $===AEE===AEE===AEE===$
05-25 19:43:51.830   222   222 D AEE/AED : p 0 poll events 1 revents 0
05-25 19:43:51.830   222   222 D AEE/AED : not know revents:0
05-25 19:43:51.830   222   222 D AEE/AED : p 1 poll events 1 revents 1
05-25 19:43:51.830   222   222 D AEE/AED : aed_main_fork_worker: generator 0x7fb0a12060, worker 0x7fd6c86640, recv_fd 12
05-25 19:43:51.832   222   222 D AEE/AED : aee handle:-1, cpu cores:4, online:4
05-25 19:43:51.832   222   222 D AEE/AED : p 2 poll events 1 revents 0
05-25 19:43:51.832   222   222 D AEE/AED : not know revents:0
05-25 19:43:51.832 11654 11654 D AEE/AED : read success, handling msg (Ind, AE_IND_EXP_RAISED)
05-25 19:43:51.832   222   222 D AEE/AED : p 3 poll events 1 revents 0
05-25 19:43:51.832   222   222 D AEE/AED : not know revents:0
05-25 19:43:51.833 11654 11654 I AEE/AED : [OnPurpose Redunant in void preset_info(aed_report_record*, int, int)] pid: 11639, tid: -1361051648, name: UNKNOWN  >>> app.polarbear <<<
05-25 19:43:51.833 11654 11654 V AEE/AED : dashboard_record_update() : rec->module = app.polarbear 
05-25 19:43:51.833 11654 11654 D AEE/AED : Duplicated exception, cnt = 5 
05-25 19:43:51.833 11654 11654 D AEE/AED : Last exception time: 1779730422 
05-25 19:43:51.833 11654 11654 D AEE/AED : cur time: 1779731031 
05-25 19:43:51.833 11654 11654 D AEE/AED : Skip for Exp level'0'
05-25 19:43:51.833   752 11653 D AEE/LIBAEE: shell: got the request (cmd:Ind,AE_IND_LOG_CLOSE)
05-25 19:43:51.833   752 11653 D AEE/LIBAEE: shell: Got session close ind from AED
05-25 19:43:51.835   222   222 D AEE/AED : $===AEE===AEE===AEE===$
05-25 19:43:51.835   222   222 D AEE/AED : p 0 poll events 1 revents 0
05-25 19:43:51.835   222   222 D AEE/AED : not know revents:0
05-25 19:43:51.835   222   222 D AEE/AED : p 1 poll events 1 revents 0
05-25 19:43:51.835   222   222 D AEE/AED : not know revents:0
05-25 19:43:51.835   222   222 D AEE/AED : p 2 poll events 1 revents 0
05-25 19:43:51.835   222   222 D AEE/AED : not know revents:0
05-25 19:43:51.835   222   222 D AEE/AED : p 3 poll events 1 revents 0
05-25 19:43:51.835   222   222 D AEE/AED : not know revents:0
05-25 19:43:51.836   210   391 D GraphicBuffer: unregister, handle(0x7fb615f1c0) (w:630 h:630 s:640 f:0x1 u:0x000333)
05-25 19:43:51.836   752   759 I System  : FinalizerDaemon: finalize objects = 250
...
05-25 19:43:51.918   210  1029 I BufferQueueProducer: [Application Error: app.polarbear](this:0x7fb1461400,id:468,api:1,p:752,c:210) connect(P): api=1 producer=(752:system_server) producerControlledByApp=false

Device:

  • Lenovo TB3-X70F
  • MediaTek MT8161A Processor, Cortex A53, 64 bit
  • 3GB RAM
  • Android 6.0.1
  • Kernel 3.18.19

The device is so old that:

  • Termux does not support it any more
  • Termux's rust version is too old (does not support rust edition 2021)
  • When I tried to install rust manually, the installer crashed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions