Closed danipen closed 2 years ago
On some multithreading environments, the app crashes due to a corrupted heap caused by the onig lib: https://github.com/kkos/oniguruma/issues/249
Syncing the access across threads to onigwrap_create seems to fix the issue. We'll lose the ability to compile regexes in parallel but it's not a big issue in terms of perf.
onigwrap_create
On some multithreading environments, the app crashes due to a corrupted heap caused by the onig lib: https://github.com/kkos/oniguruma/issues/249
Syncing the access across threads to
onigwrap_create
seems to fix the issue. We'll lose the ability to compile regexes in parallel but it's not a big issue in terms of perf.