Project

General

Profile

Bug #11457

miniruby SEGVs on CentOS 5

Added by naruse (Yui NARUSE) about 4 years ago. Updated about 1 year 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には入っていないと思う。

Associated revisions

Revision 3816f757
Added by naruse (Yui NARUSE) about 4 years ago

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 51626
Added by naruse (Yui NARUSE) about 4 years ago

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

Revision 51626
Added by naruse (Yui NARUSE) about 4 years ago

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

Revision 51626
Added by naruse (Yui NARUSE) about 4 years ago

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

Revision 51626
Added by naruse (Yui NARUSE) about 4 years ago

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

Revision 51626
Added by naruse (Yui NARUSE) about 4 years ago

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

Revision 431b9dbd
Added by usa (Usaku NAKAMURA) almost 4 years ago

merge revision(s) 51626: [Backport #11457]

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@51975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 51975
Added by usa (Usaku NAKAMURA) almost 4 years ago

merge revision(s) 51626: [Backport #11457]

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

Revision 6ce7bd6f
Added by nagachika (Tomoyuki Chikanaga) almost 4 years ago

merge revision(s) 51626: [Backport #11457]

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@51985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 51985
Added by nagachika (Tomoyuki Chikanaga) almost 4 years ago

merge revision(s) 51626: [Backport #11457]

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

History

#1

Updated by naruse (Yui NARUSE) about 4 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 4 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 4 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) about 1 year ago

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

Also available in: Atom PDF