Project

General

Profile

Actions

Bug #11457

closed

miniruby SEGVs on CentOS 5

Added by naruse (Yui NARUSE) over 9 years ago. Updated over 6 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.3.0dev (2015-08-18) [x86_64-linux]
[ruby-dev:<unknown>]

Description

minirubyがCentOS 5 (64bit) でSEGVするやつです。
http://rubyci.s3.amazonaws.com/centos5-64/ruby-trunk/log/20150818T093302Z.log.html.gz#miniversion

パッチ見ればわかりますが原因はr49452です。
2.1と2.2にはバックポートされているようだけど、2.0.0には入っていないと思う。

Actions #1

Updated by naruse (Yui NARUSE) over 9 years ago

  • Status changed from Open to Closed

Applied in changeset r51626.


  • thread_pthread.c (reserve_stack): ensure the memory is really
    allocated. [Bug #11457]
Actions #2

Updated by usa (Usaku NAKAMURA) about 9 years ago

  • Backport changed from 2.0.0: DONTNEED, 2.1: REQUIRED, 2.2: REQUIRED to 2.0.0: DONTNEED, 2.1: DONE, 2.2: REQUIRED

ruby_2_1 r51975 merged revision(s) 51626.

Actions #3

Updated by nagachika (Tomoyuki Chikanaga) about 9 years ago

  • Backport changed from 2.0.0: DONTNEED, 2.1: DONE, 2.2: REQUIRED to 2.0.0: DONTNEED, 2.1: DONE, 2.2: DONE

Backported into ruby_2_2 branch at r51985.

Updated by knedlsepp (Josef Kemetmüller) over 6 years ago

For me it helped to increase my stack size limit using ulimit -s unlimited.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0