• rafal@quant.(none)'s avatar
    BUG#24507 (rpl_log.test crash slave): · 5d7af856
    rafal@quant.(none) authored
    The problem was located to lie inside current NPTL pthread_exit() 
    implementation. Race conditions in this code can lead to segmentation
    fault. Hovewer, this can happen only in a race between first thread 
    calling pthread_exit() and other threads. 
    
    Workaround implemented in this patch spawns a dummy thread, which
    exits immediately, during thread lib initialization. This will exclude
    segment violations when further threads exit.
     
    5d7af856
my_thr_init.c 8.87 KB