[#48745] [ruby-trunk - Bug #7267][Open] Dir.glob on Mac OS X returns unexpected string encodings for unicode file names — "kennygrant (Kenny Grant)" <kennygrant@...>

17 messages 2012/11/02

[#48773] [ruby-trunk - Bug #7269][Open] Refinement doesn't work if using locate after method — "ko1 (Koichi Sasada)" <redmine@...>

12 messages 2012/11/03

[#48847] [ruby-trunk - Bug #7274][Open] UnboundMethods should be bindable to any object that is_a?(owner of the UnboundMethod) — "rits (First Last)" <redmine@...>

21 messages 2012/11/04

[#48854] [ruby-trunk - Bug #7276][Open] TestFile#test_utime failure — "jonforums (Jon Forums)" <redmine@...>

14 messages 2012/11/04

[#48988] [ruby-trunk - Feature #7292][Open] Enumerable#to_h — "marcandre (Marc-Andre Lafortune)" <ruby-core@...>

40 messages 2012/11/06

[#48997] [ruby-trunk - Feature #7297][Open] map_to alias for each_with_object — "nathan.f77 (Nathan Broadbent)" <nathan.f77@...>

19 messages 2012/11/06

[#49001] [ruby-trunk - Bug #7298][Open] Behavior of Enumerator.new different between 1.9.3 and 2.0.0 — "ayumin (Ayumu AIZAWA)" <ayumu.aizawa@...>

12 messages 2012/11/06

[#49018] [ruby-trunk - Feature #7299][Open] Ruby should not completely ignore blocks. — "marcandre (Marc-Andre Lafortune)" <ruby-core@...>

13 messages 2012/11/07

[#49044] [ruby-trunk - Bug #7304][Open] Random test failures around test_autoclose_true_closed_by_finalizer — "luislavena (Luis Lavena)" <luislavena@...>

11 messages 2012/11/07

[#49196] [ruby-trunk - Feature #7322][Open] Add a new operator name #>< for bit-wise "exclusive or" — "alexeymuranov (Alexey Muranov)" <redmine@...>

18 messages 2012/11/10

[#49211] [ruby-trunk - Feature #7328][Open] Move ** operator precedence under unary + and - — "boris_stitnicky (Boris Stitnicky)" <boris@...>

20 messages 2012/11/11

[#49229] [ruby-trunk - Bug #7331][Open] Set the precedence of unary `-` equal to the precedence `-`, same for `+` — "alexeymuranov (Alexey Muranov)" <redmine@...>

17 messages 2012/11/11

[#49256] [ruby-trunk - Feature #7336][Open] Flexiable OPerator Precedence — "trans (Thomas Sawyer)" <transfire@...>

18 messages 2012/11/12

[#49354] review open pull requests on github — Zachary Scott <zachary@...>

Could we get a review on any open pull requests on github before the

12 messages 2012/11/15
[#49355] Re: review open pull requests on github — "NARUSE, Yui" <naruse@...> 2012/11/15

2012/11/15 Zachary Scott <[email protected]>:

[#49356] Re: review open pull requests on github — Zachary Scott <zachary@...> 2012/11/15

Ok, I was hoping one of the maintainers might want to.

[#49451] [ruby-trunk - Bug #7374][Open] File.expand_path resolving to first file/dir instead of absolute path — mdube@... (Martin Dubé) <mdube@...>

12 messages 2012/11/16

[#49463] [ruby-trunk - Feature #7375][Open] embedding libyaml in psych for Ruby 2.0 — "tenderlovemaking (Aaron Patterson)" <aaron@...>

21 messages 2012/11/16
[#49494] [ruby-trunk - Feature #7375] embedding libyaml in psych for Ruby 2.0 — "vo.x (Vit Ondruch)" <v.ondruch@...> 2012/11/17

[#49467] [ruby-trunk - Feature #7377][Open] #indetical? as an alias for #equal? — "aef (Alexander E. Fischer)" <aef@...>

13 messages 2012/11/17

[#49558] [ruby-trunk - Bug #7395][Open] Negative numbers can't be primes by definition — "zzak (Zachary Scott)" <zachary@...>

10 messages 2012/11/19

[#49566] [ruby-trunk - Feature #7400][Open] Incorporate OpenSSL tests from JRuby. — "zzak (Zachary Scott)" <zachary@...>

11 messages 2012/11/19

[#49770] [ruby-trunk - Feature #7414][Open] Now that const_get supports "Foo::Bar" syntax, so should const_defined?. — "robertgleeson (Robert Gleeson)" <rob@...>

9 messages 2012/11/20

[#49950] [ruby-trunk - Feature #7427][Assigned] Update Rubygems — "mame (Yusuke Endoh)" <mame@...>

17 messages 2012/11/24

[#50043] [ruby-trunk - Bug #7429][Open] Provide options for core collections to customize behavior — "headius (Charles Nutter)" <headius@...>

10 messages 2012/11/24

[#50092] [ruby-trunk - Feature #7434][Open] Allow caller_locations and backtrace_locations to receive negative params — "sam.saffron (Sam Saffron)" <sam.saffron@...>

21 messages 2012/11/25

[#50094] [ruby-trunk - Bug #7436][Open] Allow for a "granularity" flag for backtrace_locations — "sam.saffron (Sam Saffron)" <sam.saffron@...>

11 messages 2012/11/25

[#50207] [ruby-trunk - Bug #7445][Open] strptime('%s %z') doesn't work — "felipec (Felipe Contreras)" <felipe.contreras@...>

19 messages 2012/11/27

[#50424] [ruby-trunk - Bug #7485][Open] ruby cannot build on mingw32 due to missing __sync_val_compare_and_swap — "drbrain (Eric Hodel)" <[email protected]>

15 messages 2012/11/30

[#50429] [ruby-trunk - Feature #7487][Open] Cutting through the issues with Refinements — "trans (Thomas Sawyer)" <transfire@...>

13 messages 2012/11/30

[ruby-core:48724] [ruby-trunk - Bug #5990][Feedback] Random Segmentation Fault when running on Linux Fedora

From: "tenderlovemaking (Aaron Patterson)" <aaron@...>
Date: 2012-11-01 21:16:08 UTC
List: ruby-core #48724
Issue #5990 has been updated by tenderlovemaking (Aaron Patterson).

Status changed from Assigned to Feedback

This is either a GC bug or a bug in Nokogiri.  nari-san fixed GC bugs for us, but I'm not sure what patch level.  Blair, can you try this with the latest 1.9.3 patch level?  If there is still a problem on 1.9.3, then it's probably a bug in Nokogiri.
----------------------------------------
Bug #5990: Random Segmentation Fault when running on Linux Fedora
https://bugs.ruby-lang.org/issues/5990#change-32194

Author: blairsilverberg (Blair Silverberg)
Status: Feedback
Priority: Normal
Assignee: tenderlovemaking (Aaron Patterson)
Category: 
Target version: 
ruby -v: 1.9.2p290


I am parsing a large library of html documents with ruby mechanize/nokogiri. Randomly, I encounter a segmentation fault.

This happens on both ruby 1.9.2 (ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]) and 1.9.3 (ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux])

I am running Linux Fedora Laughlin 16 on rackspace

Linux 2.6.35.6-45.fc14.x86_64 #1 SMP Mon Oct 18 23:57:44 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux

Fedora release 14 (Laughlin)
Kernel \r on an \m (\l)



/root/code/myteam/classes/profile_page_scraper.rb:116: [BUG] Segmentation fault
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]

-- control frame ----------
c:0022 p:0010 s:0088 b:0086 l:000085 d:000085 METHOD /root/code/myteam/classes/profile_page_scraper.rb:116
c:0021 p:0027 s:0082 b:0080 l:000079 d:000079 METHOD /root/code/myteam/classes/profile_page_scraper.rb:120
c:0020 p:0017 s:0076 b:0074 l:001ed8 d:000073 BLOCK  /root/code/myteam/classes/mysite_scraper.rb:115
c:0019 p:0015 s:0069 b:0069 l:000059 d:000068 BLOCK  /usr/local/rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0/lib/nokogiri/xml/node_set.rb:239
c:0018 p:---- s:0066 b:0066 l:000065 d:000065 FINISH
c:0017 p:---- s:0064 b:0064 l:000063 d:000063 CFUNC  :upto
c:0016 p:0023 s:0060 b:0060 l:000059 d:000059 METHOD /usr/local/rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0/lib/nokogiri/xml/node_set.rb:238
c:0015 p:0924 s:0056 b:0056 l:001ed8 d:001ed8 METHOD /root/code/myteam/classes/mysite_scraper.rb:113
c:0014 p:0032 s:0045 b:0045 l:000036 d:000044 BLOCK  /root/code/myteam/scrape_user.rb:23
c:0013 p:---- s:0042 b:0042 l:000041 d:000041 FINISH
c:0012 p:---- s:0040 b:0040 l:000039 d:000039 CFUNC  :each
c:0011 p:0120 s:0037 b:0037 l:000036 d:000036 TOP    /root/code/myteam/scrape_user.rb:21
c:0010 p:---- s:0034 b:0034 l:000033 d:000033 FINISH
c:0009 p:---- s:0032 b:0032 l:000031 d:000031 CFUNC  :require
c:0008 p:0036 s:0028 b:0028 l:000027 d:000027 METHOD /usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36
c:0007 p:0056 s:0021 b:0021 l:000012 d:000020 BLOCK  /root/code/myteam/helpers/helpers.rb:7
c:0006 p:---- s:0018 b:0018 l:000017 d:000017 FINISH
c:0005 p:---- s:0016 b:0016 l:000015 d:000015 CFUNC  :each
c:0004 p:0066 s:0013 b:0013 l:000012 d:000012 METHOD /root/code/myteam/helpers/helpers.rb:5
c:0003 p:0050 s:0007 b:0007 l:0000b8 d:002340 EVAL   ./scrape_user.rb:6
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:0000b8 d:0000b8 TOP   
---------------------------
-- Ruby level backtrace information ----------------------------------------
./scrape_user.rb:6:in `<main>'
/root/code/myteam/helpers/helpers.rb:5:in `require_all'
/root/code/myteam/helpers/helpers.rb:5:in `each'
/root/code/myteam/helpers/helpers.rb:7:in `block in require_all'
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/root/code/myteam/scrape_user.rb:21:in `<top (required)>'
/root/code/myteam/scrape_user.rb:21:in `each'
/root/code/myteam/scrape_user.rb:23:in `block in <top (required)>'
/root/code/myteam/classes/mysite_scraper.rb:113:in `scrape_user'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0/lib/nokogiri/xml/node_set.rb:238:in `each'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0/lib/nokogiri/xml/node_set.rb:238:in `upto'
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0/lib/nokogiri/xml/node_set.rb:239:in `block in each'
/root/code/myteam/classes/mysite_scraper.rb:115:in `block in scrape_user'
/root/code/myteam/classes/profile_page_scraper.rb:120:in `get_my_url'
/root/code/myteam/classes/profile_page_scraper.rb:116:in `get_my_id'

-- C level backtrace information -------------------------------------------
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_vm_bugreport+0x5f) [0x7fc76ec380cf]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x60564) [0x7fc76eb17564]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_bug+0xb3) [0x7fc76eb18493]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x1143b5) [0x7fc76ebcb3b5]
/lib64/libpthread.so.0() [0x328540eeb0]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_method_entry_get_without_cache+0x20) [0x7fc76ec25750]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x176965) [0x7fc76ec2d965]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x176f5b) [0x7fc76ec2df5b]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_yield+0x47) [0x7fc76ec32e57]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0xaa161) [0x7fc76eb61161]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x17afa6) [0x7fc76ec31fa6]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x1710ee) [0x7fc76ec280ee]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x176f5b) [0x7fc76ec2df5b]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_yield+0x47) [0x7fc76ec32e57]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_ary_each+0x46) [0x7fc76eae6816]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x17afa6) [0x7fc76ec31fa6]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x1710ee) [0x7fc76ec280ee]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x176f5b) [0x7fc76ec2df5b]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_iseq_eval+0x1f0) [0x7fc76ec33340]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x6a0d0) [0x7fc76eb210d0]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_require_safe+0x6cf) [0x7fc76eb225cf]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x17afa6) [0x7fc76ec31fa6]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x1710ee) [0x7fc76ec280ee]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x176f5b) [0x7fc76ec2df5b]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_yield+0x47) [0x7fc76ec32e57]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_ary_each+0x46) [0x7fc76eae6816]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x17afa6) [0x7fc76ec31fa6]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x1710ee) [0x7fc76ec280ee]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x176f5b) [0x7fc76ec2df5b]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_iseq_eval_main+0xb1) [0x7fc76ec33441]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x66a1a) [0x7fc76eb1da1a]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(ruby_exec_node+0x1d) [0x7fc76eb1e88d]
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(ruby_run_node+0x1e) [0x7fc76eb20afe]
ruby(main+0x4b) [0x40091b]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x3284c1ee5d]
ruby() [0x400809]

[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



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

In This Thread