Project

General

Profile

Backport #3164

[BUG] Segmentation fault

Added by paranormal (paranormal dev) over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
[ruby-core:29580]

Description

=begin
System:
Linux eva01 2.6.33-ARCH #1 SMP PREEMPT Sun Apr 4 10:27:30 CEST 2010 x86_64 Intel(R) Core(TM)2 Duo CPU T9500 @ 2.60GHz GenuineIntel GNU/Linux

Ruby:
ruby 1.9.1_p378-2

Gems (install in home dir):
actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
gem_plugin (0.2.3)
github (0.4.1)
highline (1.5.2)
mongrel (1.1.6)
nokogiri (1.4.1)
pg (0.9.0)
rack (1.0.1)
rails (2.3.5)
rake (0.8.7)
RedCloth (4.2.3)
rmagick (2.13.1)
rubygems-update (1.3.5)
text-format (1.0.0)
text-hyphen (1.0.0)

And bug:
paranormal % gh 21:57
/home/paranormal/.gems/gems/github-0.4.1/lib/github/extensions.rb:11: warning: undefining `object_id' may cause serious problem
/home/paranormal/.gems/gems/github-0.4.1/lib/github.rb:151: [BUG] Segmentation fault
ruby 1.9.1p378 (2010-01-10 revision 26273) [x86_64-linux]

-- control frame ----------
c:0012 p:---- s:0039 b:0039 l:000038 d:000038 CFUNC :module_eval
c:0011 p:0088 s:0034 b:0034 l:000033 d:000033 METHOD /home/paranormal/.gems/gems/github-0.4.1/lib/github.rb:151
c:0010 p:0012 s:0028 b:0028 l:000019 d:000027 BLOCK /home/paranormal/.gems/gems/github-0.4.1/lib/github.rb:68
c:0009 p:---- s:0025 b:0025 l:000024 d:000024 FINISH
c:0008 p:---- s:0023 b:0023 l:000022 d:000022 CFUNC :each
c:0007 p:0081 s:0020 b:0020 l:000019 d:000019 METHOD /home/paranormal/.gems/gems/github-0.4.1/lib/github.rb:67
c:0006 p:0100 s:0016 b:0016 l:000015 d:000015 TOP /home/paranormal/.gems/gems/github-0.4.1/bin/gh:8
c:0005 p:---- s:0013 b:0013 l:000012 d:000012 FINISH
c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC :load
c:0003 p:0127 s:0007 b:0007 l:002138 d:001b00 EVAL /home/paranormal/.gems/bin/gh:19
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:002138 d:002138 TOP


-- Ruby level backtrace information-----------------------------------------
/home/paranormal/.gems/gems/github-0.4.1/lib/github.rb:151:in module_eval'
/home/paranormal/.gems/gems/github-0.4.1/lib/github.rb:151:in
load'
/home/paranormal/.gems/gems/github-0.4.1/lib/github.rb:68:in block in activate'
/home/paranormal/.gems/gems/github-0.4.1/lib/github.rb:67:in
each'
/home/paranormal/.gems/gems/github-0.4.1/lib/github.rb:67:in activate'
/home/paranormal/.gems/gems/github-0.4.1/bin/gh:8:in
'
/home/paranormal/.gems/bin/gh:19:in load'
/home/paranormal/.gems/bin/gh:19:in
'

-- C level backtrace information -------------------------------------------
0x7f6e8bc17e01 /usr/lib/libruby.so.1.9(rb_vm_bugreport+0x51) [0x7f6e8bc17e01]
0x7f6e8bb3ebb4 /usr/lib/libruby.so.1.9(+0x50bb4) [0x7f6e8bb3ebb4]
0x7f6e8bb3ed23 /usr/lib/libruby.so.1.9(rb_bug+0xb3) [0x7f6e8bb3ed23]
0x7f6e8bbc1a15 /usr/lib/libruby.so.1.9(+0xd3a15) [0x7f6e8bbc1a15]
0x7f6e8b7ca050 /lib/libc.so.6(+0x32050) [0x7f6e8b7ca050]
0x7f6e8bb78b6f /usr/lib/libruby.so.1.9(+0x8ab6f) [0x7f6e8bb78b6f]
0x7f6e8bb85321 /usr/lib/libruby.so.1.9(ruby_yyparse+0x4fb1) [0x7f6e8bb85321]
0x7f6e8bb8e584 /usr/lib/libruby.so.1.9(+0xa0584) [0x7f6e8bb8e584]
0x7f6e8bc1a715 /usr/lib/libruby.so.1.9(ruby_suppress_tracing+0x115) [0x7f6e8bc1a715]
0x7f6e8bb7b481 /usr/lib/libruby.so.1.9(+0x8d481) [0x7f6e8bb7b481]
0x7f6e8bc039cc /usr/lib/libruby.so.1.9(rb_iseq_compile_with_option+0x7c) [0x7f6e8bc039cc]
0x7f6e8bc0e9f4 /usr/lib/libruby.so.1.9(+0x1209f4) [0x7f6e8bc0e9f4]
0x7f6e8bc1020d /usr/lib/libruby.so.1.9(+0x12220d) [0x7f6e8bc1020d]
0x7f6e8bc05a22 /usr/lib/libruby.so.1.9(+0x117a22) [0x7f6e8bc05a22]
0x7f6e8bc11dcc /usr/lib/libruby.so.1.9(+0x123dcc) [0x7f6e8bc11dcc]
0x7f6e8bc0a9c0 /usr/lib/libruby.so.1.9(+0x11c9c0) [0x7f6e8bc0a9c0]
0x7f6e8bc0dbdf /usr/lib/libruby.so.1.9(+0x11fbdf) [0x7f6e8bc0dbdf]
0x7f6e8bc14f82 /usr/lib/libruby.so.1.9(rb_yield+0x1d2) [0x7f6e8bc14f82]
0x7f6e8bb1bd15 /usr/lib/libruby.so.1.9(rb_ary_each+0x45) [0x7f6e8bb1bd15]
0x7f6e8bc05a22 /usr/lib/libruby.so.1.9(+0x117a22) [0x7f6e8bc05a22]
0x7f6e8bc11dcc /usr/lib/libruby.so.1.9(+0x123dcc) [0x7f6e8bc11dcc]
0x7f6e8bc0a9c0 /usr/lib/libruby.so.1.9(+0x11c9c0) [0x7f6e8bc0a9c0]
0x7f6e8bc0dbdf /usr/lib/libruby.so.1.9(+0x11fbdf) [0x7f6e8bc0dbdf]
0x7f6e8bc0df71 /usr/lib/libruby.so.1.9(rb_iseq_eval+0x131) [0x7f6e8bc0df71]
0x7f6e8bb4316a /usr/lib/libruby.so.1.9(rb_load+0x18a) [0x7f6e8bb4316a]
0x7f6e8bb432a2 /usr/lib/libruby.so.1.9(+0x552a2) [0x7f6e8bb432a2]
0x7f6e8bc05a22 /usr/lib/libruby.so.1.9(+0x117a22) [0x7f6e8bc05a22]
0x7f6e8bc11dcc /usr/lib/libruby.so.1.9(+0x123dcc) [0x7f6e8bc11dcc]
0x7f6e8bc0a9c0 /usr/lib/libruby.so.1.9(+0x11c9c0) [0x7f6e8bc0a9c0]
0x7f6e8bc0dbdf /usr/lib/libruby.so.1.9(+0x11fbdf) [0x7f6e8bc0dbdf]
0x7f6e8bc0de01 /usr/lib/libruby.so.1.9(rb_iseq_eval_main+0xb1) [0x7f6e8bc0de01]
0x7f6e8bb411bc /usr/lib/libruby.so.1.9(ruby_exec_node+0xac) [0x7f6e8bb411bc]
0x7f6e8bb42837 /usr/lib/libruby.so.1.9(ruby_run_node+0x37) [0x7f6e8bb42837]
0x40089b /usr/bin/ruby(main+0x4b) [0x40089b]
0x7f6e8b7b6b6d /lib/libc.so.6(__libc_start_main+0xfd) [0x7f6e8b7b6b6d]
0x400789 /usr/bin/ruby() [0x400789]

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

zsh: abort gh

Maybe your need more info?
=end


Files

test.rb (95 Bytes) test.rb paranormal (paranormal dev), 04/18/2010 06:41 PM
data.txt (8.4 KB) data.txt paranormal (paranormal dev), 04/18/2010 06:41 PM

History

#1

Updated by nobu (Nobuyoshi Nakada) over 9 years ago

  • Category set to core
  • Status changed from Open to Assigned
  • Assignee set to yugui (Yuki Sonoda)

=begin
r26055.

=end

#2

Updated by paranormal (paranormal dev) over 9 years ago

=begin
this files reproduce segfault.
=end

#3

Updated by yugui (Yuki Sonoda) over 9 years ago

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

=begin
This issue was solved with changeset r27596.
paranormal, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Also available in: Atom PDF