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
composite crashes silently #1708
Comments
Hi, you've not provided details of the platform in use but my best guess would be a flavour of Linux with a small stack size such as Alpine, where that stack has overflowed. Disabling caching within libvips via |
Hope this helped, please feel free to re-open with more details if further help is required. |
@lovell I have exact same problem with I'm running Windows 10 Pro, Node.js v10 (64-bit). I've managed to discover that a stack overflow is occuring inside Glib. I've used procdump to see what happens and executed it like this:
The above call ends with this in command prompt:
And this is the generated crash dump which maybe will be useful: node.exe_190711_131623.dmp.zip Also, a side note: it seems that |
The performance of the For non-overlapping inputs you may also be interested in the future possible enhancement at #1580. |
I'm compositing 2560 small, overlapping images, and it was working earlier, but now it stopped (the code is the same, so it's very confusing). |
same, crashes with 147 images |
same, with 196 images. @lovell Can this issue be re-opened? It is definitely not fixed. |
@willemmulder see #2286 |
I am trying to composite an image atlas made out of many small images. It works for up to 150 images, but it crashes every single time as soon as I try it with 151 images.
images
is an array of buffer inputs. As soon as it reaches 151 elements, it does not work anymore.There is no error message, nothing to catch - the callback function of "toFile" is never called - any form of nodejs process event listening for process exits / SIGINT / uncaughtExceptions catches absolutely nothing.
The process is not running out of memory, it peaks at around 80mb. and then just closes.
I have tried this with various sets of images with the same result.
The text was updated successfully, but these errors were encountered: