Re: [PATCH v2] lib/eal: fix segfaults due to thread exit order

2022-05-23 Thread David Marchand
On Mon, May 23, 2022 at 2:10 PM David Marchand wrote: > > On Mon, May 23, 2022 at 5:17 AM wrote: > > > > From: Zhichao Zeng > > > > The eal-intr-thread is not closed before memory cleanup in the > > process of exiting. There is a small probability that when the > > eal-intr-thread is about to us

Re: [PATCH v2] lib/eal: fix segfaults due to thread exit order

2022-05-23 Thread David Marchand
On Mon, May 23, 2022 at 5:17 AM wrote: > > From: Zhichao Zeng > > The eal-intr-thread is not closed before memory cleanup in the > process of exiting. There is a small probability that when the > eal-intr-thread is about to use some pointers, the memory were > just cleaned, which cause the segmen

[PATCH v2] lib/eal: fix segfaults due to thread exit order

2022-05-22 Thread zhichaox . zeng
From: Zhichao Zeng The eal-intr-thread is not closed before memory cleanup in the process of exiting. There is a small probability that when the eal-intr-thread is about to use some pointers, the memory were just cleaned, which cause the segment fault error caught by ASan. This patch close the e