GKlib icon indicating copy to clipboard operation
GKlib copied to clipboard

GKlib triggerred an errexit when calling gk_mcorePop->gk_free with multi-thread

Open whaleeej opened this issue 3 years ago • 1 comments

Hi developer,

This is an issue happening with multi-threading. When using Metis::METIS_PartGraphRecursive in one thread, everything works ok. However, switching to parallel calls triggers a wired error related to "mallac&free", as illustrated by following image. image

I have tried to make the static int gk_exit_on_error = 0. But further incertain access voliation would be thrown.

whaleeej avatar Aug 08 '22 05:08 whaleeej

I had the same crash with MSVC (which based on your screenshot you are also using), which I fixed in PR #31 .

mapret avatar Sep 08 '23 14:09 mapret