LuckSiege / LuckSiege/PictureSelector

红米k40 相机拍照回调后卡机,界面无反应(偶发)

Open
#2,111 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
13.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

2021-08-28 16:23:32.567 31162-31162/? W/Zygote: Unable to open libbeluga.so: dlopen failed: library "libbeluga.so" not found.
2021-08-28 16:23:32.589 31162-31162/? I/pictureselecto: Late-enabling -Xcheck:jni
2021-08-28 16:23:32.624 31162-31162/? I/pictureselecto: Unquickening 20 vdex files!
2021-08-28 16:23:32.567 31162-31162/? W/Zygote: Unable to open libbeluga.so: dlopen failed: library "libbeluga.so" not found.
2021-08-28 16:23:32.589 31162-31162/? I/pictureselecto: Late-enabling -Xcheck:jni
2021-08-28 16:23:32.624 31162-31162/? I/pictureselecto: Unquickening 20 vdex files!
2021-08-28 16:23:32.567 31162-31162/? W/Zygote: Unable to open libbeluga.so: dlopen failed: library "libbeluga.so" not found.
2021-08-28 16:23:32.589 31162-31162/? I/pictureselecto: Late-enabling -Xcheck:jni
2021-08-28 16:23:32.624 31162-31162/? I/pictureselecto: Unquickening 20 vdex files!
2021-08-28 16:23:32.971 31162-31162/com.luck.pictureselector I/Perf: Connecting to perf service.
2021-08-28 16:23:32.984 31162-31162/com.luck.pictureselector D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2021-08-28 16:23:32.986 31162-31162/com.luck.pictureselector D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2021-08-28 16:23:33.031 31162-31162/com.luck.pictureselector W/pictureselecto: Accessing hidden method Landroid/app/ActivityThread;->currentActivityThread()Landroid/app/ActivityThread; (greylist, reflection, allowed)
2021-08-28 16:23:33.031 31162-31162/com.luck.pictureselector W/pictureselecto: Accessing hidden method Landroid/app/ActivityThread;->getApplication()Landroid/app/Application; (greylist, reflection, allowed)
2021-08-28 16:23:33.103 31162-31264/com.luck.pictureselector I/pictureselecto: The ClassLoaderContext is a special shared library.
2021-08-28 16:23:33.127 31162-31264/com.luck.pictureselector I/pictureselecto: The ClassLoaderContext is a special shared library.
2021-08-28 16:23:33.174 31162-31162/com.luck.pictureselector W/pictureselecto: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed)
2021-08-28 16:23:33.174 31162-31162/com.luck.pictureselector W/pictureselecto: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed)
2021-08-28 16:23:33.189 31162-31264/com.luck.pictureselector W/pictureselecto: Accessing hidden method Lmiui/contentcatcher/sdk/Token;->(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V (greylist, linking, allowed)
2021-08-28 16:23:33.189 31162-31264/com.luck.pictureselector W/pictureselecto: Accessing hidden method Lmiui/contentcatcher/InterceptorProxy;->getWorkThread()Landroid/os/HandlerThread; (greylist, linking, allowed)
2021-08-28 16:23:33.190 31162-31264/com.luck.pictureselector D/ViewContentFactory: initViewContentFetcherClass
2021-08-28 16:23:33.190 31162-31264/com.luck.pictureselector D/ViewContentFactory: getInterceptorPackageInfo
2021-08-28 16:23:33.190 31162-31264/com.luck.pictureselector W/pictureselecto: Accessing hidden method Landroid/app/AppGlobals;->getInitialApplication()Landroid/app/Application; (greylist, linking, allowed)
2021-08-28 16:23:33.192 31162-31264/com.luck.pictureselector D/ViewContentFactory: getInitialApplication took 1ms
2021-08-28 16:23:33.192 31162-31264/com.luck.pictureselector D/ViewContentFactory: packageInfo.packageName: com.miui.catcherpatch
2021-08-28 16:23:33.221 31162-31162/com.luck.pictureselector W/Looper: PerfMonitor looperActivity : package=com.luck.pictureselector/com.luck.picture.lib.PictureSelectorCameraEmptyActivity time=1ms latency=411ms running=0ms procState=2 ClientTransaction{ callbacks=[android.app.servertransaction.TopResumedActivityChangeItem] } historyMsgCount=4 (msgIndex=1 wall=85ms seq=1 running=9ms io=75ms late=56ms h=android.app.ActivityThread$H w=162) (msgIndex=3 wall=96ms seq=3 running=38ms runnable=1ms io=40ms binder=20ms late=135ms h=android.app.ActivityThread$H w=110) (msgIndex=4 wall=211ms seq=4 running=86ms runnable=1ms io=22ms binder=53ms late=200ms h=android.app.ActivityThread$H w=159)
2021-08-28 16:23:33.235 31162-31162/com.luck.pictureselector W/Glide: Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on com.github.bumptech.glide:compiler in your application and a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored
2021-08-28 16:23:33.236 31162-31264/com.luck.pictureselector D/ViewContentFactory: initViewContentFetcherClass took 47ms
2021-08-28 16:23:33.237 31162-31264/com.luck.pictureselector I/ContentCatcher: ViewContentFetcher : ViewContentFetcher
2021-08-28 16:23:33.237 31162-31264/com.luck.pictureselector D/ViewContentFactory: createInterceptor took 47ms
2021-08-28 16:23:33.237 31162-31264/com.luck.pictureselector W/pictureselecto: Accessing hidden method Lmiui/contentcatcher/sdk/injector/IContentDecorateCallback$Stub;->()V (greylist, linking, allowed)
2021-08-28 16:23:33.237 31162-31264/com.luck.pictureselector W/pictureselecto: Accessing hidden method Lmiui/contentcatcher/sdk/ContentCatcherManager;->getInstance()Lmiui/contentcatcher/sdk/ContentCatcherManager; (greylist, linking, allowed)
2021-08-28 16:23:33.237 31162-31264/com.luck.pictureselector W/pictureselecto: Accessing hidden method Lmiui/contentcatcher/sdk/ContentCatcherManager;->registerContentInjector(Lmiui/contentcatcher/sdk/Token;Lmiui/contentcatcher/sdk/injector/IContentDecorateCallback;)V (greylist, linking, allowed)
2021-08-28 16:23:33.240 31162-31264/com.luck.pictureselector W/pictureselecto: Accessing hidden method Lmiui/contentcatcher/sdk/ContentCatcherManager;->getPageConfig(Lmiui/contentcatcher/sdk/Token;)Lmiui/contentcatcher/sdk/data/PageConfig; (greylist, linking, allowed)
2021-08-28 16:23:33.241 31162-31264/com.luck.pictureselector W/pictureselecto: Accessing hidden method Lmiui/contentcatcher/sdk/data/PageConfig;->getFeatures()Ljava/util/ArrayList; (greylist, linking, allowed)
2021-08-28 16:23:33.241 31162-31264/com.luck.pictureselector W/pictureselecto: Accessing hidden method Lmiui/contentcatcher/sdk/data/PageConfig;->getCatchers()Ljava/util/ArrayList; (greylist, linking, allowed)
2021-08-28 16:23:33.245 31162-31264/com.luck.pictureselector D/ViewContentFactory: initViewContentFetcherClass
2021-08-28 16:23:33.245 31162-31264/com.luck.pictureselector I/ContentCatcher: ViewContentFetcher : ViewContentFetcher
2021-08-28 16:23:33.245 31162-31264/com.luck.pictureselector D/ViewContentFactory: createInterceptor took 0ms
2021-08-28 16:23:33.705 31162-31162/com.luck.pictureselector W/Looper: PerfMonitor looperActivity : package=com.luck.pictureselector/.MainActivity time=483ms latency=393ms running=364ms procState=2 ClientTransaction{ callbacks=[android.app.servertransaction.LaunchActivityItem] lifecycleRequest=android.app.servertransaction.PauseActivityItem } historyMsgCount=5 (msgIndex=1 wall=85ms seq=1 running=9ms io=75ms late=56ms h=android.app.ActivityThread$H w=162) (msgIndex=3 wall=96ms seq=3 running=38ms runnable=1ms io=40ms binder=20ms late=135ms h=android.app.ActivityThread$H w=110) (msgIndex=4 wall=211ms seq=4 running=86ms runnable=1ms io=22ms binder=53ms late=200ms h=android.app.ActivityThread$H w=159)
2021-08-28 16:23:33.705 31162-31162/com.luck.pictureselector I/Choreographer: Skipped 59 frames! The application may be doing too much work on its main thread.
2021-08-28 16:23:33.725 31162-31256/com.luck.pictureselector I/AdrenoGLES-0: QUALCOMM build : 191610ae03, Ic907de5ed0
Build Date : 09/17/20
OpenGL ES Shader Compiler Version: EV031.32.02.01
Local Branch :
Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.9.12.10.00.00.582.274
Remote Branch : NONE
Reconstruct Branch : NOTHING
2021-08-28 16:23:33.725 31162-31256/com.luck.pictureselector I/AdrenoGLES-0: Build Config : S P 10.0.5 AArch64
2021-08-28 16:23:33.725 31162-31256/com.luck.pictureselector I/AdrenoGLES-0: Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so
2021-08-28 16:23:33.790 31162-31256/com.luck.pictureselector I/AdrenoGLES-0: PFP: 0x016dd091, ME: 0x00000000
2021-08-28 16:23:34.365 31162-31256/com.luck.pictureselector I/OpenGLRenderer: Davey! duration=1154ms; Flags=1, IntendedVsync=656286571682307, Vsync=656287063348954, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=656287067102143, AnimationStart=656287067105632, PerformTraversalsStart=656287067107247, DrawStart=656287606437767, SyncQueued=656287635685892, SyncStart=656287635975320, IssueDrawCommandsStart=656287636233653, SwapBuffers=656287723773392, FrameCompleted=656287726086205, DequeueBufferDuration=103594, QueueBufferDuration=388958, GpuCompleted=0,
2021-08-28 16:23:34.372 31162-31162/com.luck.pictureselector W/Looper: PerfMonitor doFrame : time=667ms vsyncFrame=32062991 latency=495ms procState=2 historyMsgCount=4 (msgIndex=1 wall=211ms seq=4 running=86ms runnable=1ms io=22ms binder=53ms late=200ms h=android.app.ActivityThread$H w=159) (msgIndex=3 wall=483ms seq=6 running=364ms runnable=55ms io=7ms reclaim=5ms binder=42ms slowpath=6ms late=393ms h=android.app.ActivityThread$H w=159)
2021-08-28 16:23:34.378 31162-31162/com.luck.pictureselector I/Choreographer: Skipped 78 frames! The application may be doing too much work on its main thread.
2021-08-28 16:23:34.383 31162-31162/com.luck.pictureselector W/Looper: PerfMonitor doFrame : time=5ms vsyncFrame=32063053 latency=656ms procState=2 historyMsgCount=59 (msgIndex=1 wall=667ms seq=8 running=107ms runnable=2ms io=90ms binder=194ms late=495ms h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver)
2021-08-28 16:23:37.472 31162-31345/com.luck.pictureselector W/BpBinder: PerfMonitor binderTransact : time=3789ms interface=android.content.IContentProvider code=21
2021-08-28 16:23:37.472 31162-31345/com.luck.pictureselector D/MediaScannerConnection: Scanned /storage/emulated/0/Android/data/com.luck.pictureselector/files/Pictures/IMG_CMP_95721_40003000.jpg to null

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the intermittent freeze on a Redmi K40 and trace the camera capture callback through the sample application. Review the provided main-thread warnings, skipped frames, renderer delay, and media scan timing to identify where the UI stops responding. Done means the camera callback completes without the interface becoming unresponsive.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.