ruby 1.9/2.0 crash on exit on FreeBSD/powerpc64
|ruby -v:||ruby 2.0.0p195 (2013-05-14 revision 40734) [powerpc64-freebsd10.0]||Backport:||1.9.3: DONE, 2.0.0: DONE, 2.1: DONE|
On FreeBSD/powerpc64, ruby 1.9 and 2.0 segfault. I traced this to the default stack being too small (12K). A larger stack is required, 4 pages is sufficient.
thread_pthread.c: expand timer thread stack size
- thread_pthread.c (rb_thread_create_timer_thread): expand timer thread stack size to get rid of segfault on FreeBSD/powerpc64. based on the patch by Steve Wills at . [Bug #8783]
#1 Updated by Steve Wills almost 2 years ago
- File patch-ppc64-fix-thread_pthread.c added
There is a back trace of this issue here:
And I've attached a proposed patch.
#2 Updated by Nobuyoshi Nakada almost 2 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100