General

Profile

leitao (Breno Leitao)

  • Login: leitao
  • Registered on: 11/27/2017
  • Last sign in: 12/04/2017

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

12/04/2017

07:00 PM Ruby Bug #13757: TestBacktrace#test_caller_lev segaults on PPC
Hi,
I've been investigating this issue, and I think I found the solution:
stack_check() is checking the lambda stack size against a very small stack size (8Kb). This is a quite small stack size, and powerpc usually have a bigger fr...
leitao (Breno Leitao)

11/28/2017

05:09 PM Ruby Bug #13757: TestBacktrace#test_caller_lev segaults on PPC
was able to narrow down this issue to the following code:
~~~
max = 20
rec = lambda{|n|
if n > 0
rec[n-1]
end
}
#rec[max]
Fiber.new{
rec[max]
}.resume
~~~
That you should call with:
~~~
# ...
leitao (Breno Leitao)
04:57 PM Ruby Bug #14131: test_backtrace.rb: Fails on ppc64le
I was able to narrow down this issue to the following code:
~~~
max = 20
rec = lambda{|n|

if n > 0
rec[n-1]
end
}
#rec[max]
Fiber.new{
rec[max]
}.resume
~~~
That you should call with:
~~~
...
leitao (Breno Leitao)

11/27/2017

04:31 PM Ruby Bug #14131 (Closed): test_backtrace.rb: Fails on ppc64le
Current test_backtrace.rb fails on ppc64el environment with the following stack:
~~~
unstable ➜ ruby git:(trunk) ✗ ./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./test/runner.rb" --ruby="...
leitao (Breno Leitao)

Also available in: Atom