sharp: munmap_chunk(): invalid pointer
What’s the cause of invalid pointer?
const sharp = require("sharp");
console.time("img-wm");
sharp("./input.jpg")
.resize(1560, null)
.overlayWith("./overlay.png", {
gravity: sharp.gravity.center
})
.toFile("./output.jpg", (err, info) => {
console.timeEnd("img-wm");
});
// munmap_chunk(): invalid pointer
// [1] 22078 abort (core dumped) node sharp.js
Linux kernel: 4.17.3-200.fc28.x86_64
Node: 10.9.0
libvips: 8.6.5
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (6 by maintainers)
Removed libvips library and all dependencies. Instead used package manager alone to install vips and everything is working good for now.
Thank you for the help 👍