Project

General

Profile

ActionsLike0

Bug #2488

closed

thread usage can result in bad HANDLE

Added by rogerdpack (Roger Pack) over 15 years ago. Updated almost 14 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.2dev (2009-12-31 trunk 26205) [i386-mswin32]
Backport:
[ruby-core:27199]

Description

=begin
require 'thwait'
loop {
a = []
10.times { a << Thread.new {}}
ThreadsWait.all_waits(a)
print '.'
}

C:\dev\digitalarchive_trunk>ruby -v
ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-mingw32]

C:\dev\digitalarchive_trunk>ruby stress_th.rb
.............[BUG] The handle is invalid.

ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-mingw32]

-- control frame ----------

-- Ruby level backtrace information-----------------------------------------

[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Works fine with 1.9.2

Thanks.
-r
=end


Files

lock_before_reset.patch (1.22 KB) lock_before_reset.patch wanabe (_ wanabe), 05/01/2010 09:24 PM
#1

Updated by usa (Usaku NAKAMURA) over 15 years ago

  • Assignee set to usa (Usaku NAKAMURA)
  • Target version set to 2.0.0
#2

Updated by usa (Usaku NAKAMURA) over 15 years ago

  • Status changed from Open to Assigned
  • ruby -v set to ruby 1.9.2dev (2009-12-31 trunk 26205) [i386-mswin32]
#3

Updated by usa (Usaku NAKAMURA) over 15 years ago

  • Category set to core
  • Assignee changed from usa (Usaku NAKAMURA) to ko1 (Koichi Sasada)
#7

Updated by wanabe (_ wanabe) almost 15 years ago

#10

Updated by wanabe (_ wanabe) almost 15 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100
ActionsLike0

Also available in: Atom PDF