Actions
Bug #8783
closedruby 1.9/2.0 crash on exit on FreeBSD/powerpc64
    Bug #8783:
    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:
Description
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.
Files
        
          
          Updated by swills (Steve Wills) almost 12 years ago
          
          
        
        
      
      There is a back trace of this issue here:
http://lists.freebsd.org/pipermail/freebsd-ruby/2014-January/003968.html
And I've attached a proposed patch.
        
          
          Updated by nobu (Nobuyoshi Nakada) almost 12 years ago
          
          
        
        
      
      - Status changed from Open to Closed
 - % Done changed from 0 to 100
 
Applied in changeset r44671.
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 [ruby-core:59923].
[ruby-core:56590] [Bug #8783] 
        
          
          Updated by nobu (Nobuyoshi Nakada) almost 12 years ago
          
          
        
        
      
      - Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN to 1.9.3: REQUIRED, 2.0.0: REQUIRED, 2.1: REQUIRED
 
        
          
          Updated by usa (Usaku NAKAMURA) over 11 years ago
          
          
        
        
      
      - Related to Bug #9436: r44670以降Solaris10でthread_pthread.cがコンパイルエラー added
 
        
          
          Updated by usa (Usaku NAKAMURA) over 11 years ago
          
          
        
        
      
      - Backport changed from 1.9.3: REQUIRED, 2.0.0: REQUIRED, 2.1: REQUIRED to 1.9.3: DONE, 2.0.0: REQUIRED, 2.1: REQUIRED
 
backported r44670,r44671, and r44675 into ruby_1_9_3 at r44940.
        
          
          Updated by nagachika (Tomoyuki Chikanaga) over 11 years ago
          
          
        
        
      
      - Backport changed from 1.9.3: DONE, 2.0.0: REQUIRED, 2.1: REQUIRED to 1.9.3: DONE, 2.0.0: DONE, 2.1: REQUIRED
 
r44670, r44671, r44673 and r44675 were backported to ruby_2_0_0 r45006.
        
          
          Updated by naruse (Yui NARUSE) over 11 years ago
          
          
        
        
      
      - Backport changed from 1.9.3: DONE, 2.0.0: DONE, 2.1: REQUIRED to 1.9.3: DONE, 2.0.0: DONE, 2.1: DONE
 
r45119
Actions