olxgroup-oss / libvips-rust-bindings

Rust bindings for libvips
MIT License
95 stars 41 forks source link

Using this library, memory crashes #26

Open zhaohuxing opened 2 years ago

zhaohuxing commented 2 years ago

(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

jgould22 commented 2 years ago

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

zhaohuxing commented 2 years ago

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

zhaohuxing commented 2 years ago

@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

jgould22 commented 2 years ago

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

If it is solved you should close the issue.

priyankat99 commented 1 year ago

how was this solved?

menzil commented 1 year ago

@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

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

psytraxx commented 1 year ago

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