libvips-rust-bindings icon indicating copy to clipboard operation
libvips-rust-bindings copied to clipboard

Using this library, memory crashes

Open zhaohuxing opened this issue 2 years ago • 7 comments

(process:120408): GLib-CRITICAL **: 10:11:24.403: g_hash_table_lookup: assertion 'hash_table != NULL' failed

(process:120408): GLib-CRITICAL **: 10:11:24.403: g_hash_table_lookup: assertion 'hash_table != NULL' failed

(process:120408): GLib-CRITICAL **: 10:11:24.403: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed

(process:120408): GLib-CRITICAL **: 10:11:24.403: g_hash_table_lookup: assertion 'hash_table != NULL' failed

zhaohuxing avatar Jul 21 '22 02:07 zhaohuxing

These bindings only support Libvips 8.10, make sure you have exactly that version because the current version is 8.13

jgould22 avatar Jul 21 '22 02:07 jgould22

I'm currently using Libvips 8.12, I'm going back to 8.10 to try

zhaohuxing avatar Jul 21 '22 02:07 zhaohuxing

@jgould22 The above error message is caused by my failure to receive VipsApp, I try Libvips 8.12 and 8.10, and both ok. so @jgould22 wrong statement

zhaohuxing avatar Jul 23 '22 10:07 zhaohuxing

Very good, I am glad you were able to solve your problem.

If it is solved you should close the issue.

jgould22 avatar Aug 11 '22 00:08 jgould22

how was this solved?

priyankat99 avatar Mar 13 '23 20:03 priyankat99

@jgould22 The above error message is caused by my failure to receive VipsApp, I try Libvips 8.12 and 8.10, and both ok. so @jgould22 wrong statement

请问找到原因了么?我也遇到了一样的问题,有时出现。找不到具体原因。

menzil avatar Nov 01 '23 11:11 menzil

i had the same problem - i completly removed the vips init code from my codebase - its not ideal but it solved my problem

psytraxx avatar Nov 01 '23 11:11 psytraxx