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

Crash on Android after playing video first 3 to 4 seconds #22

Open
ammarahm-ed opened this issue Apr 20, 2020 · 5 comments
Open

Crash on Android after playing video first 3 to 4 seconds #22

ammarahm-ed opened this issue Apr 20, 2020 · 5 comments

Comments

@ammarahm-ed
Copy link

ammarahm-ed commented Apr 20, 2020

I am getting a crash after video is played for a few seconds initially only after I switch to your library version 0.6 on android.

Platform: Android 9

2020-04-20 17:45:38.347 28622-28622/? E/libc: Access denied finding property "ro.vendor.at_library"
2020-04-20 17:45:38.482 28083-28592/? A/libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 28592 (Thread-22), pid 28083 (ayer.junoplayer)
2020-04-20 17:45:38.713 28652-28652/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2020-04-20 17:45:38.714 28652-28652/? A/DEBUG: Build fingerprint: 'lge/judyln_lao_com/judyln:9/PKQ1.181105.001/191281829b7c4:user/release-keys'
2020-04-20 17:45:38.714 28652-28652/? A/DEBUG: Revision: '12'
2020-04-20 17:45:38.714 28652-28652/? A/DEBUG: ABI: 'arm64'
2020-04-20 17:45:38.714 28652-28652/? A/DEBUG: pid: 28083, tid: 28592, name: Thread-22  >>> com.video.player.videoplayer.junoplayer <<<
2020-04-20 17:45:38.714 28652-28652/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
2020-04-20 17:45:38.714 28652-28652/? A/DEBUG: Abort message: 'indirect_reference_table.cc:59] JNI ERROR (app bug): accessed deleted Global 0x3d82'
2020-04-20 17:45:38.714 28652-28652/? A/DEBUG:     x0  0000000000000000  x1  0000000000006fb0  x2  0000000000000006  x3  0000000000000008
2020-04-20 17:45:38.714 28652-28652/? A/DEBUG:     x4  0000007ca18ca000  x5  0000007ca18ca000  x6  0000007ca18ca000  x7  0000000002deb430
2020-04-20 17:45:38.714 28652-28652/? A/DEBUG:     x8  0000000000000083  x9  d1a8d75fa09a90b0  x10 0000000000000000  x11 fffffffc7ffffbdf
2020-04-20 17:45:38.714 28652-28652/? A/DEBUG:     x12 0000000000000001  x13 ffffffffa166daf2  x14 0000000000a9c307  x15 0000007c9d8f5000
2020-04-20 17:45:38.714 28652-28652/? A/DEBUG:     x16 0000007c9d8e92a8  x17 0000007c9d80ad34  x18 0000000000000000  x19 0000000000006db3
2020-04-20 17:45:38.714 28652-28652/? A/DEBUG:     x20 0000000000006fb0  x21 0000007bf0ecb000  x22 0000007c1b9e8400  x23 0000007c1b079608
2020-04-20 17:45:38.714 28652-28652/? A/DEBUG:     x24 0000000000000000  x25 0000007bfa611588  x26 0000000000000000  x27 0000007bfeb7a9e4
2020-04-20 17:45:38.714 28652-28652/? A/DEBUG:     x28 0000000000000043  x29 0000007bfa610d10
2020-04-20 17:45:38.714 28652-28652/? A/DEBUG:     sp  0000007bfa610cd0  lr  0000007c9d7fc394  pc  0000007c9d7fc3bc
2020-04-20 17:45:38.718 28652-28652/? A/DEBUG: backtrace:
2020-04-20 17:45:38.718 28652-28652/? A/DEBUG:     #00 pc 00000000000223bc  /system/lib64/libc.so (abort+116)
2020-04-20 17:45:38.718 28652-28652/? A/DEBUG:     #01 pc 0000000000464a40  /system/lib64/libart.so (art::Runtime::Abort(char const*)+1204)
2020-04-20 17:45:38.718 28652-28652/? A/DEBUG:     #02 pc 0000000000008ce0  /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+724)
2020-04-20 17:45:38.718 28652-28652/? A/DEBUG:     #03 pc 000000000023f138  /system/lib64/libart.so (art::IndirectReferenceTable::AbortIfNoCheckJNI(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)+240)
2020-04-20 17:45:38.718 28652-28652/? A/DEBUG:     #04 pc 00000000002ec3b8  /system/lib64/libart.so (art::IndirectReferenceTable::GetChecked(void*) const+432)
2020-04-20 17:45:38.718 28652-28652/? A/DEBUG:     #05 pc 00000000002e761c  /system/lib64/libart.so (art::JavaVMExt::DecodeGlobal(void*)+24)
2020-04-20 17:45:38.718 28652-28652/? A/DEBUG:     #06 pc 0000000000494f00  /system/lib64/libart.so (art::Thread::DecodeJObject(_jobject*) const+152)
2020-04-20 17:45:38.718 28652-28652/? A/DEBUG:     #07 pc 000000000045cf74  /system/lib64/libart.so (art::(anonymous namespace)::ArgArray::BuildArgArrayFromVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, art::ObjPtr<art::mirror::Object>, std::__va_list)+136)
2020-04-20 17:45:38.718 28652-28652/? A/DEBUG:     #08 pc 000000000045cdac  /system/lib64/libart.so (art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+400)
2020-04-20 17:45:38.718 28652-28652/? A/DEBUG:     #09 pc 0000000000361c74  /system/lib64/libart.so (art::JNI::CallStaticVoidMethod(_JNIEnv*, _jclass*, _jmethodID*, ...)+712)
2020-04-20 17:45:38.718 28652-28652/? A/DEBUG:     #10 pc 0000000000021560  /data/app/com.video.player.videoplayer.junoplayer-UZyltsgwIVYanOXrf8NJbw==/lib/arm64/libijksdl.so (J4AC_tv_danmaku_ijk_media_player_IjkMediaPlayer__postEventFromNative+56)
2020-04-20 17:45:38.718 28652-28652/? A/DEBUG:     #11 pc 0000000000031810  /data/app/com.video.player.videoplayer.junoplayer-UZyltsgwIVYanOXrf8NJbw==/lib/arm64/libijkplayer.so
2020-04-20 17:45:38.718 28652-28652/? A/DEBUG:     #12 pc 0000000000024c94  /data/app/com.video.player.videoplayer.junoplayer-UZyltsgwIVYanOXrf8NJbw==/lib/arm64/libijkplayer.so
2020-04-20 17:45:38.718 28652-28652/? A/DEBUG:     #13 pc 00000000000122e8  /data/app/com.video.player.videoplayer.junoplayer-UZyltsgwIVYanOXrf8NJbw==/lib/arm64/libijksdl.so
2020-04-20 17:45:38.718 28652-28652/? A/DEBUG:     #14 pc 0000000000092efc  /system/lib64/libc.so (__pthread_start(void*)+36)
2020-04-20 17:45:38.718 28652-28652/? A/DEBUG:     #15 pc 0000000000023c78  /system/lib64/libc.so (__start_thread+68)
2020-04-20 17:45:38.730 793-817/? E/[email protected]: readFile: Could not open /sys/class/power_supply/usb/is_ocp
2020-04-20 17:45:38.751 793-817/? E/[email protected]: readFile: Could not open /sys/class/power_supply/usb/is_ocp
2020-04-20 17:45:38.762 793-817/? E/[email protected]: readFile: Could not open /sys/class/power_supply/usb/is_ocp
2020-04-20 17:45:38.773 793-817/? E/[email protected]: readFile: Could not open /sys/class/power_supply/usb/is_ocp
2020-04-20 17:45:38.783 793-817/? E/[email protected]: readFile: Could not open /sys/class/power_supply/usb/is_ocp
2020-04-20 17:45:38.794 793-817/? E/[email protected]: readFile: Could not open /sys/class/power_supply/usb/is_ocp
2020-04-20 17:45:39.060 1238-1238/? E//system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_00
2020-04-20 17:45:39.229 1178-1387/? E/OMXNodeInstance: !!! Observer died. Quickly, do something, ... anything...
2020-04-20 17:45:39.271 1616-1711/? E/libprocessgroup: Error encountered killing process cgroup uid 99594 pid 28235: No such file or directory
2020-04-20 17:45:39.303 1616-1907/? E/InputDispatcher: channel 'e82cf6e com.video.player.videoplayer.junoplayer/com.video.player.videoplayer.junoplayer.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
2020-04-20 17:45:39.318 3481-3481/? E/NotificationColorUtil: Drawable not found: 2131165370
2020-04-20 17:45:39.318 3481-3481/? E/NotificationColorUtil: Drawable not found: 2131165370
2020-04-20 17:45:39.341 2277-2545/? E/AppPowerController: PowerRM, event=sys.activity-resume activity=com.lge.launcher3/com.lge.launcher3.LauncherExtension package=com.lge.launcher3
2020-04-20 17:45:39.341 2277-2545/? E/AppPowerController: PowerRM, processEvent : EventHub.APP_START_EVENT ACTIVITY_START_EVENT ACTIVITY_RESUME_EVENT
2020-04-20 17:45:39.341 2277-2545/? E/AppPowerController: PowerRM, ActivityTrans CurApp=com.lge.launcher3 CurrActivity=com.lge.launcher3/com.lge.launcher3.LauncherExtension
2020-04-20 17:45:39.342 2277-2545/? E/AppPowerController: PowerRM, Geo app = com.lge.launcher3/com.lge.launcher3.LauncherExtension
2020-04-20 17:45:39.381 2277-2545/? E/AppPowerController: PowerRM, event=sys.window-focus activity=null package=com.lge.launcher3
2020-04-20 17:45:39.381 2277-2545/? E/AppPowerController: PowerRM, processEvent : EventHub.WINDOW_FOCUS_CHANGED_EVENT
2020-04-20 17:45:39.381 2277-2545/? E/AppPowerController: PowerRM, focus changed event packageName =com.lge.launcher3
2020-04-20 17:45:39.394 27464-27489/? E/PBSessionCacheImpl: sessionId[120789536714195776] not persisted.
2020-04-20 17:45:39.420 2277-2545/? E/AppPowerController: PowerRM, event=sys.activity-idle activity=null package=null
2020-04-20 17:45:39.420 2277-2545/? E/AppPowerController: PowerRM, processEvent : EventHub.ACTIVITY_IDLE_EVENT
2020-04-20 17:45:39.420 2277-2545/? E/AppPowerController: PowerRM, notifyGameStatus : 1,0,60,0
2020-04-20 17:45:39.420 2277-2545/? E/AppPowerController: PowerRM, Game Setting: 1, 0, 60, 0
2020-04-20 17:45:39.420 2277-2545/? E/AppPowerController: PowerRM, notifyGameStatus to proxy, notifyGameStatu
@befovy
Copy link
Owner

befovy commented Apr 20, 2020

What's the mean of ’only‘ that you used ?
Does it crash on master branch of bilibili/ijkplayer

@ammarahm-ed
Copy link
Author

ammarahm-ed commented Apr 20, 2020

No it does not crash on 0.8.8 bilibili release.

Here is the library I created for ijkvideo which I am using.
https://github.com/ammarahm-ed/react-native-ijkvideo

Its react-native but still the crash does not happen on the package I am using for ijkplayer currently but when I made the switch to your version, it started to crash. So maybe I am doing something wrong there in android side ...

Thank you for your time and this amazing project that you continue to work on.

@ammarahm-ed
Copy link
Author

@befovy any update on this? am i doing something wrong?

@befovy
Copy link
Owner

befovy commented Apr 23, 2020

Sorry, I've been very busy recently

@ammarahm-ed
Copy link
Author

@befovy its okay, just take a look whenever you get some time.

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

2 participants