Project

General

Profile

Actions

Bug #8783

closed

ruby 1.9/2.0 crash on exit on FreeBSD/powerpc64

Added by chmeee (Justin Hibbits) over 11 years ago. Updated almost 11 years ago.

Status:
Closed
Assignee:
Target version:
-
ruby -v:
ruby 2.0.0p195 (2013-05-14 revision 40734) [powerpc64-freebsd10.0]
[ruby-core:56590]

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

patch-ppc64-fix-thread_pthread.c (746 Bytes) patch-ppc64-fix-thread_pthread.c swills (Steve Wills), 01/21/2014 05:42 AM

Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #9436: r44670以降Solaris10でthread_pthread.cがコンパイルエラーClosed01/21/2014Actions

Updated by nobu (Nobuyoshi Nakada) almost 11 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 11 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) almost 11 years ago

  • Related to Bug #9436: r44670以降Solaris10でthread_pthread.cがコンパイルエラー added

Updated by usa (Usaku NAKAMURA) almost 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) almost 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) almost 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

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0