Git Product home page Git Product logo

ffmpeg4android's Introduction

FFmpeg2AndroidDemo

This is a compilation of Android available under the FFmpeg project, containing code examples.

中文说明

The project includes:

  • FFmpeg Full Platform Compilation Script
  • Libx264 Full Platform Compilation Script
  • Libx264 Full Platform Compilation Script
  • Compiled Good Version of the SO library (download in ffmpeg3.2.5 / android)
  • Compiled Rich Version of the SO library (download in ffmpeg3.2.5 / android_more)
  • CMake Compile FFmpeg as the script which can be command
  • Android command executes the interface of FFmpeg
  • Android Use Case

Script directory structure

  • ffmpeg-3.2.5
    • jianxi_ffmpeg_build_all.sh
    • jianxi_ffmpeg_arm64_v8a_build.sh
    • jianxi_ffmpeg_arm_build.sh
    • jianxi_ffmpeg_arm_v7a_build.sh
    • jianxi_ffmpeg_x86_64_build.sh
    • jianxi_ffmpeg_x86_build.sh
    • jianxi_ffmpeg_build_all_more.sh
    • jianxi_ffmpeg_arm64_v8a_build_more.sh
    • jianxi_ffmpeg_arm_build_more.sh
    • jianxi_ffmpeg_arm_v7a_build_more.sh
    • jianxi_ffmpeg_x86_64_build_more.sh
    • jianxi_ffmpeg_x86_build_more.sh
    • fdk-aac-0.1.5
      • fdk_aac_arm64_v8a_build.sh
      • fdk_aac_arm_build.sh
      • fdk_aac_build_all.sh
      • fdk_aac_mips_build.sh
      • fdk_aac_x86_64_build.sh
      • fdk_aac_x86_build.sh
    • libx264
      • x264_arm64_v8a_build.sh
      • x264_arm_build.sh
      • x264_build_all.sh
      • x264_mips_build.sh
      • x264_x86_64_build.sh
      • x264_x86_build.sh

Compile

  1. 、Download the project, find the above scripts under ffmpeg, and then change the address which NDK variable points to the address of local ndk catalogue. If you are not using mac system, you also need to modify the words darwin-x86_64 to linux-x86_64.

  2. Compile Lite, cd into the ffmpeg catalogue, find the script you need to structure, and drag it into the command order if you need to implement the architecture. You can find it under “/jianxi_ffmpeg_build_all.sh” in the android catalogue, this process is relatively long, so I recommend you to close other useless processes before execution.

  3. Compile the enhanced version, cd into the ffmpeg catalogue, find the script you need to structure, and drag it into the command order if you need to implement the architecture. You can find it under ./jianxi_ffmpeg_build_all_more.sh in the android catalogue, this process is relatively long, and so I recommend you to close other useless processes before execution.

Run this project:

Because I did not put FFmpeg into the project, so I can not specify the relative path. You need to find CMakeLists.txt, and fill your FFmpeg source catalogue inside include_directories.

Announcements

  • This project script is generic, but you may modify some of the paths defined in the script or keep my directory structure, otherwise it will be unsuccessful when executing
  • If you download from the official website, then you need to follow my blog or other online tutorials on FFmpeg and libfdk-aac to make the changes, or there may exit some problem

More

You can visit some of my related articles to access my ideas. Related articles are:编译Android下可用的FFmpeg(包含libx264与libfdk-aac)编译Android下可执行命令的FFmpeg

ffmpeg4android's People

Contributors

mabeijianxi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ffmpeg4android's Issues

这个动态库不能运行加水印

ffmpeg -i test.jpg -vf "movie=logo.png[watermask];[in][watermask] overlay=0:0" -y test_image_watermark.jpg

我用电脑ffmpeg命令行工具就可以.知道要在config配置什么

问个小白的问题,怎么编译完整版?

./jianxi_ffmpeg_build_all_more.sh这指令怎么运行?我在Terminal控制台cd进目录后输入ndk-build指令时
提示Android NDK:APP_PLATFORM not set。从网上找资料说要写Android.mk文件,但是我写了.mk文件
也编译不了,我jni刚学,请会的兄弟指教一下,万分感谢。

小小建议

可以将ndk路径、工具链的工具使用环境变量,其他人使用的时候就很方便

导入到项目里出现了 一个小问题

Error:error: '../../../../src/main/jniLibs/armeabi/libfdk-aac.so', needed by '../../../../build/intermediates/cmake/release/obj/armeabi/libjxffmpegrun.so', missing and no known rule to make it 基本没有改过路径什么的,

编译失败

提示lib264找不到,编译失败。请问如何解决

crash on app

String[] ffmpegCommand = new String[]{"-i", rtspUrl, "-acodec", "copy", "-vcodec", "copy", filePath};

10:04:40.694 1185 3183 I OMXClient: IOmx service obtained
07-09 10:04:40.694 458 875 I OMXMaster: makeComponentInstance(OMX.google.mp3.decoder) in [email protected] process
07-09 10:04:40.697 458 2119 E OMXNodeInstance: getConfig(0xe72280e0:google.mp3.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001)
07-09 10:04:40.700 266 266 W AshmemAllocator: ashmem_create_region(8192) returning hidl_memory(0x74b302c100, 8192)
07-09 10:04:40.701 266 266 W AshmemAllocator: ashmem_create_region(8192) returning hidl_memory(0x74b302c100, 8192)
07-09 10:04:40.702 266 266 W AshmemAllocator: ashmem_create_region(9216) returning hidl_memory(0x74b302c100, 9216)
07-09 10:04:40.703 266 266 I chatty : uid=1000(system) [email protected] identical 34 lines
07-09 10:04:40.703 266 266 W AshmemAllocator: ashmem_create_region(9216) returning hidl_memory(0x74b302c100, 9216)
07-09 10:04:40.706 450 1963 E MP3Extractor: Unable to resync. Signalling end of stream.
07-09 10:04:40.726 1185 1185 W AudioTrack: AUDIO_OUTPUT_FLAG_FAST denied by server; frameCount 0 -> 9617
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] Runtime aborting...
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] Dumping all threads without appropriate locks held: thread list lock mutator lock
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] All threads:
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] DALVIK THREADS (105):
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] "Binder:548_F" prio=10 tid=102 Runnable
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] | group="" sCount=0 dsCount=0 flags=0 obj=0x13248830 self=0x7064ecd400
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] | sysTid=5535 nice=-20 cgrp=default sched=0/0 handle=0x704afd44f0
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] | state=R schedstat=( 6534985897 435053093 4800 ) utm=356 stm=296 core=4 HZ=100
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] | stack=0x704aed9000-0x704aedb000 stackSize=1009KB
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] | held mutexes= "abort lock" "mutator lock"(shared held)
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] native: #00 pc 00000000003c7324 /system/lib64/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+220)
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] native: #1 pc 0000000000495dc0 /system/lib64/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits>&, bool, BacktraceMap*, bool) const+352)
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] native: #2 pc 00000000004afd5c /system/lib64/libart.so (art::DumpCheckpoint::Run(art::Thread*)+844)
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] native: #3 pc 00000000004a8a9c /system/lib64/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*)+476)
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] native: #4 pc 00000000004a7eec /system/lib64/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits>&, bool)+1036)
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] native: #5 pc 000000000046a9d0 /system/lib64/libart.so (art::Runtime::Abort(char const*)+392)
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] native: #6 pc 0000000000008d2c /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+724)
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] native: #7 pc 000000000001a9e8 /system/lib64/libhidlbase.so (android::hardware::details::return_status::~return_status()+288)
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] native: #8 pc 000000000005eea8 /system/lib64/libandroid_servers.so (android::android_location_GnssLocationProvider_get_internal_state(_JNIEnv*, _jobject*)+272)
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] at com.android.server.location.GnssLocationProvider.native_get_internal_state(Native method)
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] at com.android.server.location.GnssLocationProvider.dump(GnssLocationProvider.java:2701)
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] at com.android.server.LocationManagerService.dump(LocationManagerService.java:3478)
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] - locked <0x079d4a2c> (a java.lang.Object)
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] at android.os.Binder.doDump(Binder.java:571)
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] at android.os.Binder.dump(Binder.java:561)
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] at android.os.Binder.onTransact(Binder.java:511)
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] at android.location.ILocationManager$Stub.onTransact(ILocationManager.java:713)
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] at android.os.Binder.execTransact(Binder.java:731)
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558]
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] "main" prio=10 tid=1 Native
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] | group="" sCount=1 dsCount=0 flags=1 obj=0x757ff770 self=0x706ec14c00
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] | sysTid=548 nice=-2 cgrp=default sched=0/0 handle=0x70f46bd548
07-09 13:03:23.741 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 4640692173 2122099863 18411 ) utm=299 stm=164 core=5 HZ=100
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] | stack=0x7fdb2f9000-0x7fdb2fb000 stackSize=8MB
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] kernel: (couldn't read /proc/self/task/548/stack)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000006f668 /system/lib64/libc.so (__epoll_pwait+8)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] native: #1 pc 00000000000141c0 /system/lib64/libutils.so (android::Looper::pollInner(int)+144)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] native: #2 pc 000000000001408c /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+60)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] native: #3 pc 0000000000120f54 /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] at android.os.MessageQueue.nativePollOnce(Native method)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] at android.os.MessageQueue.next(MessageQueue.java:326)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] at android.os.Looper.loop(Looper.java:160)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] at com.android.server.SystemServer.run(SystemServer.java:460)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] at com.android.server.SystemServer.main(SystemServer.java:296)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] at java.lang.reflect.Method.invoke(Native method)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558]
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] "Signal Catcher" prio=10 tid=2 WaitingInMainSignalCatcherLoop
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] | group="" sCount=1 dsCount=0 flags=1 obj=0x13240130 self=0x706820f000
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] | sysTid=553 nice=0 cgrp=default sched=0/0 handle=0x70685d14f0
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 907358576 1489547 223 ) utm=74 stm=15 core=4 HZ=100
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] | stack=0x70684d6000-0x70684d8000 stackSize=1009KB
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] kernel: (couldn't read /proc/self/task/553/stack)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000006f848 /system/lib64/libc.so (__rt_sigtimedwait+8)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] native: #1 pc 000000000002db18 /system/lib64/libc.so (sigwait+64)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] native: #2 pc 0000000000483a90 /system/lib64/libart.so (art::SignalCatcher::WaitForSignal(art::Thread*, art::SignalSet&)+416)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] native: #3 pc 0000000000482430 /system/lib64/libart.so (art::SignalCatcher::Run(void*)+272)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] native: #4 pc 0000000000083114 /system/lib64/libc.so (__pthread_start(void*)+36)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] native: #5 pc 00000000000233bc /system/lib64/libc.so (__start_thread+68)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] (no managed stack frames)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558]
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] "ADB-JDWP Connection Control Thread" prio=10 tid=3 WaitingInMainDebuggerLoop
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] | group="" sCount=1 dsCount=0 flags=1 obj=0x132401b8 self=0x706ec16400
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] | sysTid=554 nice=0 cgrp=default sched=0/0 handle=0x70681ff4f0
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 2119169 1181833 10 ) utm=0 stm=0 core=3 HZ=100
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] | stack=0x7068104000-0x7068106000 stackSize=1009KB
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] kernel: (couldn't read /proc/self/task/554/stack)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000006f788 /system/lib64/libc.so (__ppoll+8)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] native: #1 pc 000000000002b718 /system/lib64/libc.so (poll+88)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] native: #2 pc 0000000000006cd0 /system/lib64/libadbconnection.so (adbconnection::AdbConnectionState::RunPollLoop(art::Thread*)+816)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] native: #3 pc 000000000000527c /system/lib64/libadbconnection.so (adbconnection::CallbackFunction(void*)+1060)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] native: #4 pc 0000000000083114 /system/lib64/libc.so (__pthread_start(void*)+36)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] native: #5 pc 00000000000233bc /system/lib64/libc.so (__start_thread+68)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] (no managed stack frames)
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558]
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] "FinalizerDaemon" prio=10 tid=4 Waiting
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] | group="" sCount=1 dsCount=0 flags=1 obj=0x13240240 self=0x70668e8000
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] | sysTid=556 nice=4 cgrp=default sched=0/0 handle=0x7055e0c4f0
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 162404747 61304203 1624 ) utm=9 stm=5 core=0 HZ=100
07-09 13:03:23.742 548 5535 F system_server: runtime.cc:558] | stack=0x7055d09000-0x7055d0b000 stackSize=1041KB
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] kernel: (couldn't read /proc/self/task/556/stack)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000001ed2c /system/lib64/libc.so (syscall+28)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] native: #1 pc 00000000000d7424 /system/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] native: #2 pc 00000000003c2860 /system/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+640)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] native: #3 pc 00000000003c4324 /system/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long, int, bool, art::ThreadState)+428)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] at java.lang.Object.wait(Native method)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] - waiting on <0x07f17cb8> (a java.lang.Object)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] at java.lang.Object.wait(Object.java:422)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:188)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] - locked <0x07f17cb8> (a java.lang.Object)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:209)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:232)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] at java.lang.Daemons$Daemon.run(Daemons.java:103)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] at java.lang.Thread.run(Thread.java:764)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558]
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] "ReferenceQueueDaemon" prio=10 tid=5 Waiting
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] | group="" sCount=1 dsCount=0 flags=1 obj=0x132402c8 self=0x70668e8c00
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] | sysTid=555 nice=4 cgrp=default sched=0/0 handle=0x7055f124f0
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 131951698 50554497 1183 ) utm=8 stm=4 core=2 HZ=100
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] | stack=0x7055e0f000-0x7055e11000 stackSize=1041KB
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] kernel: (couldn't read /proc/self/task/555/stack)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000001ed2c /system/lib64/libc.so (syscall+28)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] native: #1 pc 00000000000d7424 /system/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] native: #2 pc 00000000003c2860 /system/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+640)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] native: #3 pc 00000000003c4324 /system/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long, int, bool, art::ThreadState)+428)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] at java.lang.Object.wait(Native method)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] - waiting on <0x04225a91> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] at java.lang.Daemons$ReferenceQueueDaemon.runInternal(Daemons.java:178)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] - locked <0x04225a91> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] at java.lang.Daemons$Daemon.run(Daemons.java:103)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] at java.lang.Thread.run(Thread.java:764)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558]
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] "FinalizerWatchdogDaemon" prio=10 tid=6 Sleeping
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] | group="" sCount=1 dsCount=0 flags=1 obj=0x13240350 self=0x70669a2c00
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] | sysTid=557 nice=4 cgrp=default sched=0/0 handle=0x7055d064f0
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 12289585 9100040 121 ) utm=0 stm=0 core=2 HZ=100
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] | stack=0x7055c03000-0x7055c05000 stackSize=1041KB
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] kernel: (couldn't read /proc/self/task/557/stack)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000001ed30 /system/lib64/libc.so (syscall+32)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] native: #1 pc 00000000000d7850 /system/lib64/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long, int)+168)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] native: #2 pc 00000000003c2874 /system/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+660)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] native: #3 pc 00000000003c4324 /system/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long, int, bool, art::ThreadState)+428)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] at java.lang.Thread.sleep(Native method)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] - sleeping on <0x049a2cf5> (a java.lang.Object)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] at java.lang.Thread.sleep(Thread.java:373)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] - locked <0x049a2cf5> (a java.lang.Object)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] at java.lang.Thread.sleep(Thread.java:314)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] at java.lang.Daemons$FinalizerWatchdogDaemon.sleepFor(Daemons.java:342)
07-09 13:03:23.743 548 5535 F system_server: runtime.cc:558] at java.lang.Daemons$FinalizerWatchdogDaemon.waitForFinalization(Daemons.java:364)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] at java.lang.Daemons$FinalizerWatchdogDaemon.runInternal(Daemons.java:281)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] at java.lang.Daemons$Daemon.run(Daemons.java:103)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] at java.lang.Thread.run(Thread.java:764)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558]
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] "HeapTaskDaemon" prio=10 tid=7 WaitingForTaskProcessor
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] | group="" sCount=1 dsCount=0 flags=1 obj=0x132403d8 self=0x70669c3400
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] | sysTid=558 nice=4 cgrp=default sched=0/0 handle=0x7055c004f0
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 15148690816 1382609879 5022 ) utm=1451 stm=63 core=5 HZ=100
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] | stack=0x7055afd000-0x7055aff000 stackSize=1041KB
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] kernel: (couldn't read /proc/self/task/558/stack)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000001ed30 /system/lib64/libc.so (syscall+32)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] native: #1 pc 00000000000d7850 /system/lib64/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long, int)+168)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] native: #2 pc 000000000022f7ac /system/lib64/libart.so (art::gc::TaskProcessor::GetTask(art::Thread*)+476)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] native: #3 pc 0000000000230040 /system/lib64/libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*)+96)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] at dalvik.system.VMRuntime.runHeapTasks(Native method)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] at java.lang.Daemons$HeapTaskDaemon.runInternal(Daemons.java:475)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] at java.lang.Daemons$Daemon.run(Daemons.java:103)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] at java.lang.Thread.run(Thread.java:764)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558]
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] "Binder:548_1" prio=10 tid=8 Native
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] | group="" sCount=1 dsCount=0 flags=1 obj=0x13240460 self=0x7068216800
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] | sysTid=559 nice=0 cgrp=default sched=0/0 handle=0x7052f994f0
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 2593874946 551981305 3413 ) utm=186 stm=72 core=2 HZ=100
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] | stack=0x7052e9e000-0x7052ea0000 stackSize=1009KB
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] kernel: (couldn't read /proc/self/task/559/stack)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000006f754 /system/lib64/libc.so (__ioctl+4)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] native: #1 pc 0000000000029168 /system/lib64/libc.so (ioctl+136)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] native: #2 pc 000000000005a844 /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+260)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] native: #3 pc 000000000005aa20 /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+24)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] native: #4 pc 000000000005b174 /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+60)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] native: #5 pc 000000000007bc20 /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] native: #6 pc 000000000000fb80 /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+280)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] native: #7 pc 00000000000b4b64 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] native: #8 pc 0000000000083114 /system/lib64/libc.so (__pthread_start(void*)+36)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] native: #9 pc 00000000000233bc /system/lib64/libc.so (__start_thread+68)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] (no managed stack frames)
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558]
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] "Binder:548_2" prio=10 tid=9 Native
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] | group="" sCount=1 dsCount=0 flags=1 obj=0x132404e8 self=0x706ec8a400
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] | sysTid=560 nice=0 cgrp=default sched=0/0 handle=0x7052e9b4f0
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 7483314314 843942264 5876 ) utm=471 stm=276 core=0 HZ=100
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] | stack=0x7052da0000-0x7052da2000 stackSize=1009KB
07-09 13:03:23.744 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] kernel: (couldn't read /proc/self/task/560/stack)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000006f754 /system/lib64/libc.so (__ioctl+4)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] native: #1 pc 0000000000029168 /system/lib64/libc.so (ioctl+136)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] native: #2 pc 000000000005a844 /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+260)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] native: #3 pc 000000000005aa20 /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+24)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] native: #4 pc 000000000005b174 /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+60)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] native: #5 pc 000000000007bc20 /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] native: #6 pc 000000000000fb80 /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+280)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] native: #7 pc 00000000000b4b64 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] native: #8 pc 0000000000083114 /system/lib64/libc.so (__pthread_start(void*)+36)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] native: #9 pc 00000000000233bc /system/lib64/libc.so (__start_thread+68)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] (no managed stack frames)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558]
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] "android.bg" prio=10 tid=11 Native
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] | group="" sCount=1 dsCount=0 flags=1 obj=0x13240570 self=0x706ec88c00
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] | sysTid=562 nice=10 cgrp=default sched=0/0 handle=0x70520094f0
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 21763272595 4058391554 7848 ) utm=625 stm=1550 core=0 HZ=100
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] | stack=0x7051f06000-0x7051f08000 stackSize=1041KB
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] kernel: (couldn't read /proc/self/task/562/stack)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000001ed2c /system/lib64/libc.so (syscall+28)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] native: #1 pc 00000000000d7424 /system/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] native: #2 pc 000000000051b7a8 /system/lib64/libart.so (_ZN3artL12GoToRunnableEPNS_6ThreadE.llvm.1561841859+480)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] native: #3 pc 000000000051b584 /system/lib64/libart.so (art::JniMethodEnd(unsigned int, art::Thread*)+28)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] at com.android.server.location.GnssLocationProvider.class_init_native(Native method)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] at com.android.server.location.GnssLocationProvider.lambda$reportGnssServiceDied$2(GnssLocationProvider.java:1944)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] at com.android.server.location.-$$Lambda$GnssLocationProvider$DbwtCzCTIv9vxK6aWV22ONkgWSg.run(lambda:-1)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] at android.os.Handler.handleCallback(Handler.java:873)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] at android.os.Handler.dispatchMessage(Handler.java:99)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] at android.os.Looper.loop(Looper.java:193)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] at android.os.HandlerThread.run(HandlerThread.java:65)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558]
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] "ActivityManager" prio=10 tid=12 Native
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] | group="" sCount=1 dsCount=0 flags=1 obj=0x13240660 self=0x706ec89800
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] | sysTid=563 nice=-2 cgrp=default sched=0/0 handle=0x7051f034f0
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 1615621506 299981345 2039 ) utm=60 stm=100 core=5 HZ=100
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] | stack=0x7051e00000-0x7051e02000 stackSize=1041KB
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] kernel: (couldn't read /proc/self/task/563/stack)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000006f668 /system/lib64/libc.so (__epoll_pwait+8)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] native: #1 pc 00000000000141c0 /system/lib64/libutils.so (android::Looper::pollInner(int)+144)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] native: #2 pc 000000000001408c /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+60)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] native: #3 pc 0000000000120f54 /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] at android.os.MessageQueue.nativePollOnce(Native method)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] at android.os.MessageQueue.next(MessageQueue.java:326)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] at android.os.Looper.loop(Looper.java:160)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] at android.os.HandlerThread.run(HandlerThread.java:65)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558] at com.android.server.ServiceThread.run(ServiceThread.java:44)
07-09 13:03:23.745 548 5535 F system_server: runtime.cc:558]
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] "android.ui" prio=10 tid=13 Native
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] | group="" sCount=1 dsCount=0 flags=1 obj=0x13240750 self=0x706694ec00
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] | sysTid=564 nice=-2 cgrp=default sched=0/0 handle=0x7051dfd4f0
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 25581865878 17387716504 119053 ) utm=1754 stm=803 core=4 HZ=100
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] | stack=0x7051cfa000-0x7051cfc000 stackSize=1041KB
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] kernel: (couldn't read /proc/self/task/564/stack)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000006f668 /system/lib64/libc.so (__epoll_pwait+8)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] native: #1 pc 00000000000141c0 /system/lib64/libutils.so (android::Looper::pollInner(int)+144)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] native: #2 pc 000000000001408c /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+60)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] native: #3 pc 0000000000120f54 /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] at android.os.MessageQueue.nativePollOnce(Native method)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] at android.os.MessageQueue.next(MessageQueue.java:326)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] at android.os.Looper.loop(Looper.java:160)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] at android.os.HandlerThread.run(HandlerThread.java:65)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] at com.android.server.ServiceThread.run(ServiceThread.java:44)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] at com.android.server.UiThread.run(UiThread.java:43)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558]
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] "ActivityManager:procStart" prio=10 tid=14 Native
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] | group="" sCount=1 dsCount=0 flags=1 obj=0x13240840 self=0x706694f800
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] | sysTid=565 nice=-2 cgrp=default sched=0/0 handle=0x7051cf74f0
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 65357753 25445913 261 ) utm=5 stm=0 core=4 HZ=100
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] | stack=0x7051bf4000-0x7051bf6000 stackSize=1041KB
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] kernel: (couldn't read /proc/self/task/565/stack)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000006f668 /system/lib64/libc.so (__epoll_pwait+8)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] native: #1 pc 00000000000141c0 /system/lib64/libutils.so (android::Looper::pollInner(int)+144)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] native: #2 pc 000000000001408c /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+60)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] native: #3 pc 0000000000120f54 /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] at android.os.MessageQueue.nativePollOnce(Native method)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] at android.os.MessageQueue.next(MessageQueue.java:326)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] at android.os.Looper.loop(Looper.java:160)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] at android.os.HandlerThread.run(HandlerThread.java:65)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] at com.android.server.ServiceThread.run(ServiceThread.java:44)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558]
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] "ActivityManager:kill" prio=10 tid=15 Native
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] | group="" sCount=1 dsCount=0 flags=1 obj=0x13240930 self=0x7066950400
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] | sysTid=566 nice=10 cgrp=default sched=0/0 handle=0x7051bf14f0
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 35513251 9634208 67 ) utm=2 stm=0 core=4 HZ=100
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] | stack=0x7051aee000-0x7051af0000 stackSize=1041KB
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] kernel: (couldn't read /proc/self/task/566/stack)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000006f668 /system/lib64/libc.so (__epoll_pwait+8)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] native: #1 pc 00000000000141c0 /system/lib64/libutils.so (android::Looper::pollInner(int)+144)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] native: #2 pc 000000000001408c /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+60)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] native: #3 pc 0000000000120f54 /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] at android.os.MessageQueue.nativePollOnce(Native method)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] at android.os.MessageQueue.next(MessageQueue.java:326)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] at android.os.Looper.loop(Looper.java:160)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] at android.os.HandlerThread.run(HandlerThread.java:65)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558] at com.android.server.ServiceThread.run(ServiceThread.java:44)
07-09 13:03:23.746 548 5535 F system_server: runtime.cc:558]
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] "batterystats-worker" prio=10 tid=16 Waiting
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] | group="" sCount=1 dsCount=0 flags=1 obj=0x13240a20 self=0x706682e000
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] | sysTid=567 nice=0 cgrp=default sched=0/0 handle=0x7051aeb4f0
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 216973084 31609335 241 ) utm=15 stm=5 core=1 HZ=100
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] | stack=0x70519e8000-0x70519ea000 stackSize=1041KB
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] kernel: (couldn't read /proc/self/task/567/stack)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000001ed2c /system/lib64/libc.so (syscall+28)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] native: #1 pc 00000000000d7424 /system/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] native: #2 pc 00000000003c2860 /system/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+640)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] native: #3 pc 00000000003c4324 /system/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long, int, bool, art::ThreadState)+428)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] at java.lang.Object.wait(Native method)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] - waiting on <0x023075f7> (a java.lang.Object)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] at java.lang.Thread.parkFor$(Thread.java:2137)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] - locked <0x023075f7> (a java.lang.Object)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] at sun.misc.Unsafe.park(Unsafe.java:358)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] at java.util.concurrent.locks.LockSupport.park(LockSupport.java:190)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2059)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1120)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:849)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] at java.lang.Thread.run(Thread.java:764)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558]
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] "FileObserver" prio=10 tid=17 Native
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] | group="" sCount=1 dsCount=0 flags=1 obj=0x13240b90 self=0x706682f800
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] | sysTid=568 nice=0 cgrp=default sched=0/0 handle=0x70518e74f0
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 54258383 19459706 88 ) utm=2 stm=2 core=2 HZ=100
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] | stack=0x70517e4000-0x70517e6000 stackSize=1041KB
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] kernel: (couldn't read /proc/self/task/568/stack)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000007018c /system/lib64/libc.so (read+4)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] native: #1 pc 000000000018521c /system/lib64/libandroid_runtime.so (android::android_os_fileobserver_observe(_JNIEnv*, _jobject*, int)+260)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] at android.os.FileObserver$ObserverThread.observe(Native method)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] at android.os.FileObserver$ObserverThread.run(FileObserver.java:86)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558]
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] "android.fg" prio=10 tid=18 Native
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] | group="" sCount=1 dsCount=0 flags=1 obj=0x13240c20 self=0x7066830400
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] | sysTid=569 nice=0 cgrp=default sched=0/0 handle=0x70517e14f0
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 2477426647 1215322391 10784 ) utm=180 stm=66 core=4 HZ=100
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] | stack=0x70516de000-0x70516e0000 stackSize=1041KB
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] kernel: (couldn't read /proc/self/task/569/stack)
07-09 13:03:23.747 548 5535 F system_server: runtime.cc:558] native: #2 pc 000000000001408c /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+60)
07-09 13:03:23.748 548 5535 F system_server: runtime.cc:558] at com.android.server.ServiceThread.run(ServiceThread.java:44)
07-09 13:03:23.749 548 5535 F system_server: runtime.cc:558] kernel: (couldn't read /proc/self/task/573/stack)
07-09 13:03:23.749 548 5535 F system_server: runtime.cc:558] at android.os.MessageQueue.nativePollOnce(Native method)
07-09 13:03:23.749 548 5535 F system_server: runtime.cc:558] | stack=0x70511c0000-0x70511c2000 stackSize=1041KB
07-09 13:03:23.749 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 1534668 80875 6 ) utm=0 stm=0 core=4 HZ=100
07-09 13:03:23.750 548 5535 F system_server: runtime.cc:558] at android.os.MessageQueue.next(MessageQueue.java:326)
07-09 13:03:23.750 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.751 548 5535 F system_server: runtime.cc:558] | stack=0x7050aee000-0x7050af0000 stackSize=1009KB
07-09 13:03:23.752 548 5535 F system_server: runtime.cc:558] at android.os.Looper.loop(Looper.java:160)
07-09 13:03:23.753 548 5535 F system_server: runtime.cc:558] | sysTid=609 nice=-8 cgrp=default sched=0/0 handle=0x70500e94f0
07-09 13:03:23.754 548 5535 F system_server: runtime.cc:558] at android.os.MessageQueue.nativePollOnce(Native method)
07-09 13:03:23.754 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000006f668 /system/lib64/libc.so (__epoll_pwait+8)
07-09 13:03:23.755 548 5535 F system_server: runtime.cc:558] at com.android.server.wm.-$$Lambda$8kACnZAYfDhQTXwuOd2shUPmkTE.run(lambda:-1)
07-09 13:03:23.756 548 5535 F system_server: runtime.cc:558] | sysTid=625 nice=-8 cgrp=default sched=0/0 handle=0x704f66b4f0
07-09 13:03:23.756 548 5535 F system_server: runtime.cc:558] native: #4 pc 000000000000fb80 /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+280)
07-09 13:03:23.756 548 5535 F system_server: runtime.cc:558] at android.os.Looper.loop(Looper.java:160)
07-09 13:03:23.756 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 19341870 20417249 54 ) utm=1 stm=0 core=4 HZ=100
07-09 13:03:23.757 548 5535 F system_server: runtime.cc:558] native: #1 pc 00000000000141c0 /system/lib64/libutils.so (android::Looper::pollInner(int)+144)
07-09 13:03:23.757 548 5535 F system_server: runtime.cc:558] native: #2 pc 000000000001408c /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+60)
07-09 13:03:23.757 548 5535 F system_server: runtime.cc:558] "NetworkPolicy" prio=10 tid=49 Native
07-09 13:03:23.758 548 5535 F system_server: runtime.cc:558] native: #3 pc 0000000000120f54 /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
07-09 13:03:23.759 548 5535 F system_server: runtime.cc:558] at android.os.MessageQueue.nativePollOnce(Native method)
07-09 13:03:23.761 548 5535 F system_server: runtime.cc:558] at android.os.HandlerThread.run(HandlerThread.java:65)
07-09 13:03:23.762 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.762 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000006f668 /system/lib64/libc.so (__epoll_pwait+8)
07-09 13:03:23.763 548 5535 F system_server: runtime.cc:558] at android.os.HandlerThread.run(HandlerThread.java:65)
07-09 13:03:23.764 548 5535 F system_server: runtime.cc:558] at android.os.MessageQueue.next(MessageQueue.java:326)
07-09 13:03:23.764 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000006f668 /system/lib64/libc.so (__epoll_pwait+8)
07-09 13:03:23.764 548 5535 F system_server: runtime.cc:558] native: #1 pc 00000000000141c0 /system/lib64/libutils.so (android::Looper::pollInner(int)+144)
07-09 13:03:23.764 548 5535 F system_server: runtime.cc:558] native: #2 pc 000000000001408c /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+60)
07-09 13:03:23.764 548 5535 F system_server: runtime.cc:558] native: #3 pc 0000000000120f54 /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
07-09 13:03:23.765 548 5535 F system_server: runtime.cc:558] | stack=0x704dadc000-0x704dade000 stackSize=1009KB
07-09 13:03:23.765 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000006f754 /system/lib64/libc.so (__ioctl+4)
07-09 13:03:23.765 548 5535 F system_server: runtime.cc:558] (no managed stack frames)
07-09 13:03:23.765 548 5535 F system_server: runtime.cc:558] | sysTid=656 nice=0 cgrp=default sched=0/0 handle=0x704dad94f0
07-09 13:03:23.765 548 5535 F system_server: runtime.cc:558] native: #1 pc 0000000000029168 /system/lib64/libc.so (ioctl+136)
07-09 13:03:23.765 548 5535 F system_server: runtime.cc:558] native: #6 pc 000000000000fb80 /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+280)
07-09 13:03:23.765 548 5535 F system_server: runtime.cc:558] native: #7 pc 00000000000b4b64 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] native: #8 pc 0000000000083114 /system/lib64/libc.so (__pthread_start(void*)+36)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] native: #9 pc 00000000000233bc /system/lib64/libc.so (__start_thread+68)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] (no managed stack frames)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558]
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] "EthernetServiceThread" prio=10 tid=72 Native
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] | group="" sCount=1 dsCount=0 flags=1 obj=0x132462a0 self=0x705094dc00
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] | sysTid=657 nice=0 cgrp=default sched=0/0 handle=0x704d9db4f0
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 49926630 5802751 74 ) utm=2 stm=1 core=1 HZ=100
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] | stack=0x704d8d8000-0x704d8da000 stackSize=1041KB
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] kernel: (couldn't read /proc/self/task/657/stack)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000006f668 /system/lib64/libc.so (__epoll_pwait+8)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] native: #1 pc 00000000000141c0 /system/lib64/libutils.so (android::Looper::pollInner(int)+144)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] native: #2 pc 000000000001408c /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+60)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] native: #3 pc 0000000000120f54 /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] at android.os.MessageQueue.nativePollOnce(Native method)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] at android.os.MessageQueue.next(MessageQueue.java:326)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] at android.os.Looper.loop(Looper.java:160)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] at android.os.HandlerThread.run(HandlerThread.java:65)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558]
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] "TaskSnapshotPersister" prio=10 tid=73 Waiting
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] | group="" sCount=1 dsCount=0 flags=1 obj=0x13246390 self=0x7050994400
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] | sysTid=658 nice=10 cgrp=default sched=0/0 handle=0x704d5ff4f0
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 451585497 171386370 591 ) utm=33 stm=11 core=5 HZ=100
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] | stack=0x704d4fc000-0x704d4fe000 stackSize=1041KB
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] kernel: (couldn't read /proc/self/task/658/stack)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000001ed2c /system/lib64/libc.so (syscall+28)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] native: #1 pc 00000000000d7424 /system/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] native: #2 pc 00000000003c2860 /system/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+640)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] native: #3 pc 00000000003c4324 /system/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long, int, bool, art::ThreadState)+428)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] at java.lang.Object.wait(Native method)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] - waiting on <0x009ccac9> (a java.lang.Object)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] at com.android.server.wm.TaskSnapshotPersister$1.run(TaskSnapshotPersister.java:245)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] - locked <0x009ccac9> (a java.lang.Object)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558]
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] "PhotonicModulator" prio=10 tid=75 Waiting
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] | group="" sCount=1 dsCount=0 flags=1 obj=0x13246610 self=0x70506cfc00
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] | sysTid=660 nice=0 cgrp=default sched=0/0 handle=0x704d3f34f0
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 45906010 36966453 444 ) utm=1 stm=2 core=3 HZ=100
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] | stack=0x704d2f0000-0x704d2f2000 stackSize=1041KB
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] kernel: (couldn't read /proc/self/task/660/stack)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000001ed2c /system/lib64/libc.so (syscall+28)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] native: #1 pc 00000000000d7424 /system/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] native: #2 pc 00000000003c2860 /system/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+640)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] native: #3 pc 00000000003c4324 /system/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long, int, bool, art::ThreadState)+428)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] at java.lang.Object.wait(Native method)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] - waiting on <0x0901c5ce> (a java.lang.Object)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] at com.android.server.display.DisplayPowerState$PhotonicModulator.run(DisplayPowerState.java:424)
07-09 13:03:23.766 548 5535 F system_server: runtime.cc:558] - locked <0x0901c5ce> (a java.lang.Object)
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558]
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] "LazyTaskWriterThread" prio=10 tid=76 Waiting
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] | group="" sCount=1 dsCount=0 flags=1 obj=0x132468c0 self=0x7050995000
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] | sysTid=661 nice=10 cgrp=default sched=0/0 handle=0x704d2ed4f0
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 315570501 89841456 386 ) utm=18 stm=12 core=5 HZ=100
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] | stack=0x704d1ea000-0x704d1ec000 stackSize=1041KB
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] kernel: (couldn't read /proc/self/task/661/stack)
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000001ed2c /system/lib64/libc.so (syscall+28)
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] native: #1 pc 00000000000d7424 /system/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] native: #2 pc 00000000003c2860 /system/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+640)
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] native: #3 pc 00000000003c4324 /system/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long, int, bool, art::ThreadState)+428)
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] at java.lang.Object.wait(Native method)
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] - waiting on <0x0b5a2cef> (a com.android.server.am.TaskPersister)
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] at com.android.server.am.TaskPersister$LazyTaskWriterThread.processNextItem(TaskPersister.java:692)
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] - locked <0x0b5a2cef> (a com.android.server.am.TaskPersister)
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] at com.android.server.am.TaskPersister$LazyTaskWriterThread.run(TaskPersister.java:665)
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558]
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] "SyncManager" prio=10 tid=77 Native
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] | group="" sCount=1 dsCount=0 flags=1 obj=0x13246998 self=0x7050870800
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] | sysTid=662 nice=10 cgrp=default sched=0/0 handle=0x704d1e74f0
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 8202289 15379834 30 ) utm=0 stm=0 core=4 HZ=100
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] | stack=0x704d0e4000-0x704d0e6000 stackSize=1041KB
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] | held mutexes=
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] kernel: (couldn't read /proc/self/task/662/stack)
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] native: #00 pc 000000000006f668 /system/lib64/libc.so (__epoll_pwait+8)
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] native: #1 pc 00000000000141c0 /system/lib64/libutils.so (android::Looper::pollInner(int)+144)
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] native: #2 pc 000000000001408c /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+60)
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] native: #3 pc 0000000000120f54 /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] at android.os.MessageQueue.nativePollOnce(Native method)
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] at android.os.MessageQueue.next(MessageQueue.java:326)
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] at android.os.Looper.loop(Looper.java:160)
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] at android.os.HandlerThread.run(HandlerThread.java:65)
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558]
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] "UsbService host thread" prio=10 tid=79 Native
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] | group="" sCount=1 dsCount=0 flags=1 obj=0x13246a88 self=0x7050871400
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] | sysTid=664 nice=0 cgrp=default sched=0/0 handle=0x704c94d4f0
07-09 13:03:23.767 548 5535 F system_server: runtime.cc:558] | state=S schedstat=( 56615128 88631840 177 ) utm=2 stm=2 core=4 HZ=100

执行获取视频帧命令就闪退。。

ffmpeg -probesize 32768 -i rtsp://:@192.168.1.10:554/user=admin_password=tlJwpbo6_channel=1_stream=1.sdp?real_stream -y -t 0.001 -ss 1 -f image2 -r 1 /storage/emulated/0/crop_1516442561434.jpg

直接飞出了。。。

用来转码 结果崩溃?急

1.只改了cmakelist里面NDK 的路径
2.因为下载下来的各种架构的so库都有,所以并没有改ffmpeg目录下的sh里的linux
3.崩溃信息如下:jianxiffmpegcmd A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 12066 (Thread-15791)
4.是完整版的 一运行就崩溃
5.没有重新编译过shell脚本,用的是下载下来就有的
6.需求只要arm64-v8a x86 armeabi不知道精简下来打包能否在10M 以内
7.在解决问题的情况下,不重新编译脚本,只删除原先有的架构,保留在上述三个目录的so库是否可行?

大佬,Linux下编译遇到坑了。请教

请问大佬一个问题,我在编译的时候遇到下面这样的报错,

Makefile:227: recipe for target '.depend' failed
make: *** [.depend] Error 1
/home/hong/Android/Sdk/ndk-bundle/toolchains/x86_64-4.9/prebuilt/linux-x86_64/bin/x86_64-linux-android-gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64 -Wall -I. -I. --sysroot=/home/hong/Android/Sdk/ndk-bundle/platforms/android-21/arch-x86_64/ -Os -fpic -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=5 -fPIC -fomit-frame-pointer -fno-tree-vectorize -c -o x264.o x264.c
x264.c:40:20: fatal error: signal.h: No such file or directory
#include <signal.h>
^
compilation terminated.
<builtin>: recipe for target 'x264.o' failed
make: *** [x264.o] Error 1
/home/hong/Android/Sdk/ndk-bundle/toolchains/x86_64-4.9/prebuilt/linux-x86_64/bin/x86_64-linux-android-gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64 -Wall -I. -I. --sysroot=/home/hong/Android/Sdk/ndk-bundle/platforms/android-21/arch-x86_64/ -Os -fpic -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=5 -fPIC -fomit-frame-pointer -fno-tree-vectorize -c -o x264.o x264.c
x264.c:40:20: fatal error: signal.h: No such file or directory
#include <signal.h>
^
compilation terminated.
<builtin>: recipe for target 'x264.o' failed
make: *** [x264.o] Error 1

我发现signal.h文件老版本的NDK是在
ndk-bundle/platforms/android-14/arch-arm/usr/include文件夹目录下

而现在最新版本的NDK signal.h文件是在
ndk-bundle-sysroot-usr-include 文件夹目录下,

哪在配置这个路径的时候SYSROOT=$NDK_HOME/platforms/$ANDROID_API/arch-x86_64 应该怎么写呀,还是按照原来的这样写吗。

编译报错

void show_help_children(const AVClass *class, int flags);这个函数编译报错:

***/ffmpegTest/app/src/main/cpp/cmdutils.h
Error:(213, 40) error: expected ')'
Information:(213, 24) to match this '('
Error:(587, 39) error: inva
Error:(213, 40) error: expected ')'
Information:(213, 24) note: to match this '('

运行项目崩溃

image
我把大神的demo 改了这么个地方 然后就在手机上运行起来了 但是在运行命令时就崩溃了
image

视频剪切指令不能用! 急

指令: ffmpeg -d stdout -loglevel verbose -i "/storage/emulated/0/DCIM/Camera/VID_20170508_184715.mp4" -ss 00:00:01 -t 00:00:09 -acodec copy -vcodec copy "/storage/emulated/0/ffmpegTest/20170802184605.mp4"

jxRun函数 exit_program代码报错

ffmpeg.c文件

int jxRun(int argc, char **argv)函数

第4464行 exit_program(received_nb_signals ? 255 : main_return_code); 这一行代码报错
压缩my_girl.mp4文件成功

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.