Project

General

Profile

Actions

Bug #4079

closed

Segmentation fault

Added by zhang3xing1 (xing zhang) over 13 years ago. Updated almost 13 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]
Backport:
[ruby-core:33277]

Description

=begin
/ET_tool/lib/ruby/1.9.1/net/protocol.rb:135: [BUG] Segmentation fault
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]

-- control frame ----------
c:0024 p:---- s:0100 b:0100 l:000099 d:000099 CFUNC :read_nonblock
c:0023 p:0025 s:0096 b:0095 l:000094 d:000094 METHOD /ET_tool/lib/ruby/1.9.1/net/protocol.rb:135
c:0022 p:0090 s:0092 b:0092 l:000091 d:000091 METHOD /ET_tool/lib/ruby/1.9.1/net/protocol.rb:86
c:0021 p:0067 s:0084 b:0084 l:000083 d:000083 METHOD /ET_tool/lib/ruby/1.9.1/net/http.rb:2416
c:0020 p:0102 s:0079 b:0079 l:000078 d:000078 METHOD /ET_tool/lib/ruby/1.9.1/net/http.rb:2371
c:0019 p:0036 s:0073 b:0073 l:001cf0 d:0002d0 BLOCK skydrive.rb:43
c:0018 p:0017 s:0068 b:0068 l:000060 d:000067 BLOCK /ET_tool/lib/ruby/1.9.1/net/http.rb:1186
c:0017 p:0042 s:0066 b:0066 l:000065 d:000065 METHOD /ET_tool/lib/ruby/1.9.1/net/http.rb:2334
c:0016 p:0114 s:0061 b:0061 l:000060 d:000060 METHOD /ET_tool/lib/ruby/1.9.1/net/http.rb:1185
c:0015 p:0097 s:0055 b:0055 l:000054 d:000054 METHOD /ET_tool/lib/ruby/1.9.1/net/http.rb:1169
c:0014 p:0046 s:0048 b:0048 l:000042 d:000047 BLOCK /ET_tool/lib/ruby/1.9.1/net/http.rb:1162
c:0013 p:0057 s:0046 b:0046 l:000045 d:000045 METHOD /ET_tool/lib/ruby/1.9.1/net/http.rb:627
c:0012 p:0025 s:0043 b:0043 l:000042 d:000042 METHOD /ET_tool/lib/ruby/1.9.1/net/http.rb:1160
c:0011 p:0033 s:0036 b:0036 l:000035 d:000035 METHOD /ET_tool/lib/ruby/1.9.1/net/http.rb:1073
c:0010 p:0020 s:0030 b:0030 l:001cf0 d:0001f0 BLOCK skydrive.rb:40
c:0009 p:---- s:0027 b:0027 l:000026 d:000026 FINISH
c:0008 p:---- s:0025 b:0025 l:000024 d:000024 CFUNC :open
c:0007 p:0097 s:0020 b:0020 l:001cf0 d:001cf0 METHOD skydrive.rb:39
c:0006 p:0019 s:0014 b:0014 l:001828 d:000013 BLOCK skydrive.rb:58
c:0005 p:---- s:0011 b:0011 l:000010 d:000010 FINISH
c:0004 p:---- s:0009 b:0009 l:000008 d:000008 CFUNC :each
c:0003 p:0162 s:0006 b:0006 l:001828 d:002648 EVAL skydrive.rb:58
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001828 d:001828 TOP

-- Ruby level backtrace information ----------------------------------------
skydrive.rb:58:in <main>' skydrive.rb:58:in each'
skydrive.rb:58:in block in <main>' skydrive.rb:39:in download_file'
skydrive.rb:39:in open' skydrive.rb:40:in block in download_file'
/ET_tool/lib/ruby/1.9.1/net/http.rb:1073:in request_get' /ET_tool/lib/ruby/1.9.1/net/http.rb:1160:in request'
/ET_tool/lib/ruby/1.9.1/net/http.rb:627:in start' /ET_tool/lib/ruby/1.9.1/net/http.rb:1162:in block in request'
/ET_tool/lib/ruby/1.9.1/net/http.rb:1169:in request' /ET_tool/lib/ruby/1.9.1/net/http.rb:1185:in transport_request'
/ET_tool/lib/ruby/1.9.1/net/http.rb:2334:in reading_body' /ET_tool/lib/ruby/1.9.1/net/http.rb:1186:in block in transport_request'
skydrive.rb:43:in block (2 levels) in download_file' /ET_tool/lib/ruby/1.9.1/net/http.rb:2371:in read_body'
/ET_tool/lib/ruby/1.9.1/net/http.rb:2416:in read_body_0' /ET_tool/lib/ruby/1.9.1/net/protocol.rb:86:in read'
/ET_tool/lib/ruby/1.9.1/net/protocol.rb:135:in rbuf_fill' /ET_tool/lib/ruby/1.9.1/net/protocol.rb:135:in read_nonblock'

-- C level backtrace information -------------------------------------------

[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

Abort trap
=end

Actions #1

Updated by naruse (Yui NARUSE) over 13 years ago

=begin
It seems Ruby's bug.
Can you show the reproducible code and gdb backtrace?
=end

Updated by naruse (Yui NARUSE) almost 13 years ago

  • Status changed from Open to Rejected

I close this as Rejected since no feedback provided.
Please reopen this if it still happens on the latest version of ruby.

Actions

Also available in: Atom PDF

Like0
Like0Like0