On 2021/2/3 21:57, Martin Wilck wrote: >> If exit() before all pthread_cancel in child of 0.7.7, there is no >> any crash. > What do you mean with "exit() before all pthread_cancel"? If this > happens on pthread_cancel(), and you don't call that function, this > would actually be expected. When running_state is DAEMON_SHUTDOWN, break while then _exit(0). But is is not a great method. Regards, Lixiaokeng -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel