Hi Minoru, I got two error dumpfiles by running it less than 100 times. -- Thanks Zhou On 03/07/2016 04:22 PM, "Zhou, Wenjian/???" wrote: > Hi Minoru, > > I have test your patch since you post. > I can get a failure easily. > If you run it several times, the dumpfile it produces may be different from the correct one. > > + info->current_pfn = pfn + 1; > + pthread_mutex_unlock(&info->current_pfn_mutex); > + page_flag_buf->pfn = pfn; > + page_flag_buf->ready = FLAG_FILLING; > The above code should be changed to the following: > > + info->current_pfn = pfn + 1; > + page_flag_buf->pfn = pfn; > + page_flag_buf->ready = FLAG_FILLING; > + pthread_mutex_unlock(&info->current_pfn_mutex); > > I haven't run your code with the bug fixed. > I'll try now. > > By the way, with my patch v3, I can't get an error dumpfile until run it by 5000 times.