Segmentation Fault on `test/zim.test.ts`
We've just had two segfault on test/zim.test.ts, see https://github.com/openzim/node-libzim/actions/runs/16348986226/attempts/2
Looks like it might be correlated to https://github.com/openzim/node-libzim/issues/80 but no clue so opening a distinct issue since context is a bit different.
Next CI run was fine. Tend to prove this is a kind of race condition, maybe related to too early release of the content provider: https://github.com/openzim/node-libzim/issues/80#issuecomment-1377397478 ; looking at StringItem code, it uses a StringProvider (see https://github.com/openzim/node-libzim/blob/f86e1effb80aad4849ac875d76dce94ea1b4900b/src/contentProvider.h#L105) which makes very little things around pointer "reservation", it just manipulate it a bit. It looks like it is highly possible the object is released before pointer is really used.
Again on main branch and another OS architecture: https://github.com/openzim/node-libzim/actions/runs/16350082164/job/46194284550