[#88925] [Ruby trunk Feature#15095] [PATCH] share VM stack between threads and fibers if identical — ko1@...
Issue #15095 has been updated by ko1 (Koichi Sasada).
4 messages
2018/09/09
[#88927] Re: [Ruby trunk Feature#15095] [PATCH] share VM stack between threads and fibers if identical
— Eric Wong <normalperson@...>
2018/09/09
ko1@atdot.net wrote:
[#88926] [Ruby trunk Feature#15095] [PATCH] share VM stack between threads and fibers if identical — ko1@...
Issue #15095 has been updated by ko1 (Koichi Sasada).
3 messages
2018/09/09
[#89218] [Ruby trunk Bug#15130] open-uri hangs on cygwin — duerst@...
Issue #15130 has been updated by duerst (Martin D端rst).
5 messages
2018/09/30
[ruby-core:89163] [Ruby trunk Bug#15159] Some options of win32screenshot gem not working with Ruby 2.5.1.
From:
d_lyles@...
Date:
2018-09-25 15:05:18 UTC
List:
ruby-core #89163
Issue #15159 has been reported by d_lyles (Damien Lyles).
----------------------------------------
Bug #15159: Some options of win32screenshot gem not working with Ruby 2.5.1.
https://bugs.ruby-lang.org/issues/15159
* Author: d_lyles (Damien Lyles)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.5.1p57 (2018-03-29 revision 63029) [i386-mingw32]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
Hello,
The following options are not working for the win32screenshot gem (or possibly rautomation) in Ruby 2.5.1. The error I get is below. I have attached a log as well. The code works in Ruby 2.4.4.
C:/Selenium_Ruby/runtime/lib/ruby/gems/2.5.0/gems/rautomation-0.17.0/lib/rautomation/adapter/win_32/functions.rb:298: [BUG] Segmentation fault
Sample code...
filename_and_path="c:\\myscreenshot.png"
puts "Attepting to take screenshot of foreground using Win32screenshot gem...\n\n"
Win32::Screenshot::Take.of(:foreground).write(filename_and_path)
puts "Attepting to take screenshot of window with title #{window_title} using Win32screenshot gem...\n\n"
Win32::Screenshot::Take.of(:window, :title => /#{window_title}/i).write(filename_and_path) #Another option
puts "Attepting to take screenshot of desktop using Win32screenshot gem...\n\n"
Win32::Screenshot::Take.of(:desktop).write(filename_and_path)
---Files--------------------------------
win32screenshot_errors.txt (84.8 KB)
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>