[#23457] [Bug #1471] "Mutual join" deadlock detection faulty in 1.8.6 and 1.8.7 — John Carter <redmine@...>

Bug #1471: "Mutual join" deadlock detection faulty in 1.8.6 and 1.8.7

17 messages 2009/05/15

[#23483] [Bug #1478] Ruby archive — Oleg Puchinin <redmine@...>

Bug #1478: Ruby archive

29 messages 2009/05/16
[#29225] [Feature #1478] Ruby archive — Luis Lavena <redmine@...> 2010/04/02

Issue #1478 has been updated by Luis Lavena.

[#30345] Re: [Feature #1478] Ruby archive — "NAKAMURA, Hiroshi" <nakahiro@...> 2010/05/21

On Fri, Apr 2, 2010 at 17:13, Luis Lavena <redmine@ruby-lang.org> wrote:

[#30346] Re: [Feature #1478] Ruby archive — Jonathan Nielsen <jonathan@...> 2010/05/21

> Thanks for your comment.

[#30347] Re: [Feature #1478] Ruby archive — Jonathan Nielsen <jonathan@...> 2010/05/21

OK Hiroshi, I read some of the comments earlier in the thread that I

[#30355] Re: [Feature #1478] Ruby archive — Caleb Clausen <vikkous@...> 2010/05/21

On 5/20/10, Jonathan Nielsen <jonathan@jmnet.us> wrote:

[#30364] Re: [Feature #1478] Ruby archive — Benoit Daloze <eregontp@...> 2010/05/22

Hi,

[#23505] [Bug #1494] tempfile#unlink may silently fail on windows — Nicholas Manning <redmine@...>

Bug #1494: tempfile#unlink may silently fail on windows

19 messages 2009/05/19

[#23572] [Bug #1525] Deadlock in Ruby 1.9's VM caused by ConditionVariable.wait and fork? — Hongli Lai <redmine@...>

Bug #1525: Deadlock in Ruby 1.9's VM caused by ConditionVariable.wait and fork?

27 messages 2009/05/27

[#23595] Meaning of RUBY_PLATFORM — Rick DeNatale <rick.denatale@...>

The RUBY_PLATFORM constant is documented in the latest Pickaxe as "The

17 messages 2009/05/28
[#23596] Re: Meaning of RUBY_PLATFORM — Luis Lavena <luislavena@...> 2009/05/28

On Thu, May 28, 2009 at 3:41 PM, Rick DeNatale <rick.denatale@gmail.com> wrote:

[#23602] Re: Meaning of RUBY_PLATFORM — Rick DeNatale <rick.denatale@...> 2009/05/28

On Thu, May 28, 2009 at 2:52 PM, Luis Lavena <luislavena@gmail.com> wrote:

[#23608] Re: Meaning of RUBY_PLATFORM — Luis Lavena <luislavena@...> 2009/05/28

On Thu, May 28, 2009 at 7:08 PM, Rick DeNatale <rick.denatale@gmail.com> wrote:

[#23609] Re: Meaning of RUBY_PLATFORM — Rick DeNatale <rick.denatale@...> 2009/05/29

On Thu, May 28, 2009 at 7:22 PM, Luis Lavena <luislavena@gmail.com> wrote:

[ruby-core:23594] [1].cycle.to_a causes very tight loop

From: Ian Duggan <ian@...>
Date: 2009-05-28 17:52:35 UTC
List: ruby-core #23594
I'm not sure if this goes into the category of "just don't do that"
but the following goes into a very tight loop that requires a "kill
-9" to terminate.

  % ruby1.9 --version
  ruby 1.9.1p0 (2009-01-30 revision 21907) [i486-linux]

  % irb1.9
  irb --> [1].cycle.to_a
  ^C^C^C^C^C
  zsh: suspended  irb1.9

  % kill 4554

  % kill -9 4554
  [1]  + killed     irb1.9

Perhaps it would be helpful if the object could be somehow tagged as
being an infinite cycle so that things like to_a could warn rather
than sink the process, at least in the simple cases like this?

--Ian



















^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^Z

zsh: suspended  irb1.9

:( [09-05-28 10:38:47] ijcd@bearcat:lib/nokogiri/xml (1032) % ps aux | grep irb

ijcd      4554 44.9 13.3 281216 276860 pts/4   Tl   10:38   0:09
irb1.9

ijcd      4559  0.0  0.0   3180   724 pts/4    S+   10:38   0:00 grep irb

ijcd     11106  0.0  0.4  13196  8888 pts/3    S+   May27   0:00 irb

:) [09-05-28 10:38:49] ijcd@bearcat:lib/nokogiri/xml (1033) % kill 4554

:) [09-05-28 10:38:54] ijcd@bearcat:lib/nokogiri/xml (1034) % fg

[3] 4560

[3]  - done       jobs ${2:-%%} 2> /dev/null

[1]  - continued  irb1.9







^C^C^C^C^Z

zsh: suspended  irb1.9


:) [09-05-28 10:39:02] ijcd@bearcat:lib/nokogiri/xml (1036) %

[1]  + killed     irb1.9

:) [09-05-28 10:39:02] ijcd@bearcat:lib/nokogiri/xml (1036) % :)
[09-05-28 10:39:02] ijcd@bearcat:lib/nokogiri/xml (1036) %

:) [09-05-28 10:39:03] ijcd@bearcat:lib/nokogiri/xml (1036) %

:) [09-05-28 10:39:03] ijcd@bearcat:lib/nokogiri/xml (1036) % fg

[2] 4563

[2]  + exit 1     jobs ${2:-%%} 2> /dev/null

fg: no current job

:( [09-05-28 10:39:04] ijcd@bearcat:lib/nokogiri/xml (1037) % ruby --version

ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]

In This Thread

Prev Next