munmap_chunk(): invalid pointer
See original GitHub issueWhat’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
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (6 by maintainers)
Top Results From Across the Web
munmap_chunk(): invalid pointer - Stack Overflow
This error message means that by writing into memory that does not belong to an object (but belongs to your process so no...
Read more >Other less-common errors - Geos-chem
geos: munmap_chunk(): invalid pointer: 0x00000000059aac30 *** ... The free() function frees the memory space pointed to by ptr, which must have been ...
Read more >munmap_chunk(): invalid pointer - C Board
Thread: munmap_chunk(): invalid pointer ... munmap is where "free" ends up, so munmap_chunk is part of "free" (or delete if you use C++)....
Read more >IT33147: Running the endmqm command results in ... - IBM
Error in `endmqm': munmap_chunk(): invalid pointer: 0x00000000008e9380 *** ======= Backtrace: ...
Read more >invalid pointer" error when trying to use fclose() - Reddit
"munmap chunk(): invalid pointer" error when trying to use fclose(). So I wanted to create a function to open a file and read...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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 👍
@lovell I think that is the problem of duplicate vips installation, when I try to install
vips-devel
it also install vips8.6.5
package along with it.Anyway, it still throws the same error after installing
vips-devel
.Sharp using vips
8.7.0
, the compiled version.