yocontra / node-gdal-next

Node.js bindings for GDAL (Geospatial Data Abstraction Library) [Fork]
https://contra.io/node-gdal-next/
Apache License 2.0
75 stars 36 forks source link

Blob field reading causes pointer being freed was not allocated error #16

Closed warrenwyf closed 3 years ago

warrenwyf commented 3 years ago

I am tring to read a vector layer from geopackage data which has a blob field.

After reading several rows nodejs throw errors like this:

node(9501,0x10ce4edc0) malloc: *** error for object 0x102b23e50: pointer being freed was not allocated
node(9501,0x10ce4edc0) malloc: *** set a breakpoint in malloc_error_break to debug

When ignore the blob field, everything is ok.