Backport #3164

[BUG] Segmentation fault

Added by paranormal (paranormal dev) about 10 years ago. Updated about 9 years ago.



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 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:68:in block in activate'
/home/paranormal/.gems/gems/github-0.4.1/lib/github.rb:67:in activate'
/home/paranormal/.gems/bin/gh:19:in load'

-- C level backtrace information -------------------------------------------
0x7f6e8bc17e01 /usr/lib/ [0x7f6e8bc17e01]
0x7f6e8bb3ebb4 /usr/lib/ [0x7f6e8bb3ebb4]
0x7f6e8bb3ed23 /usr/lib/ [0x7f6e8bb3ed23]
0x7f6e8bbc1a15 /usr/lib/ [0x7f6e8bbc1a15]
0x7f6e8b7ca050 /lib/ [0x7f6e8b7ca050]
0x7f6e8bb78b6f /usr/lib/ [0x7f6e8bb78b6f]
0x7f6e8bb85321 /usr/lib/ [0x7f6e8bb85321]
0x7f6e8bb8e584 /usr/lib/ [0x7f6e8bb8e584]
0x7f6e8bc1a715 /usr/lib/ [0x7f6e8bc1a715]
0x7f6e8bb7b481 /usr/lib/ [0x7f6e8bb7b481]
0x7f6e8bc039cc /usr/lib/ [0x7f6e8bc039cc]
0x7f6e8bc0e9f4 /usr/lib/ [0x7f6e8bc0e9f4]
0x7f6e8bc1020d /usr/lib/ [0x7f6e8bc1020d]
0x7f6e8bc05a22 /usr/lib/ [0x7f6e8bc05a22]
0x7f6e8bc11dcc /usr/lib/ [0x7f6e8bc11dcc]
0x7f6e8bc0a9c0 /usr/lib/ [0x7f6e8bc0a9c0]
0x7f6e8bc0dbdf /usr/lib/ [0x7f6e8bc0dbdf]
0x7f6e8bc14f82 /usr/lib/ [0x7f6e8bc14f82]
0x7f6e8bb1bd15 /usr/lib/ [0x7f6e8bb1bd15]
0x7f6e8bc05a22 /usr/lib/ [0x7f6e8bc05a22]
0x7f6e8bc11dcc /usr/lib/ [0x7f6e8bc11dcc]
0x7f6e8bc0a9c0 /usr/lib/ [0x7f6e8bc0a9c0]
0x7f6e8bc0dbdf /usr/lib/ [0x7f6e8bc0dbdf]
0x7f6e8bc0df71 /usr/lib/ [0x7f6e8bc0df71]
0x7f6e8bb4316a /usr/lib/ [0x7f6e8bb4316a]
0x7f6e8bb432a2 /usr/lib/ [0x7f6e8bb432a2]
0x7f6e8bc05a22 /usr/lib/ [0x7f6e8bc05a22]
0x7f6e8bc11dcc /usr/lib/ [0x7f6e8bc11dcc]
0x7f6e8bc0a9c0 /usr/lib/ [0x7f6e8bc0a9c0]
0x7f6e8bc0dbdf /usr/lib/ [0x7f6e8bc0dbdf]
0x7f6e8bc0de01 /usr/lib/ [0x7f6e8bc0de01]
0x7f6e8bb411bc /usr/lib/ [0x7f6e8bb411bc]
0x7f6e8bb42837 /usr/lib/ [0x7f6e8bb42837]
0x40089b /usr/bin/ruby(main+0x4b) [0x40089b]
0x7f6e8b7b6b6d /lib/ [0x7f6e8b7b6b6d]
0x400789 /usr/bin/ruby() [0x400789]

You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details:

zsh: abort gh

Maybe your need more info?


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

Updated by nobu (Nobuyoshi Nakada) about 10 years ago

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




Updated by paranormal (paranormal dev) about 10 years ago

this files reproduce segfault.


Updated by yugui (Yuki Sonoda) about 10 years ago

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

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.


Also available in: Atom PDF