Project

General

Profile

Bug #11457

miniruby SEGVs on CentOS 5

Added by naruse (Yui NARUSE) about 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
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には入っていないと思う。

#1

Updated by naruse (Yui NARUSE) about 5 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]
#2

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

#3

Updated by nagachika (Tomoyuki Chikanaga) almost 5 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 2 years ago

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

Also available in: Atom PDF