Project

General

Profile

Bug #3576

WIN32OLE segmentation fault

Added by hasari (Hiro Asari) over 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 1.8.7 (2010-06-23 patchlevel 299) [i386-mingw32]
[ruby-core:31304]

Description

=begin
This simple code results in seg fault.

C:>ruby -v -r win32ole -e "ev = WIN32OLE_EVENT.new(WIN32OLE.new('Scripting.Dictionary'))"
ruby 1.8.7 (2010-06-23 patchlevel 299) [i386-mingw32]
-e:1: [BUG] Segmentation fault
ruby 1.8.7 (2010-06-23 patchlevel 299) [i386-mingw32]

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

The same code raises RuntimeError in 1.9.1:

C:>ruby -v -r win32ole -e "ev = WIN32OLE_EVENT.new(WIN32OLE.new('Scripting.Dictionary'))"
ruby 1.9.1p429 (2010-07-02 revision 28523) [i386-mingw32]
-e:1:in initialize': interface not found (RuntimeError)
HRESULT error code:0x80004002
No such interface supported
from -e:1:in
new'
from -e:1:in `'
=end

#1

Updated by suke (Masaki Suketa) over 9 years ago

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

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

=end

Also available in: Atom PDF