criteo / JVips

Java wrapper for libvips using JNI.
Apache License 2.0
72 stars 41 forks source link

vips_foreign_save_png_build crash error #103

Open zw20045500 opened 3 years ago

zw20045500 commented 3 years ago

Hello, when concurrent to call vips_foreign_save_png_build( by restful interface,http) , it would be crash.

some logs are: Stack: [0x00007f1fa8af9000,0x00007f1fa8bfa000], sp=0x00007f1fa8bf7170, free space=1016k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libvips.so7057099580503627381+0x12aac5] vips_foreign_save_png_build+0x45

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j com.criteo.vips.VipsImage.writePNGToArrayNative(IZIZ)[B+0 j com.criteo.vips.VipsImage.writePNGToArray(IZIZ)[B+6

dbouron commented 3 years ago

Hello, Can you please share more context? (code source, example, ...) Is it a similar than the executor service in this example?