Issue #6175 has been updated by michaelcm (Michael McWilliam).



This is the minimum snapshot of code:
require 'watir'

begin
  browser = Watir::Browser.attach( :url, /someUrl/i )
rescue
  browser = Watir::Browser.start 'http://someUrl'
end


Line 87 in Session.rb that is the last line of my code is calling this line of code:
browser = Watir::Browser.attach( :url, /someUrl/i )


I can't seem to figure out the RD code syntax... I select some (({CODE})) and click the Code button and it isn't displayed as code in the preview.
(({
test code
}))
----------------------------------------
Backport #6175: watir-2.0.4/lib/watir/ie-class.rb:567: [BUG] Segmentation fault
https://bugs.ruby-lang.org/issues/6175#change-24949

Author: michaelcm (Michael McWilliam)
Status: Feedback
Priority: Normal
Assignee: 
Category: 
Target version: 


See attached log. Occurs about 5% of the time. Not sure why. Running script again immediately avoids the issue.

C:/pslibs/extlib/tools/ruby/1.9.3/lib/ruby/gems/1.9.1/gems/watir-2.0.4/lib/watir/ie-class.rb:567: [BUG] Segmentation fault
ruby 1.9.3p0 (2011-10-30) [i386-mingw32]



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