[ruby-cvs:71193] normal:r64102 (trunk): thread_pthread.c: clear altstacks in thread cache at GVL destruction

normal at ruby-lang.org normal at ruby-lang.org
Sun Jul 29 19:15:11 JST 2018


normal	2018-07-29 19:15:11 +0900 (Sun, 29 Jul 2018)

  New Revision: 64102

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64102

  Log:
    thread_pthread.c: clear altstacks in thread cache at GVL destruction
    
    Otherwise, an altstack may live past ObjectSpace destruction
    and xfree-ing the altstack will segfault.
    
    [ruby-core:85621] [Feature #14487]

  Modified files:
    trunk/thread_pthread.c
    trunk/vm_core.h


More information about the ruby-cvs mailing list