From: Hiro Asari Date: 2010-07-16T11:10:26+09:00 Subject: [ruby-core:31304] [Bug #3576] WIN32OLE segmentation fault Bug #3576: WIN32OLE segmentation fault http://redmine.ruby-lang.org/issues/show/3576 Author: Hiro Asari Status: Open, Priority: Low Category: ext ruby -v: ruby 1.8.7 (2010-06-23 patchlevel 299) [i386-mingw32] 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 `
' ---------------------------------------- http://redmine.ruby-lang.org