This is most likely be caused by a bug in pyarrow 25.0.0: [C++][Python] SIGSEGV in bundled mimalloc mi_thread_init when libarrow is first loaded on a non-main thread that exits (mimalloc 3.3.x, pyarrow 25.0.0) · Issue #50471 · apache/arrow · GitHub Please make sure to update to Streamlit 1.59.2 or pin pyarrow