Closed luoxiaojian closed 4 months ago
The issue has been resolved. The need was for the local_dynamic_tls configuration, which I previously set by specifying the CARGO_FEATURE_LOCAL_DYNAMIC_TLS environment variable (according to this). By changing to adding the local_dynamic_tls feature directly at the point where the crate is included as a dependency, the original problem no longer occurs.
As the title states, a Floating Point Exception (FPE) was thrown in the mimalloc code during the destruction of objects before the program exit.
The call stack for the mimalloc code is:
The specific location where the FPE was thrown is here
The value of mi_page_block_size(page) is 0, yet according to the comments here, this value should not be possible to be zero.
Do you have any suggestions for resolving this issue?