[dm-devel] [PATCH] multipathd: avoid crash in uevent_cleanup()
lixiaokeng
lixiaokeng at huawei.com
Tue Mar 2 08:41:24 UTC 2021
>
> Hi Martin:
> Here I add condlog(2, "start funcname"), pthread_cleanup_push(func_print, NULL)
> in every pthread_create func. When these two core happened, "exit tur_thread"
> are less than "start tur_thread". So the trouble may be in tur_thread.
>
If I made no mistake, these coredumps happened when the tur_thread(which is
libcheck_thread in latest code) was not finished but checker(tur)was
cleared by cleanup_checkers. But I can't understand this, because the ctx
in tur_thread wasn't freed by cleanup_checkers.
Please give me some helps, thanks.
Regards,
Lixiaokeng
More information about the dm-devel
mailing list