[#33000] [Ruby 1.9-Bug#4014][Open] Case-Sensitivity of Property Names Depends on Regexp Encoding — Run Paint Run Run <redmine@...>

Bug #4014: Case-Sensitivity of Property Names Depends on Regexp Encoding

11 messages 2010/11/01

[#33021] Re: [Ruby 1.9-Feature#4015][Open] File::DIRECT Constant for O_DIRECT — Yukihiro Matsumoto <matz@...>

Hi,

15 messages 2010/11/02

[#33139] [Ruby 1.9-Bug#4044][Open] Regex matching errors when using \W character class and /i option — Ben Hoskings <redmine@...>

Bug #4044: Regex matching errors when using \W character class and /i option

8 messages 2010/11/11

[#33162] Windows Unicode (chcp 65001) Generates incorrect output — Luis Lavena <luislavena@...>

Hello,

10 messages 2010/11/14

[#33246] [Ruby 1.9-Feature#4068][Open] Replace current standard Date/DateTime library with home_run — Jeremy Evans <redmine@...>

Feature #4068: Replace current standard Date/DateTime library with home_run

40 messages 2010/11/17

[#33255] [Ruby 1.9-Feature#4071][Open] support basic auth for Net::HTTP.get requests — "coderrr ." <redmine@...>

Feature #4071: support basic auth for Net::HTTP.get requests

23 messages 2010/11/19

[#33322] [Ruby 1.9-Feature#4085][Open] Refinements and nested methods — Shugo Maeda <redmine@...>

Feature #4085: Refinements and nested methods

94 messages 2010/11/24
[#33345] Re: [Ruby 1.9-Feature#4085][Open] Refinements and nested methods — Yusuke ENDOH <mame@...> 2010/11/25

Hi,

[#33356] Re: [Ruby 1.9-Feature#4085][Open] Refinements and nested methods — Shugo Maeda <shugo@...> 2010/11/25

Hi,

[#33375] Re: [Ruby 1.9-Feature#4085][Open] Refinements and nested methods — Yusuke ENDOH <mame@...> 2010/11/25

Hi,

[#33381] Re: [Ruby 1.9-Feature#4085][Open] Refinements and nested methods — Shugo Maeda <shugo@...> 2010/11/25

Hi,

[#33387] Re: [Ruby 1.9-Feature#4085][Open] Refinements and nested methods — Magnus Holm <judofyr@...> 2010/11/25

Woah, this is very nice stuff! Some comments/questions:

[#33487] Re: [Ruby 1.9-Feature#4085][Open] Refinements and nested methods — Charles Oliver Nutter <headius@...> 2010/11/30

This is a long response, and for that I apologize. I want to make sure

[#33535] Re: [Ruby 1.9-Feature#4085][Open] Refinements and nested methods — Yusuke ENDOH <mame@...> 2010/12/03

Hi,

[#33519] Re: [Ruby 1.9-Feature#4085][Open] Refinements and nested methods — Shugo Maeda <shugo@...> 2010/12/02

Hi,

[#33523] Re: [Ruby 1.9-Feature#4085][Open] Refinements and nested methods — Yusuke ENDOH <mame@...> 2010/12/02

Hi,

[#33539] Re: [Ruby 1.9-Feature#4085][Open] Refinements and nested methods — Shugo Maeda <shugo@...> 2010/12/03

Hi,

[#33543] Re: [Ruby 1.9-Feature#4085][Open] Refinements and nested methods — Yusuke ENDOH <mame@...> 2010/12/03

Hi,

[#33546] Re: [Ruby 1.9-Feature#4085][Open] Refinements and nested methods — Shugo Maeda <shugo@...> 2010/12/03

Hi,

[#33548] Re: [Ruby 1.9-Feature#4085][Open] Refinements and nested methods — Yusuke ENDOH <mame@...> 2010/12/03

Hi,

[#33567] Re: [Ruby 1.9-Feature#4085][Open] Refinements and nested methods — Shugo Maeda <shugo@...> 2010/12/04

Hi,

[#33595] Re: [Ruby 1.9-Feature#4085][Open] Refinements and nested methods — Charles Oliver Nutter <headius@...> 2010/12/06

On Sat, Dec 4, 2010 at 6:32 AM, Shugo Maeda <shugo@ruby-lang.org> wrote:

[#33367] Planning to release 1.8.7 fixes on 12/25 (Japanese timezone) — Urabe Shyouhei <shyouhei@...>

Hello,

20 messages 2010/11/25
[#33439] Re: Planning to release 1.8.7 fixes on 12/25 (Japanese timezone) — Luis Lavena <luislavena@...> 2010/11/27

2010/11/25 Urabe Shyouhei <shyouhei@ruby-lang.org>:

[#33456] [Request for Comment] avoid timer thread — SASADA Koichi <ko1@...>

Hi,

25 messages 2010/11/29
[#35152] Re: [Request for Comment] avoid timer thread — Mark Somerville <mark@...> 2011/02/08

On Mon, Nov 29, 2010 at 11:53:03AM +0900, SASADA Koichi wrote:

[#36077] Re: [Request for Comment] avoid timer thread — Mark Somerville <mark@...> 2011/05/09

On Tue, Feb 08, 2011 at 09:24:13PM +0900, Mark Somerville wrote:

[#36952] Re: [Request for Comment] avoid timer thread — Eric Wong <normalperson@...> 2011/06/10

Mark Somerville <mark@scottishclimbs.com> wrote:

[#37080] Re: [Request for Comment] avoid timer thread — Mark Somerville <mark@...> 2011/06/13

On Sat, Jun 11, 2011 at 05:57:11AM +0900, Eric Wong wrote:

[#37103] Re: [Request for Comment] avoid timer thread — Eric Wong <normalperson@...> 2011/06/13

Mark Somerville <mark@scottishclimbs.com> wrote:

[#37187] Re: [Request for Comment] avoid timer thread — SASADA Koichi <ko1@...> 2011/06/16

(2011/06/14 3:37), Eric Wong wrote:

[#37195] Re: [Request for Comment] avoid timer thread — Eric Wong <normalperson@...> 2011/06/17

SASADA Koichi <ko1@atdot.net> wrote:

[#37205] Re: [Request for Comment] avoid timer thread — Eric Wong <normalperson@...> 2011/06/17

Eric Wong <normalperson@yhbt.net> wrote:

[#33469] [Ruby 1.9-Feature#4100][Open] Improve Net::HTTP documentation — Eric Hodel <redmine@...>

Feature #4100: Improve Net::HTTP documentation

12 messages 2010/11/29

[ruby-core:33175] [Ruby 1.9-Bug#4056][Open] Crash in non-blocking read

From: Tomas Matousek <redmine@...>
Date: 2010-11-14 20:51:32 UTC
List: ruby-core #33175
Bug #4056: Crash in non-blocking read
http://redmine.ruby-lang.org/issues/show/4056

Author: Tomas Matousek
Status: Open, Priority: Normal
ruby -v: ruby 1.9.2p0 (2010-08-18) [i386-mingw32]

Ruby crashes when executing the attached script (a.rb).
See  crash details attached in crash.log.


----------------------------------------
http://redmine.ruby-lang.org

Attachments (2)

a.rb (2.4 KB, text/x-ruby)
require 'rubygems'
require 'webrick'
require 'rubygems/remote_fetcher'
require 'rubygems/format'

  SERVER_DATA = <<-EOY
--- !ruby/object:Gem::Cache
gems:
  rake-0.4.11: !ruby/object:Gem::Specification
    rubygems_version: "0.7"
    specification_version: 1
    name: rake
    version: !ruby/object:Gem::Version
      version: 0.4.11
    date: 2004-11-12
    summary: Ruby based make-like utility.
    require_paths:
      - lib
    author: Jim Weirich
    email: jim@weirichhouse.org
    homepage: http://rake.rubyforge.org
    rubyforge_project: rake
    description: Rake is a Make-like program implemented in Ruby. Tasks and dependencies are specified in standard Ruby syntax.
    autorequire:
    default_executable: rake
    bindir: bin
    has_rdoc: true
    required_ruby_version: !ruby/object:Gem::Version::Requirement
      requirements:
        -
          - ">"
          - !ruby/object:Gem::Version
            version: 0.0.0
      version:
    platform: ruby
    files:
      - README
    test_files: []
    library_stubs:
    rdoc_options:
    extra_rdoc_files:
    executables:
      - rake
    extensions: []
    requirements: []
    dependencies: []
EOY

PROXY_DATA = SERVER_DATA.gsub(/0.4.11/, '0.4.2')

PROXY_PORT = 1234
SERVER_PORT = 1345

def start_servers
  @normal_server ||= start_server(SERVER_PORT, SERVER_DATA)
  @proxy_server  ||= start_server(PROXY_PORT, PROXY_DATA)
  @enable_yaml = true
  @enable_zip = false
end

def start_server(port, data)
  Thread.new do
    s = WEBrick::HTTPServer.new(
      :Port            => port,
      :DocumentRoot    => nil,
      )
    
    s.start
  end
end

def setup
  start_servers
  enable_yaml = true
  enable_zip = false
  
  ENV.delete 'http_proxy'
  ENV.delete 'HTTP_PROXY'
  ENV.delete 'http_proxy_user'
  ENV.delete 'HTTP_PROXY_USER'
  ENV.delete 'http_proxy_pass'
  ENV.delete 'HTTP_PROXY_PASS'

  base_server_uri = "http://localhost:#{SERVER_PORT}"
  @proxy_uri = "http://localhost:#{PROXY_PORT}"
  @server_uri = base_server_uri + "/yaml"
 
  @fetcher = Gem::RemoteFetcher.fetcher
end

class Module
  def extend_object
    p 'extend_object'
  end
end

class IO
  remove_const(:WaitReadable)
end

setup

ENV['http_proxy'] = @proxy_uri
ENV['http_proxy_user'] = 'foo'
ENV['http_proxy_pass'] = 'bar'
fetcher = Gem::RemoteFetcher.new nil
p fetcher.fetch_path(@server_uri)

crash.log (3.98 KB, text/x-log)
[2010-11-14 12:48:45] INFO  WEBrick 1.3.1
[2010-11-14 12:48:45] INFO  WEBrick 1.3.1
[2010-11-14 12:48:45] INFO  ruby 1.9.2 (2010-08-18) [i386-mingw32]
[2010-11-14 12:48:45] INFO  ruby 1.9.2 (2010-08-18) [i386-mingw32]
[2010-11-14 12:48:45] INFO  WEBrick::HTTPServer#start: pid=4860 port=1345
[2010-11-14 12:48:45] INFO  WEBrick::HTTPServer#start: pid=4860 port=1234
D:/Git/ironruby/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/net/protocol.rb:135: [BUG] Segmentation fault
ruby 1.9.2p0 (2010-08-18) [i386-mingw32]

-- control frame ----------
c:0014 p:---- s:0083 b:0083 l:000082 d:000082 CFUNC  :read_nonblock
c:0013 p:0025 s:0079 b:0078 l:000077 d:000077 METHOD D:/Git/ironruby/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/net/protocol.rb:135
c:0012 p:0025 s:0075 b:0075 l:000074 d:000074 METHOD D:/Git/ironruby/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/net/protocol.rb:116
c:0011 p:0013 s:0069 b:0069 l:000068 d:000068 METHOD D:/Git/ironruby/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/net/protocol.rb:126
c:0010 p:0012 s:0066 b:0066 l:000065 d:000065 METHOD D:/Git/ironruby/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/net/http.rb:2211
c:0009 p:0013 s:0060 b:0060 l:000059 d:000059 METHOD D:/Git/ironruby/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/net/http.rb:2200
c:0008 p:0072 s:0052 b:0052 l:000051 d:000051 METHOD D:/Git/ironruby/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/net/http.rb:1183
c:0007 p:0097 s:0046 b:0046 l:000045 d:000045 METHOD D:/Git/ironruby/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/net/http.rb:1169
c:0006 p:0414 s:0039 b:0039 l:000038 d:000038 METHOD D:/Git/ironruby/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/rubygems/remote_fetcher.rb:342
c:0005 p:0279 s:0026 b:0026 l:000025 d:000025 METHOD D:/Git/ironruby/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/rubygems/remote_fetcher.rb:289
c:0004 p:0024 s:0016 b:0016 l:000015 d:000015 METHOD D:/Git/ironruby/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/rubygems/remote_fetcher.rb:172
c:0003 p:0273 s:0008 b:0007 l:001f24 d:0014e8 EVAL   a.rb:107
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001f24 d:001f24 TOP   
---------------------------
-- Ruby level backtrace information ----------------------------------------
a.rb:107:in `<main>'
D:/Git/ironruby/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/rubygems/remote_fetcher.rb:172:in `fetch_path'
D:/Git/ironruby/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/rubygems/remote_fetcher.rb:289:in `open_uri_or_path'
D:/Git/ironruby/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/rubygems/remote_fetcher.rb:342:in `request'
D:/Git/ironruby/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/net/http.rb:1169:in `request'
D:/Git/ironruby/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/net/http.rb:1183:in `transport_request'
D:/Git/ironruby/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/net/http.rb:2200:in `read_new'
D:/Git/ironruby/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/net/http.rb:2211:in `read_status_line'
D:/Git/ironruby/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/net/protocol.rb:126:in `readline'
D:/Git/ironruby/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/net/protocol.rb:116:in `readuntil'
D:/Git/ironruby/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/net/protocol.rb:135:in `rbuf_fill'
D:/Git/ironruby/External.LCA_RESTRICTED/Languages/Ruby/ruby19/lib/ruby/1.9.1/net/protocol.rb:135:in `read_nonblock'

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
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.

In This Thread

Prev Next