Project

General

Profile

Actions

Bug #6175

closed

watir-2.0.4/lib/watir/ie-class.rb:567: [BUG] Segmentation fault

Added by michaelcm (Michael McWilliam) about 13 years ago. Updated over 12 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3p0 (2011-10-30) [i386-mingw32]
Backport:
[ruby-core:43473]

Description

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]


Files

RubyIeSegFault.log (35.9 KB) RubyIeSegFault.log michaelcm (Michael McWilliam), 03/20/2012 12:23 AM

Updated by luislavena (Luis Lavena) about 13 years ago

  • Status changed from Open to Feedback

Hello,

Please don't report issues on the backports projects. Use ruby-trunk instead.

Now, if you can provide code to reproduce the issue we all will appreciate it, reproducibility is the key.

I also see you have win32console gem added (from the list of loaded features). can you please remove it? The gem has not been tested against Ruby 1.9.3 and is no longer maintained.

Updated by michaelcm (Michael McWilliam) about 13 years ago

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
}))

Updated by michaelcm (Michael McWilliam) about 13 years ago

Also, I posted it here because the bugreport.html page said to click on the link for ruby 1.9.2 or 1.9.3, but neither were links, so I looked for something that had 9.3 in it, and that was this backport.

http://www.ruby-lang.org/bugreport.html

Open the following page and click "New Issue".
If you're reporting a bug in Ruby 1.8 ONLY: Ruby 1.8
If you're reporting a bug in Ruby 1.9 ONLY: [[Ruby 1.9:]]
If you're reporting a bug in both Ruby 1.9 and Ruby 1.8: [[Ruby 1.9:]], and write like "this bug can be reproduced in Ruby 1.8 as well."

Updated by michaelcm (Michael McWilliam) about 13 years ago

Re: win32console, it is used by the ansi 1.4.2 gem, is that also no longer being maintained?

Updated by luislavena (Luis Lavena) about 13 years ago

michaelcm (Michael McWilliam) wrote:

Re: win32console, it is used by the ansi 1.4.2 gem, is that also no longer being maintained?

ansi gem do not directly depend on win32console, but you use to support ANSI colors on Windows.

Please read this the gem README:

https://github.com/luislavena/win32console

And the blog post linked:
http://blog.mmediasys.com/2010/11/24/we-all-love-colors/

Actions #6

Updated by nahi (Hiroshi Nakamura) about 13 years ago

  • Tracker changed from Backport to Bug
  • Project changed from 13 to Ruby

Updated by naruse (Yui NARUSE) about 13 years ago

  • ruby -v set to ruby 1.9.3p0 (2011-10-30) [i386-mingw32]

michaelcm (Michael McWilliam) wrote:

Also, I posted it here because the bugreport.html page said to click on the link for ruby 1.9.2 or 1.9.3, but neither were links, so I looked for something that had 9.3 in it, and that was this backport.

http://www.ruby-lang.org/bugreport.html

Open the following page and click "New Issue".
If you're reporting a bug in Ruby 1.8 ONLY: Ruby 1.8
If you're reporting a bug in Ruby 1.9 ONLY: [[Ruby 1.9:]]
If you're reporting a bug in both Ruby 1.9 and Ruby 1.8: [[Ruby 1.9:]], and write like "this bug can be reproduced in Ruby 1.8 as well."

Fixed the link, thanks.

Updated by mame (Yusuke Endoh) over 12 years ago

  • Status changed from Feedback to Rejected

Closing because this ticket is too clueless.
There is no C trace, no reproducing process, and no feedback...

--
Yusuke Endoh

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0