-
Notifications
You must be signed in to change notification settings - Fork 51
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
garbage collection throwing V8 fatal error #148
Comments
@rstoye I was able to get around the issue by switching to the sync methods |
Sadly this didn't work for me. The error still pops up rather quickly. On the other hand I set up a docker container and ran the example project there and got no errors. Maybe it's an issue with Manjaro / Arch. |
this work for me.
|
It appears all async methods can trigger the crash under nodeJS 20. |
Hello there,
I've been playing around with this library for a while now and I keep running into the following error on different occasions:
I have seen this issue #134, but sadly had to realize that my problem persists even on node 18 and node 16. So there is no easy workaround it seems.
You can check out my example project https://github.com/rstoye/opencv-troubleshoot where the error happens without fail on my system.
Speaking of systems:
My use case for opencv is that I have tons of scanned documents, that all have a distinct black line in the middle. I'm using this line as a guideline to roughly calculate the angle of the scanned document and correct it, so that the output is a straight document. The document is then being manipulated further, but for the sake of simplicity I only put the straightening process in the example project.
Any help or ideas would be greatly appreciated.
Thank you.
The text was updated successfully, but these errors were encountered: