Bug #3132

…/nokogiri-1.4.1/ext/nokogiri/nokogiri.bundle: [BUG] Bus Error

Added by Ashley Williams about 4 years ago. Updated over 1 year ago.

[ruby-core:29464]
Status:Closed
Priority:Normal
Assignee:Koichi Sasada
Category:core
Target version:1.9.2
ruby -v:ruby 1.9.2dev (2010-04-12 trunk 27315) [i386-darwin10.3.0] Backport:

Description

=begin
Caused when trying to use the Cucumber gem with Rails 3 (beta 2) on 'ruby 1.9.2dev (2010-04-12 trunk 27315) [i386-darwin10.3.0]':

[master]$ cucumber features/
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/nokogiri-1.4.1/ext/nokogiri/nokogiri.bundle: [BUG] Bus Error
ruby 1.9.2dev (2010-04-12 trunk 27315) [i386-darwin10.3.0]

-- control frame ----------
c:0054 p:-14720908 s:0201 b:0201 l:000200 d:000200 TOP

c:0053 p:---- s:0199 b:0199 l:000198 d:000198 CFUNC :require
c:0052 p:0015 s:0195 b:0195 l:000194 d:000194 METHOD /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/polyglot-0.3.1/lib/polyglot.rb:64
c:0051 p:0012 s:0188 b:0188 l:000171 d:000187 BLOCK /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta2/lib/activesupport/dependencies.rb:209
c:0050 p:0005 s:0186 b:0186 l:000176 d:000185 BLOCK /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta2/lib/active
support/dependencies.rb:195
c:0049 p:0046 s:0184 b:0184 l:000183 d:000183 METHOD /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta2/lib/activesupport/dependencies.rb:523
c:0048 p:0041 s:0177 b:0177 l:000176 d:000176 METHOD /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta2/lib/active
support/dependencies.rb:195
c:0047 p:0013 s:0172 b:0172 l:000171 d:000171 METHOD /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta2/lib/activesupport/dependencies.rb:209
c:0046 p:0186 s:0167 b:0167 l:000166 d:000166 TOP /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/nokogiri-1.4.1/lib/nokogiri.rb:13
c:0045 p:---- s:0165 b:0165 l:000164 d:000164 FINISH
c:0044 p:---- s:0163 b:0163 l:000162 d:000162 CFUNC :require
c:0043 p:0015 s:0159 b:0159 l:000158 d:000158 METHOD /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/polyglot-0.3.1/lib/polyglot.rb:64
c:0042 p:0012 s:0152 b:0152 l:000135 d:000151 BLOCK /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta2/lib/active
support/dependencies.rb:209
c:0041 p:0005 s:0150 b:0150 l:000140 d:000149 BLOCK /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta2/lib/activesupport/dependencies.rb:195
c:0040 p:0046 s:0148 b:0148 l:000147 d:000147 METHOD /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta2/lib/active
support/dependencies.rb:523
c:0039 p:0041 s:0141 b:0141 l:000140 d:000140 METHOD /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta2/lib/activesupport/dependencies.rb:195
c:0038 p:0013 s:0136 b:0136 l:000135 d:000135 METHOD /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta2/lib/active
support/dependencies.rb:209
c:0037 p:0023 s:0131 b:0131 l:000130 d:000130 TOP /Users/ashley/.rvm/gems/ruby-1.9.2-head/bundler/gems/capybara-f47214fa54f8dae1ca782e48ee86d54cdb2dc0b3-master/lib/capybara.rb:2
c:0036 p:---- s:0129 b:0129 l:000128 d:000128 FINISH
c:0035 p:---- s:0127 b:0127 l:000126 d:000126 CFUNC :require
c:0034 p:0047 s:0123 b:0123 l:000105 d:000122 BLOCK /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/bundler-0.9.18/lib/bundler/runtime.rb:48
c:0033 p:---- s:0119 b:0119 l:000118 d:000118 FINISH
c:0032 p:---- s:0117 b:0117 l:000116 d:000116 CFUNC :each
c:0031 p:0026 s:0114 b:0114 l:000105 d:000113 BLOCK /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/bundler-0.9.18/lib/bundler/runtime.rb:43
c:0030 p:---- s:0111 b:0111 l:000110 d:000110 FINISH
c:0029 p:---- s:0109 b:0109 l:000108 d:000108 CFUNC :each
c:0028 p:0052 s:0106 b:0106 l:000105 d:000105 METHOD /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/bundler-0.9.18/lib/bundler/runtime.rb:42
c:0027 p:0021 s:0101 b:0101 l:000100 d:000100 METHOD /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/bundler-0.9.18/lib/bundler.rb:83
c:0026 p:0069 s:0097 b:0097 l:000096 d:000096 TOP /Users/ashley/Projects/personalprojects/real/slate/config/application.rb:6
c:0025 p:---- s:0095 b:0095 l:000094 d:000094 FINISH
c:0024 p:---- s:0093 b:0093 l:000092 d:000092 CFUNC :require
c:0023 p:0015 s:0089 b:0089 l:000088 d:000088 METHOD /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/polyglot-0.3.1/lib/polyglot.rb:64
c:0022 p:0026 s:0082 b:0082 l:000081 d:000081 TOP /Users/ashley/Projects/personal
projects/real/slate/config/environment.rb:2
c:0021 p:---- s:0080 b:0080 l:000079 d:000079 FINISH
c:0020 p:---- s:0078 b:0078 l:000077 d:000077 CFUNC :require
c:0019 p:0015 s:0074 b:0074 l:000073 d:000073 METHOD /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/polyglot-0.3.1/lib/polyglot.rb:64
c:0018 p:0073 s:0067 b:0067 l:000066 d:000066 TOP /Users/ashley/Projects/personalprojects/real/slate/features/support/env.rb:8
c:0017 p:---- s:0064 b:0064 l:000063 d:000063 FINISH
c:0016 p:---- s:0062 b:0062 l:000061 d:000061 CFUNC :require
c:0015 p:0015 s:0058 b:0058 l:000057 d:000057 METHOD /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/polyglot-0.3.1/lib/polyglot.rb:64
c:0014 p:0026 s:0051 b:0051 l:000050 d:000050 METHOD /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/cucumber-0.6.4/lib/cucumber/rb
support/rblanguage.rb:124
c:0013 p:0055 s:0047 b:0047 l:000046 d:000046 METHOD /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/cucumber-0.6.4/lib/cucumber/step
mother.rb:85
c:0012 p:0012 s:0042 b:0042 l:000033 d:000041 BLOCK /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/cucumber-0.6.4/lib/cucumber/stepmother.rb:77
c:0011 p:---- s:0039 b:0039 l:000038 d:000038 FINISH
c:0010 p:---- s:0037 b:0037 l:000036 d:000036 CFUNC :each
c:0009 p:0030 s:0034 b:0034 l:000033 d:000033 METHOD /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/cucumber-0.6.4/lib/cucumber/step
mother.rb:76
c:0008 p:0147 s:0030 b:0030 l:000029 d:000029 METHOD /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/cucumber-0.6.4/lib/cucumber/cli/main.rb:48
c:0007 p:0026 s:0021 b:0021 l:000020 d:000020 METHOD /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/cucumber-0.6.4/lib/cucumber/cli/main.rb:20
c:0006 p:0117 s:0017 b:0017 l:000016 d:000016 TOP /Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/cucumber-0.6.4/bin/cucumber: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:0012b4 d:001638 EVAL /Users/ashley/.rvm/gems/ruby-1.9.2-head/bin/cucumber:19
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:0012b4 d:0012b4 TOP


-- Ruby level backtrace information ----------------------------------------
/Users/ashley/.rvm/gems/ruby-1.9.2-head/bin/cucumber:19:in <main>'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/bin/cucumber:19:in
load'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/cucumber-0.6.4/bin/cucumber:8:in <top (required)>'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/cucumber-0.6.4/lib/cucumber/cli/main.rb:20:in
execute'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/cucumber-0.6.4/lib/cucumber/cli/main.rb:48:in execute!'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/cucumber-0.6.4/lib/cucumber/step_mother.rb:76:in
loadcodefiles'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/cucumber-0.6.4/lib/cucumber/stepmother.rb:76:in each'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/cucumber-0.6.4/lib/cucumber/step_mother.rb:77:in
block in load
codefiles'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/cucumber-0.6.4/lib/cucumber/step
mother.rb:85:in load_code_file'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/cucumber-0.6.4/lib/cucumber/rb_support/rb_language.rb:124:in
loadcodefile'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/polyglot-0.3.1/lib/polyglot.rb:64:in require'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/polyglot-0.3.1/lib/polyglot.rb:64:in
require'
/Users/ashley/Projects/personalprojects/real/slate/features/support/env.rb:8:in <top (required)>'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/polyglot-0.3.1/lib/polyglot.rb:64:in
require'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/polyglot-0.3.1/lib/polyglot.rb:64:in require'
/Users/ashley/Projects/personal_projects/real/slate/config/environment.rb:2:in
'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/polyglot-0.3.1/lib/polyglot.rb:64:in require'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/polyglot-0.3.1/lib/polyglot.rb:64:in
require'
/Users/ashley/Projects/personal
projects/real/slate/config/application.rb:6:in <top (required)>'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/bundler-0.9.18/lib/bundler.rb:83:in
require'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/bundler-0.9.18/lib/bundler/runtime.rb:42:in require'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/bundler-0.9.18/lib/bundler/runtime.rb:42:in
each'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/bundler-0.9.18/lib/bundler/runtime.rb:43:in block in require'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/bundler-0.9.18/lib/bundler/runtime.rb:43:in
each'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/bundler-0.9.18/lib/bundler/runtime.rb:48:in block (2 levels) in require'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/bundler-0.9.18/lib/bundler/runtime.rb:48:in
require'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/bundler/gems/capybara-f47214fa54f8dae1ca782e48ee86d54cdb2dc0b3-master/lib/capybara.rb:2:in <top (required)>'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta2/lib/active_support/dependencies.rb:209:in
require'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta2/lib/activesupport/dependencies.rb:195:in load_dependency'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta2/lib/active_support/dependencies.rb:523:in
new
constantsin'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta2/lib/active
support/dependencies.rb:195:in block in load_dependency'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta2/lib/active_support/dependencies.rb:209:in
block in require'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/polyglot-0.3.1/lib/polyglot.rb:64:in require'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/polyglot-0.3.1/lib/polyglot.rb:64:in
require'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/nokogiri-1.4.1/lib/nokogiri.rb:13:in <top (required)>'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta2/lib/active_support/dependencies.rb:209:in
require'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta2/lib/activesupport/dependencies.rb:195:in load_dependency'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta2/lib/active_support/dependencies.rb:523:in
new
constantsin'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta2/lib/active
support/dependencies.rb:195:in block in load_dependency'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.0.beta2/lib/active_support/dependencies.rb:209:in
block in require'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/polyglot-0.3.1/lib/polyglot.rb:64:in require'
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/polyglot-0.3.1/lib/polyglot.rb:64:in
require'

-- C level backtrace information -------------------------------------------
0 ruby 0x0018bf06 rbvmbugreport + 230
1 ruby 0x0003a96f reportbug + 415
2 ruby 0x0003aa1b rb
bug + 43
3 ruby 0x00105f8b sigbus + 27
4 libSystem.B.dylib 0x9824242b sigtramp + 43
5 ??? 0xffffffff 0x0 + 4294967295
6 libruby.1.dylib 0x02354f27 rb
intern + 62
7 libruby.1.dylib 0x0230b7b2 rbdefinemodule + 32
8 nokogiri.bundle 0x007e5bd8 Initnokogiri + 72
9 ruby 0x000018a4 dln
load + 244
10 ruby 0x001703ba rbvmcallcfunc + 170
11 ruby 0x00041b6a rb
requiresafe + 1018
12 ruby 0x00171952 vm
callmethod + 978
13 ruby 0x00173bb5 vm
execcore + 5445
14 ruby 0x0017dc4d vm
exec + 1805
15 ruby 0x0017e0fb rbiseqeval + 331
16 ruby 0x00040765 rbloadinternal + 293
17 ruby 0x00041ba1 rbrequiresafe + 1073
18 ruby 0x00171952 vmcallmethod + 978
19 ruby 0x00173bb5 vmexeccore + 5445
20 ruby 0x0017dc4d vmexec + 1805
21 ruby 0x0017e0fb rb
iseqeval + 331
22 ruby 0x00040765 rb
loadinternal + 293
23 ruby 0x00041ba1 rb
requiresafe + 1073
24 ruby 0x00171952 vm
callmethod + 978
25 ruby 0x00173bb5 vm
execcore + 5445
26 ruby 0x0017dc4d vm
exec + 1805
27 ruby 0x00188438 rbyield + 552
28 ruby 0x000078ae rb
aryeach + 62
29 ruby 0x00171952 vm
callmethod + 978
30 ruby 0x00173bb5 vm
execcore + 5445
31 ruby 0x0017dc4d vm
exec + 1805
32 ruby 0x00188438 rbyield + 552
33 ruby 0x000078ae rb
aryeach + 62
34 ruby 0x00171952 vm
callmethod + 978
35 ruby 0x00173bb5 vm
execcore + 5445
36 ruby 0x0017dc4d vm
exec + 1805
37 ruby 0x0017e0fb rbiseqeval + 331
38 ruby 0x00040765 rbloadinternal + 293
39 ruby 0x00041ba1 rbrequiresafe + 1073
40 ruby 0x00171952 vmcallmethod + 978
41 ruby 0x00173bb5 vmexeccore + 5445
42 ruby 0x0017dc4d vmexec + 1805
43 ruby 0x0017e0fb rb
iseqeval + 331
44 ruby 0x00040765 rb
loadinternal + 293
45 ruby 0x00041ba1 rb
requiresafe + 1073
46 ruby 0x00171952 vm
callmethod + 978
47 ruby 0x00173bb5 vm
execcore + 5445
48 ruby 0x0017dc4d vm
exec + 1805
49 ruby 0x0017e0fb rbiseqeval + 331
50 ruby 0x00040765 rbloadinternal + 293
51 ruby 0x00041ba1 rbrequiresafe + 1073
52 ruby 0x00171952 vmcallmethod + 978
53 ruby 0x00173bb5 vmexeccore + 5445
54 ruby 0x0017dc4d vmexec + 1805
55 ruby 0x00188438 rb
yield + 552
56 ruby 0x000078ae rbaryeach + 62
57 ruby 0x00171952 vmcallmethod + 978
58 ruby 0x00173bb5 vmexeccore + 5445
59 ruby 0x0017dc4d vmexec + 1805
60 ruby 0x0017e0fb rb
iseqeval + 331
61 ruby 0x00040765 rb
loadinternal + 293
62 ruby 0x00041560 rb
fload + 128
63 ruby 0x0016c585 call
cfunc + 581
64 ruby 0x00171952 vmcallmethod + 978
65 ruby 0x00173bb5 vmexeccore + 5445
66 ruby 0x0017dc4d vmexec + 1805
67 ruby 0x0017df8d rb
iseqevalmain + 509
68 ruby 0x0003de69 rubyexecinternal + 153
69 ruby 0x000402fa rubyrunnode + 90
70 ruby 0x0000179f main + 95
71 ruby 0x00001735 start + 53
=end


Related issues

Related to ruby-trunk - Bug #1139: Segmentation fault ruby 1.9.1p0 (2009-01-30 revision 21907) Third Party's Issue 02/11/2009
Related to ruby-trunk - Bug #1241: Segfault with Nokogiri 1.2.1 on Ruby 1.9.1p0 Third Party's Issue 03/03/2009
Related to ruby-trunk - Bug #2529: Segmentation Fault is occasionally occurred in rake with ... Closed 12/25/2009
Related to ruby-trunk - Bug #2786: Segfault when loading gem Closed 02/24/2010

History

#1 Updated by Yui NARUSE about 4 years ago

  • Status changed from Open to Assigned
  • Assignee set to Aaron Patterson

=begin
This seems Third Party's Issue but can you check this?
=end

#2 Updated by Ashley Williams about 4 years ago

=begin
This doesn't seem to be an issue just with Nokogiri:

http://pastie.org/915455.txt
=end

#3 Updated by Aaron Patterson about 4 years ago

  • Status changed from Assigned to Open
  • Assignee deleted (Aaron Patterson)

=begin
I don't think this is a third party issue. See
=end

#4 Updated by Yui NARUSE about 4 years ago

  • Category set to core
  • Assignee set to Koichi Sasada

=begin
Thank you for your survey, it should be a Ruby's issue.
=end

#5 Updated by Yui NARUSE about 4 years ago

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

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

=end

Also available in: Atom PDF