Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

打开本地mp3文件,奔溃了 #5

Open
gewu851755259 opened this issue Dec 24, 2020 · 1 comment
Open

打开本地mp3文件,奔溃了 #5

gewu851755259 opened this issue Dec 24, 2020 · 1 comment

Comments

@gewu851755259
Copy link

一开始avformat_open_input本地路径的音频文件总是返回-13的错误,AndroidManifest.xml中也是有读写权限,后来在节点增加 android:requestLegacyExternalStorage="true" 后不再返回-13,但是运行后点开始播放后崩溃,如下为崩溃信息:

@gewu851755259
Copy link
Author

2020-12-24 09:42:28.198 23447-23767/com.devyk.audioplayer E/CrashReport: #++++++++++Record By Bugly++++++++++#
2020-12-24 09:42:28.198 23447-23767/com.devyk.audioplayer E/CrashReport: # You can use Bugly(http:\bugly.qq.com) to get more Crash Detail!
2020-12-24 09:42:28.198 23447-23767/com.devyk.audioplayer E/CrashReport: # PKG NAME: com.devyk.audioplayer
2020-12-24 09:42:28.198 23447-23767/com.devyk.audioplayer E/CrashReport: # APP VER: 1.0.2
2020-12-24 09:42:28.198 23447-23767/com.devyk.audioplayer E/CrashReport: # SDK VER: 3.3.3-3.7.7
2020-12-24 09:42:28.199 23447-23767/com.devyk.audioplayer E/CrashReport: # LAUNCH TIME: 2020-12-24 09:40:14
2020-12-24 09:42:28.199 23447-23767/com.devyk.audioplayer E/CrashReport: # CRASH TYPE: NATIVE_CRASH
2020-12-24 09:42:28.199 23447-23767/com.devyk.audioplayer E/CrashReport: # CRASH TIME: 2020-12-24 09:42:28
2020-12-24 09:42:28.199 23447-23767/com.devyk.audioplayer E/CrashReport: # CRASH PROCESS: com.devyk.audioplayer
2020-12-24 09:42:28.199 23447-23767/com.devyk.audioplayer E/CrashReport: # CRASH THREAD: pool-2-thread-1(12056)
2020-12-24 09:42:28.199 23447-23767/com.devyk.audioplayer E/CrashReport: # REPORT ID: 1599d992-572a-4484-9aae-62c3817a7712
2020-12-24 09:42:28.199 23447-23767/com.devyk.audioplayer E/CrashReport: # CRASH DEVICE: SCM-AL09 UNROOT
2020-12-24 09:42:28.199 23447-23767/com.devyk.audioplayer E/CrashReport: # RUNTIME AVAIL RAM:1808568320 ROM:74373591040 SD:74352619520
2020-12-24 09:42:28.199 23447-23767/com.devyk.audioplayer E/CrashReport: # RUNTIME TOTAL RAM:3770044416 ROM:118914809856 SD:118893838336
2020-12-24 09:42:28.200 23447-23767/com.devyk.audioplayer E/CrashReport: # EXCEPTION FIRED BY KERNEL UNKNOWN
2020-12-24 09:42:28.200 23447-23767/com.devyk.audioplayer E/CrashReport: # CRASH STACK:
2020-12-24 09:42:28.200 23447-23767/com.devyk.audioplayer E/CrashReport: SIGSEGV(SEGV_MAPERR)
0x5e63fc92b23538
#00 pc 000000000001d5d4 /data/app/com.devyk.audioplayer-4ynXXNNtDAdq2qNDgoeWkQ==/lib/arm64/libavutil.so (av_dict_get+316) [arm64-v8a::a3103e7ee642b8e8fc00670508fed689]
#1 pc 000000000001d664 /data/app/com.devyk.audioplayer-4ynXXNNtDAdq2qNDgoeWkQ==/lib/arm64/libavutil.so (av_dict_set+116) [arm64-v8a::a3103e7ee642b8e8fc00670508fed689]
java:
java.util.concurrent.locks.LockSupport.park(LockSupport.java:190)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2067)
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
java.lang.Thread.run(Thread.java:929)
2020-12-24 09:42:28.200 23447-23767/com.devyk.audioplayer E/CrashReport: #++++++++++++++++++++++++++++++++++++++++++#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant