ActionsLike0
Bug #2488
closedthread usage can result in bad HANDLE
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
Updated by usa (Usaku NAKAMURA) over 15 years ago
- Assignee set to usa (Usaku NAKAMURA)
- Target version set to 2.0.0
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]
Updated by usa (Usaku NAKAMURA) over 15 years ago
- Category set to core
- Assignee changed from usa (Usaku NAKAMURA) to ko1 (Koichi Sasada)
Updated by wanabe (_ wanabe) almost 15 years ago
- File lock_before_reset.patch lock_before_reset.patch added
Updated by wanabe (_ wanabe) almost 15 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
ActionsLike0