Open nomagick opened 2 months ago
I'd like to look into this soon. Do you have a complete or code base and a way for me to test and reproduce this easily?
This was inside Google Firebase Functions v2, on Google Cloud Run.
I'll try to reproduce and create a separate repo then.
Koffi version: 2.9.0 Node version: 20.16.0
I encounter seemingly random crashes while using koffi in node:worker_thread. It does not crash most of the time, but crashes could be found in the logs.
Both node main thread and the worker thread load the same lib(libmagic) using koffi. https://www.npmjs.com/package/libmagic-ffi?activeTab=code
Seems random; the probability is roughly 1% - 5%