Skip to content

Crash (libUVCCamera) with EMI spike #7

@alex-breen-ampa

Description

@alex-breen-ampa

This component is awesome, but we are having trouble with a severe app crash when there is an EMI/electrical spike on the USB line.

The crash appears to originate from low-level C/C++ (NDK) code and occurs in libUVCCamera. Possibly an issue with thread synchronization issue, improper cleanup, or memory corruption.

Crash Log Highlights:

  • Signal: SIGABRT (abort)
  • Library: libc (abort at +0x0950b0)
  • Potential Issue Location:
    • pthread_join (libc +0x0fd974)
    • UVCPreview::stopPreview (libUVCCamera +0x012bb4)
    • UVCCamera::stopPreview (libUVCCamera +0x00ba60)

Sentry link with crash details: https://23ventures.sentry.io/share/issue/3ad45c2a5464454b9b3814bfd5469c29

A fix or guidance on how to workaround it would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions