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

Unable to view crash logs from errors #18

Open
micheleRuocco opened this issue Mar 29, 2024 · 2 comments
Open

Unable to view crash logs from errors #18

micheleRuocco opened this issue Mar 29, 2024 · 2 comments

Comments

@micheleRuocco
Copy link

micheleRuocco commented Mar 29, 2024

When an error happens from inside the opencv framework such as an assertion failure, no crash logs are created nor in crashlytics am I able to see any information.

When running locally I am able to see an error message in the console telling me the reason for the crash but not when the app is distributed to others.

Any idea of how I can get these errors saved somewhere so I can fix them?

@yeatse
Copy link
Owner

yeatse commented Mar 30, 2024

If there are no crash logs, how are you able to know that a crash has occurred?

@micheleRuocco
Copy link
Author

I have a screen recording from a user. As well as if I force a crash myself by calling something like Imgproc.cvtColor(src: Mat(), dst: grayMat, code: ColorConversionCodes.COLOR_RGB2GRAY) in the console I get

libc++abi: terminating due to uncaught exception of type cv::Exception: OpenCV(4.9.0) /Users/runner/work/opencv-spm/opencv-spm/opencv/modules/imgproc/src/color.cpp:196: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'

However when not connected to Xcode I get no information about this crash.

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