-
Notifications
You must be signed in to change notification settings - Fork 95
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
Random crash on Mac OS after running few minutes #31
Comments
Some backtrace would maybe be useful, precompiled binary is built with OpenCV 2.x. Perhaps you can build with 4.x version on your machine. Also, macOS binary is cross-compiled on Linux, but that should not be an issue. |
How can I get some backtrace for you? |
Just install gdb, and |
I cannot run gdb, below is the gdb log
I tried to compile cam2ip with gocv (OpenCV 4.x) on MacOS by command
I tested each cam2ip binary with a built-in webcam and a USB webcam Logitech C525 for about 20 minutes each webcam. I found that all of them crashes but with different frequencies; 1 and 2 crashed more frequently than 3 and 4. The binary number 3 is the most stable. In addition, the built-in webcam is more stable than the external USB webcam. Below are the logs of them
However, when I copied those cam2ip binaries to other Mac, none of them can run because they were compiled with dynamic shared libraries.
I tried altering the build command to make a static build but still cannot make it. Can you give me some instructions to compile the static cam2ip? Thanks! |
Try to just type |
I tried the precompiled for Mac OS. It works but randomly crashes after a few minutes.
Command:
cam2ip' -bind-addr :62001 -delay 100
OS: Mac OS 11.2.3
Logs:
Do you have any ideas about the issue?
Thanks!
The text was updated successfully, but these errors were encountered: