Project

General

Profile

This project is closed and read-only.

Actions

Bug #286

closed

open-uri leaking file handles

Bug #286: open-uri leaking file handles

Added by Anonymous about 18 years ago. Updated over 15 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]
[ruby-core:17824]

Description

=begin
With some requests (particularly status 404 from Amazon.com), the reference to the temp file used to buffer the response is lost and left open, causing failure in long running processes. Temp file remains after process is killed.

attached script contains example repro.
=end


Files

openuritest.rb (1.35 KB) openuritest.rb Anonymous, 07/18/2008 09:26 AM

Updated by nobu (Nobuyoshi Nakada) about 18 years ago Actions #1

=begin
Hi,

At Fri, 18 Jul 2008 09:21:46 +0900,
Anonymous wrote in [ruby-core:17824]:

Target version:

Which version?

With some requests (particularly status 404 from Amazon.com),
the reference to the temp file used to buffer the response is
lost and left open, causing failure in long running
processes. Temp file remains after process is killed.

attached script contains example repro.

I couldn't reproduce it with your script and latest 1.8.

--
Nobu Nakada

=end

Updated by Anonymous about 18 years ago Actions #2

=begin
Produced in 1.8.2 and 1.8.6p36.
=end

Updated by Anonymous about 18 years ago Actions #3

=begin
adding -v 1.8.2 on MacOS 10.4, and -v 1.8.6p36 on Fedora 8.
=end

Updated by curi (Elliot Temple) almost 18 years ago Actions #4

=begin
I can duplicate the bug on OS X 10.5

ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]

=end

Updated by akr (Akira Tanaka) over 17 years ago Actions #5

  • Assignee set to akr (Akira Tanaka)

=begin

=end

Updated by nobu (Nobuyoshi Nakada) over 17 years ago Actions #6

  • ruby -v set to ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]

=begin
Those files get removed at process termination, so it doesn't "leak" truely.
=end

Updated by akr (Akira Tanaka) about 17 years ago Actions #7

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r24902.
=end

Actions

Also available in: PDF Atom