* [ruby-core:81085] [Ruby trunk Bug#13555] Disable TestTrace#test_trace_stackoverflow
[not found] <redmine.issue-13555.20170510063541@ruby-lang.org>
@ 2017-05-10 6:35 ` ko1
0 siblings, 0 replies; only message in thread
From: ko1 @ 2017-05-10 6:35 UTC (permalink / raw
To: ruby-core
Issue #13555 has been reported by ko1 (Koichi Sasada).
----------------------------------------
Bug #13555: Disable TestTrace#test_trace_stackoverflow
https://bugs.ruby-lang.org/issues/13555
* Author: ko1 (Koichi Sasada)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v:
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
I'll disable `TestTrace#test_trace_stackoverflow` because this test stops sometimes on several machines.
My observation: during stackoverflow throw process, it get another stackoverflow and repeat it.
I'll simply remove it and remain the code here.
```
def test_trace_stackoverflow
assert_normal_exit("#{<<-"begin;"}\n#{<<~"end;"}", timeout: 60)
begin;
require 'timeout'
require 'tracer'
class HogeError < StandardError
def to_s
message.upcase # disable tailcall optimization
end
end
Tracer.stdout = open(IO::NULL, "w")
begin
Timeout.timeout(5) do
Tracer.on
HogeError.new.to_s
end
rescue Timeout::Error
# ok. there are no SEGV or critical error
rescue SystemStackError => e
# ok.
end
end;
end
```
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-05-10 5:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <redmine.issue-13555.20170510063541@ruby-lang.org>
2017-05-10 6:35 ` [ruby-core:81085] [Ruby trunk Bug#13555] Disable TestTrace#test_trace_stackoverflow ko1
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).