react-native-video-processing icon indicating copy to clipboard operation
react-native-video-processing copied to clipboard

signal 6 (SIGABRT)

Open barbaragomes opened this issue 6 years ago • 4 comments

Current Behavior

App crashes on Android when loading VidePlayer component for some videos, but works fine for other videos:

signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 05-15 17:21:10.817 20034 20034 F DEBUG : r0 00000000 r1 00004dd8 r2 00000006 r3 00000008 05-15 17:21:10.818 20034 20034 F DEBUG : r4 00004da2 r5 00004dd8 r6 c7f78278 r7 0000010c 05-15 17:21:10.818 20034 20034 F DEBUG : r8 00000000 r9 00000002 sl 00000000 fp b04c2428 05-15 17:21:10.818 20034 20034 F DEBUG : ip 00000000 sp c7f78268 lr e976c417 pc e979c97c cpsr 200b0010 05-15 17:21:10.820 20034 20034 F DEBUG : 05-15 17:21:10.820 20034 20034 F DEBUG : backtrace: 05-15 17:21:10.820 20034 20034 F DEBUG : #00 pc 0004a97c /system/lib/libc.so (tgkill+12) 05-15 17:21:10.820 20034 20034 F DEBUG : #01 pc 0001a413 /system/lib/libc.so (abort+54) 05-15 17:21:10.820 20034 20034 F DEBUG : #02 pc 00041288 /data/app/com.coworkers-wIWMj34Dali4XYFg-oRfEw==/lib/arm/libswscale.so (sws_setColorspaceDetails+832)

I'm guessing this has something to do with the FFMPEG library issue when using FileDescriptors:

https://github.com/wseemann/FFmpegMediaMetadataRetriever/issues/123

Is anybody else facing this issue?

My file path looks like: content://media/external/video/media/232

Expected Behavior

App should not abort

Your Environment

software version
react-native-video-processing current (master branch)
react-native 0.53.3
node 9.5.0

barbaragomes avatar May 16 '18 01:05 barbaragomes

the same as you,but in my case is the video file error

zivids avatar May 30 '18 09:05 zivids

@zivids Were will able to fix this issue?

barbaragomes avatar Dec 12 '18 22:12 barbaragomes

@barbaragomes I used FFmpegMediaMetadataRetriever to got video thumbnails bitmap,it crash frequently.Then I saved bitmap to phone and read from local,it works! But if the video file error, it also crash. So I think the FFmpegMediaMetadataRetriever something wrong

zivids avatar Dec 17 '18 08:12 zivids

same issue :(

pmella16 avatar Jan 10 '21 06:01 pmella16