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

app quits unexpectedly(Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR)) #21

Open
SamFu-xqFu opened this issue Jun 19, 2024 · 0 comments

Comments

@SamFu-xqFu
Copy link

I/flutter (23403): ------> UVCCameraController init
I/PlatformViewsController(23403): Hosting view in view hierarchy for platform view: 0
I/PlatformViewsController(23403): PlatformView is using SurfaceProducer backend
D/OpenGLRenderer(23403): makeCurrent grContext:0xb40000744b4b3060 reset mTextureAvailable
E/FrameEvents(23403): updateAcquireFence: Did not find frame.
V/USBMonitor(23403): USBMonitor:Constructor
V/USBMonitor(23403): USBMonitor:mUsbManager=android.hardware.usb.UsbManager@52093d
I/MultiCameraClient(23403): register...
I/USBMonitor(23403): register:
E/FrameEvents(23403): updateAcquireFence: Did not find frame.
E/FrameEvents(23403): updateAcquireFence: Did not find frame.
I/MultiCameraClient(23403): attach device name/pid/vid:/dev/bus/usb/002/002&1&5396
I/USBMonitor(23403): request permission, has permission: true
V/USBMonitor(23403): processConnect:device=/dev/bus/usb/002/002
I/USBMonitor(23403): UsbControlBlock:constructor
W/BpBinder(23403): PerfMonitor binderTransact: time=239ms interface=android.hardware.usb.IUsbManager code=2
D/UsbDeviceConnectionJNI(23403): close
I/USBMonitor(23403): name=/dev/bus/usb/002/002,desc=168,busnum=2,devnum=2,rawDesc=
I/MultiCameraClient(23403): connect device name/pid/vid:/dev/bus/usb/002/002&1&5396
I/CameraView(23403): camera connection. pid: 1, vid: 5396
I/AspectRatioTextureView(23403): AspectRatio = 1.3333333333333333
I/MultiCameraClient(23403): surface measure size (825, 618)
E/FrameEvents(23403): updateAcquireFence: Did not find frame.
I/RenderManager(23403): create RenderManager, Open ES version is 3.2
I/EGLEvn (23403): Init EGL Success!
I/EGLEvn (23403): setupSurface Success!
I/AbstractRender(23403): init surface texture render success!
I/AbstractRender(23403): create external texture, id = 1
I/AbstractRender(23403): init surface texture render success!
I/AbstractRender(23403): init surface texture render success!
D/UsbDeviceConnectionJNI(23403): close
I/libusb/core(23403): [23692core.c:2085:libusb_init2]:libusb v1.0.19.10903
I/libusb/usbfs(23403): [23692
android_usbfs.c:504:op_init2]:start up hotplug event handler
I/libusb/usbfs(23403): [23692android_usbfs.c:512:op_init2]:call android_scan_devices
E/libuvc/device(23403): [23692
device.c:330:uvc_open]:internal_devh->info->ctrl_if.bEndpointAddress is null
I/UVCCamera(23403): open camera status: -5476376649152016512, size: {"formats":[{"index":1,"type":4,"default":1,"size":["384x292"]}]}
I/CameraUVC(23403): aspect ratio = null, getAllPreviewSizes = [PreviewSize(width=384, height=292)],
I/CameraUVC(23403): getSuitableSize: PreviewSize(width=384, height=292)
I/CameraUVC(23403): aspect ratio = null, getAllPreviewSizes = [PreviewSize(width=384, height=292)],
I/MultiCameraClient(23403): Audio record by using system mic
I/CameraUVC(23403): start preview, name = /dev/bus/usb/002/002, preview=PreviewSize(width=384, height=292)
I/RenderManager(23403): create camera SurfaceTexture: android.graphics.SurfaceTexture@31b8e63
I/CameraView(23403): ------>CameraState: OPENED
I/AbstractRender(23403): create texture, id = 2
I/AbstractFboRender(23403): load fbo, textures: [I@baffa60, buffers: [I@e770b19
I/AbstractRender(23403): create texture, id = 3
I/AbstractFboRender(23403): load fbo, textures: [I@c6787de, buffers: [I@72eadbf
I/flutter (23403): Camera: OPENED
I/libUVCCamera(23403): [23697UVCPreview.cpp:509:prepare_preview]:frameSize=(384,292)@yuyv
I/libUVCCamera(23403): [23699
UVCPreview.cpp:267:callbackPixelFormatChanged]:PIXEL_FORMAT_RAW:
W/libUVCCamera(23403): [23698UVCPreview.cpp:128:get_frame]:allocate new frame
W/libUVCCamera(23403): [23697
UVCPreview.cpp:128:get_frame]:allocate new frame
I/libc (23403): handling signal: 11
F/libc (23403): Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x746608f000 in tid 23697 (camera-17188244), pid 23403 (_camera_example)


Build fingerprint: 'Xiaomi/cupid/cupid:14/UKQ1.230917.001/V816.0.5.0.ULCCNXM:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2024-06-20 03:13:56.677532571+0800
Process uptime: 44s
Cmdline: com.example.flutter_uvc_camera_example
pid: 23403, tid: 23697, name: camera-17188244 >>> com.example.flutter_uvc_camera_example <<<
uid: 10695
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x000000746608f000
x0 000000746608ee00 x1 b400007447d163c0 x2 00000000000003b0 x3 000000746608efc0
x4 b400007447d16800 x5 000000746608f400 x6 00000000000000db x7 00000073ba9eb461
x8 0000000000002a00 x9 0000000000003000 x10 0000000000000124 x11 0000000000001200
x12 0000000000001e00 x13 0000000000000c00 x14 0000000000000000 x15 0000000000000018
x16 000000744d86ce58 x17 0000007518526dc0 x18 000000739e79c000 x19 0000000000000124
x20 000000746608e800 x21 b400007447d15c00 x22 0000000000000600 x23 000000746608ee00
x24 b400007447d16200 x25 0000000000000600 x26 0000000000001200 x27 0000000000000120
x28 0000000000000600 x29 00000073ba9ebb80
lr 000000744d8589d4 sp 00000073ba9eba90 pc 0000007518526ed0 pst 0000000020001000
6 total frames
backtrace:
#00 pc 000000000008ded0 /apex/com.android.runtime/lib64/bionic/libc.so (__memcpy_aarch64_simd+272) (BuildId: 1e3ca19bcae05c01b019c85f3f422e56)
#1 pc 00000000000149d0 /data/app/~~03yXe9mLjLeDLvUmvuTHuA==/com.example.flutter_uvc_camera_example-h4ytK3k-ioVDOkWIuH3Drw==/lib/arm64/libUVCCamera.so (copyToSurface(uvc_frame*, ANativeWindow**)+356) (BuildId: de75f7d09159f97629dd56ea55725acac9e9bfa4)
#2 pc 00000000000145d4 /data/app/~~03yXe9mLjLeDLvUmvuTHuA==/com.example.flutter_uvc_camera_example-h4ytK3k-ioVDOkWIuH3Drw==/lib/arm64/libUVCCamera.so (UVCPreview::do_preview(uvc_stream_ctrl*)+988) (BuildId: de75f7d09159f97629dd56ea55725acac9e9bfa4)
#3 pc 0000000000013b30 /data/app/~~03yXe9mLjLeDLvUmvuTHuA==/com.example.flutter_uvc_camera_example-h4ytK3k-ioVDOkWIuH3Drw==/lib/arm64/libUVCCamera.so (UVCPreview::preview_thread_func(void*)+44) (BuildId: de75f7d09159f97629dd56ea55725acac9e9bfa4)
#4 pc 00000000000fd134 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208) (BuildId: 1e3ca19bcae05c01b019c85f3f422e56)
#5 pc 0000000000096ae4 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: 1e3ca19bcae05c01b019c85f3f422e56)
Lost connection to device.

Exited.

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