You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried running the example code in the faiss-napi README, and I do get a C++ exception:
panic(main thread): A C++ exception occurred
But the same thing happens in Node, too:
libc++abi: terminating due to uncaught exception of type faiss::FaissException: Error in virtual void faiss::IndexIVFFlat::add_core(idx_t, const float *, const int64_t *, const int64_t *) at /Users/runner/work/faiss-node/faiss-node/deps/faiss/faiss/IndexIVFFlat.cpp:51: Error: 'is_trained' failed
I would love to see a code example that reproduces the segfault if you can share one.
Also, do versions 1.2.3 and 1.2.4 have this segfault?
How can we reproduce the crash?
Reverting to version 1.2.1 was required to stop crash.
Relevant log output
Stack Trace (bun.report)
Bun v1.2.5 (
013fddd
) on macos aarch64 [AutoCommand]Segmentation fault at address 0x00000018
long long Zig::NapiClass_ConstructorFunction<false>
jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__684_callHelper__dispatch_LowLevelInterpreter64_asm_2535
llint_call_javascript
Features: transpiler_cache, tsconfig, workers_spawned, napi_module_register, process_dlopen, Bun.stderr, Bun.stdin, Bun.stdout, fetch, jsc
The text was updated successfully, but these errors were encountered: