CamanJS icon indicating copy to clipboard operation
CamanJS copied to clipboard

Caman is throwing fatal error

Open nirewen opened this issue 7 years ago • 0 comments

Issue: Caman is giving fatal error

Expected result: Everything should be working fine

Actual result: A fatal error is thrown and the process crashes

Thrown error:

#
# Fatal error in ../deps/v8/src/deoptimizer.cc, line 721
# Check failed: catch_handler_frame_index < count.
#

Code:

Caman(buffer, function() {
    this.brightness(0);
    this.contrast(100);
    this.sharpen(800);
    this.saturation(300);
    this.render(function() {
        // do something with this.canvas.toBuffer()
    });
});

I'm running NodeJS and passing a Buffer to Caman to manipulate it.

nirewen avatar Sep 13 '18 16:09 nirewen