-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
ijkplayer demo,播放一段视频,退出再播放,重复几次,手机卡住! #732
Comments
Which version are you using? |
@bbcallen 我是大概12月5号下拉的版本,没有抛出ANR,但却按不了。我提供一下“IJKMEDIA”的Log 12-16 11:39:33.028: D/IJKMEDIA(14723): java.nio.ByteBuffer class loaded |
try master |
@bbcallen what's you mean? |
@bbcallen,
Also, I have seen this crash logs:
Please, help! |
Crash log on another (ASUS tab) device:
|
Can't reproduce on master, how did you reproduce that? |
@NikmanSergey. Does it happen before #702 ?. |
Just play many times one FullHD video with MediaCodec=1. |
@xiaoyaomeng try latest code on master. |
Can you locate the exact crash line number with addr2line? |
|
Where can I get line number? In '/data/anr/traces.txt'? The app freezes at line:
|
use addr2line |
Sorry... I can reproduce this issue in ijk-sample app, when using library compiled before #702 fixing commit. |
I have pushed a blind fix 071724c |
It's not crash, but hangup... you can force to stop the app which is not responding. I see in traces.txt:
Should I check the real number of this line?
@bbcallen, |
Tested this issue with k0.4.1.1 on Sony Z3. Also, have app freeze after ~10 videos playback:
|
@bbcallen,
How can I help to find it? |
Actually, I need some devices to reproduce this issue. I'm going to do more test in following weeks. |
特定机型才出现吗?还是跟文件有关系?提供详细背景 |
@bbcallen, |
@bbcallen @NikmanSergey "Heap thread pool worker thread 0" prio=5 tid=2 Native (still starting up) "Heap thread pool worker thread 1" prio=5 tid=3 Native (still starting up) "Heap thread pool worker thread 2" prio=5 tid=4 Native (still starting up) "Signal Catcher" daemon prio=5 tid=5 Runnable |
@bbcallen mVideoView.stopPlayback(); |
Try this branch cab87a3 |
|
Another freeze log:
|
plz try master |
@Android4MediaPlayer, latest master still has this issue |
which device? |
@bbcallen, |
@NikmanSergey |
@bbcallen 我们这边现在还是会出现这个问题,demo不会出现,播放的是本地视频,我们这边出现了,是播放在线视频。不知道这个是否有区别。 |
@bbcallen 请问我需要提供哪些Log给您? 我在onStop里面加了一些Log,还是在onStop里面卡住 12-21 14:24:43.867: I/PlaybackVideoActivity(15684): PlaybackVideoActivity onResume onStop()里: protected void onStop() { |
@NikmanSergey 你的问题解决了??有试过在线的视频吗? |
@Android4MediaPlayer 请问您清楚这个问题吗?现在项目比较急 |
demo没有问题,那是你调用的问题,查查这方面 |
@Android4MediaPlayer 不明白,为什么是调用的问题?onStop里面的写法就是sample-demo里面的写法。不过demo里播放的是本地视频,我这边的列表都是在线视频。 |
对比测试下 |
@bbcallen @Android4MediaPlayer 我打了下log发现卡在这个函数mVideoView.stopPlayback(); 12-21 15:50:43.800: D/IJKMEDIA(7219): ijkmp_stop() |
@xiaoyaomeng, |
Only when using online streams |
@NikmanSergey Only when using online streams, I press back button,when player activity call onStop() , UI Thread was blocked. Sorry for my poor english. |
@bbcallen 再补充一点信息,我在Nexus 5上验证这个问题。 |
I have the same problem with @xiaoyaomeng , my LENOVO YOGA TABLET2 was sometimes freezed when mVideoView.stopPlayback() be called by onStop() method. |
ijkplayer demo,播放一段视频,退出再播放,重复几次,退到demo的选择列表后,手机卡住!
这时候只有HOME键能按,其他的键都失灵。不明白是什么问题导致的。MTK6795
The text was updated successfully, but these errors were encountered: