jiangdongguo / AndroidUSBCamera

🔥🔥🔥Flexible and useful UVC camera engine on Android platform, supporting multi-road cameras!

Home Page:https://juejin.cn/post/7115229806844706847

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

uvc_mjpeg2rgbx crash

06110902002 opened this issue · comments

hi @jiangdongguo 使用这个函数uvc_mjpeg2rgbx 作为mjpeg 转换时 会出现crash 能帮忙看看吗
image

crash info:


2023-11-01 10:05:14.499 22057-22057/? A/DEBUG: Build fingerprint: 'NIO/luke/luke:9/PQ3B.190801.002/09201523:userdebug/CN-FORCE_luke_BL2.1.1_211.14.1.1_20230920,test-keys'
2023-11-01 10:05:14.499 22057-22057/? A/DEBUG: Revision: '0'
2023-11-01 10:05:14.499 22057-22057/? A/DEBUG: ABI: 'arm64'
2023-11-01 10:05:14.499 22057-22057/? A/DEBUG: Dumped at: '2023-11-01 10:05:14'
2023-11-01 10:05:14.499 22057-22057/? A/DEBUG: pid: 20240, tid: 22049, name: BaseActivity >>> com.serenegiant.usbcameratest <<<
2023-11-01 10:05:14.499 22057-22057/? A/DEBUG: signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0x20906ff020906
2023-11-01 10:05:14.499 22057-22057/? A/DEBUG: x0 0000007554bff0d8 x1 0000007554bfeef0 x2 0000007554bfeea4 x3 0000000000000008
2023-11-01 10:05:14.499 22057-22057/? A/DEBUG: x4 0000000000000000 x5 6172656dffffffff x6 0000000000000080 x7 8000000000000000
2023-11-01 10:05:14.499 22057-22057/? A/DEBUG: x8 ff020906ff020906 x9 0000000000000438 x10 0000000000000000 x11 000000000000004b
2023-11-01 10:05:14.499 22057-22057/? A/DEBUG: x12 0101010101010101 x13 0000000000000000 x14 ffffffffffffffff x15 00009f20157efb4a
2023-11-01 10:05:14.499 22057-22057/? A/DEBUG: x16 00000075584f7c88 x17 00000075587a04a4 x18 0000000000000001 x19 0000007554bff0d8
2023-11-01 10:05:14.499 22057-22057/? A/DEBUG: x20 0000000000000008 x21 0000007554bfeef0 x22 0000007554bff588 x23 00000075584f3ee7
2023-11-01 10:05:14.499 22057-22057/? A/DEBUG: x24 00000075584f3f86 x25 0000000000005621 x26 0000000000000000 x27 0000007552c67640
2023-11-01 10:05:14.499 22057-22057/? A/DEBUG: x28 0000000000000001 x29 0000007554bfeed0
2023-11-01 10:05:14.499 22057-22057/? A/DEBUG: sp 0000007554bfeea0 lr 00000075587a0554 pc 00020906ff020906
2023-11-01 10:05:14.500 22057-22057/? A/DEBUG: backtrace:
2023-11-01 10:05:14.500 22057-22057/? A/DEBUG: #00 pc 00020906ff020906
2023-11-01 10:05:14.500 22057-22057/? A/DEBUG: #1 pc 000000000001b550 /data/app/com.serenegiant.usbcameratest-uvyGOuDTSp7iKN5m0N-nsw==/lib/arm64/libjpeg-turbo1500.so (jpeg_read_scanlines+172)
2023-11-01 10:05:14.500 22057-22057/? A/DEBUG: #2 pc 0000000000011110 /data/app/com.serenegiant.usbcameratest-uvyGOuDTSp7iKN5m0N-nsw==/lib/arm64/libuvc.so (uvc_mjpeg2rgbx+432)
2023-11-01 10:05:14.500 22057-22057/? A/DEBUG: #3 pc 0000000000029ff8 /data/app/com.serenegiant.usbcameratest-uvyGOuDTSp7iKN5m0N-nsw==/lib/arm64/libUVCCamera.so (UVCPreview::do_preview(uvc_stream_ctrl*)+504)
2023-11-01 10:05:14.500 22057-22057/? A/DEBUG: #4 pc 0000000000029754 /data/app/com.serenegiant.usbcameratest-uvyGOuDTSp7iKN5m0N-nsw==/lib/arm64/libUVCCamera.so (UVCPreview::preview_thread_func(void*)+44)
2023-11-01 10:05:14.500 22057-22057/? A/DEBUG: #5 pc 000000000008192c /system/lib64/libc.so (__pthread_start(void*)+36)
2023-11-01 10:05:14.500 22057-22057/? A/DEBUG: #6 pc 0000000000023478 /system/lib64/libc.so (__start_thread+68)