[#84867] [Ruby trunk Bug#14357] thread_safe tests suite segfaults — v.ondruch@...

Issue #14357 has been reported by vo.x (Vit Ondruch).

11 messages 2018/01/15
[#85364] Re: [Ruby trunk Bug#14357] thread_safe tests suite segfaults — Eric Wong <normalperson@...> 2018/02/03

v.ondruch@tiscali.cz wrote:

[#84980] [Ruby trunk Feature#13618][Assigned] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — hsbt@...

Issue #13618 has been updated by hsbt (Hiroshi SHIBATA).

10 messages 2018/01/23
[#85012] Re: [Ruby trunk Feature#13618][Assigned] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — Eric Wong <normalperson@...> 2018/01/23

hsbt@ruby-lang.org wrote:

[ruby-core:85300] [Ruby trunk Bug#13964] [BUG] Stack consistency error

From: usa@...
Date: 2018-01-31 13:16:30 UTC
List: ruby-core #85300
Issue #13964 has been updated by usa (Usaku NAKAMURA).

Backport changed from 2.3: REQUIRED, 2.4: DONE to 2.3: DONE, 2.4: DONE

ruby_2_3 r62135 merged revision(s) 60099,60100.

----------------------------------------
Bug #13964: [BUG] Stack consistency error
https://bugs.ruby-lang.org/issues/13964#change-70080

* Author: md1961 (Naoyuki Kumagai)
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux]
* Backport: 2.3: DONE, 2.4: DONE
----------------------------------------
You get "[BUG] Stack consistency error" when you run attached 'bug_repro.rb'.

If you change line 44 in the script

    option_draw&.weight *= 2

to

    option_draw.weight *= 2 if option_draw

you get no error.

Also if you change line 63 in the script

    2.times do |age|

to

    1.times do |age|

you get no error neither.

Thank you in advance.


---Files--------------------------------
bug_repro.rb (1016 Bytes)
bug_repro.out (11 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next