Sharp: GLib-CRITICAL **: 23:16:35.944: g_hash_table_lookup: assertion 'hash_table != NULL' failed

Created on 20 May 2019  路  5Comments  路  Source: lovell/sharp

this picture

https://p.gu321.com/20190520232532.jpg



size = 16383
file = await sharp(data).resize(
            size
            size
            {withoutEnlargement:true,fit:'inside'}
        ).webp({
            quality: 75
        }).toBuffer()

nodejs crash with GLib-CRITICAL **: 23:16:35.944: g_hash_table_lookup: assertion 'hash_table != NULL' failed

question

All 5 comments

Hello, the g_hash_table_lookup: assertion 'hash_table != NULL' failed message appears when the Node process unexpectedly dies whilst image processing is in-flight (Node doesn't wait for threads to join). This is usually a symptom of a lack of error handling elsewhere.

Hope this helped, please feel free to re-open with more details if further help is required.

Hi, encountering this issue too. I'm using gatsby-image in my project, and querying for images in my page components (there are about 10 base pages, with each page having either 3 or 6 images queried).

also having this same issue on a netlify build using gatsby, ill be filing an issue there as well

Also getting this error with Netlify and gatsby-image.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

henbenla picture henbenla  路  3Comments

genifycom picture genifycom  路  3Comments

AVVS picture AVVS  路  3Comments

OleVik picture OleVik  路  3Comments

zilions picture zilions  路  3Comments