[#118346] [Ruby master Bug#20586] Some filesystem calls in dir.c are missing error handling and can return incorrect results if interrupted — "ivoanjo (Ivo Anjo) via ruby-core" <ruby-core@...>
Issue #20586 has been reported by ivoanjo (Ivo Anjo).
13 messages
2024/06/19
[ruby-core:118290] [Ruby master Bug#20572] Compilation hangs with nested until
From:
"kddnewton (Kevin Newton) via ruby-core" <ruby-core@...>
Date:
2024-06-11 12:14:50 UTC
List:
ruby-core #118290
Issue #20572 has been updated by kddnewton (Kevin Newton). This is another example, I imagine because of the same source problem. It also works if you disable optimizations: ```ruby _ = _ rescue while 1 end ``` ---------------------------------------- Bug #20572: Compilation hangs with nested until https://bugs.ruby-lang.org/issues/20572#change-108794 * Author: kddnewton (Kevin Newton) * Status: Open * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- ```ruby until while 1 end end ``` this code causes an infinite loop in the compiler. -- https://bugs.ruby-lang.org/