[#3726] Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...>

Hi --

15 messages 2004/11/12
[#3749] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3751] Re: Fixnum#clone and Float#clone raise different exceptions — Yukihiro Matsumoto <matz@...> 2004/11/16

Hi,

[#3752] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3785] The latest 1.8.2 cvs prints parse error when starting extension compiling — Yukihiro Matsumoto <matz@...>

Hi,

13 messages 2004/11/23
[#3787] Re: The latest 1.8.2 cvs prints parse error when starting extension compiling — Johan Holmberg <holmberg@...> 2004/11/23

[ ruby-Bugs-1020 ] win32ole bug - segfault when using ole_get_methods

From: noreply@...
Date: 2004-11-04 00:44:41 UTC
List: ruby-core #3686
Bugs item #1020, was opened at 2004-11-03 17:44
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1020&group_id=426

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Daniel Berger (djberg96)
Assigned to: Nobody (None)
Summary: win32ole bug - segfault when using ole_get_methods

Initial Comment:
Hi,

Windows 2000
ruby 1.8.2 (2004-07-29) [i386-mswin32]

require "win32ole"
require "socket"

connect_string = 'winmgmts:{impersonationLevel=impersonate,(security)}//'
connect_string += Socket.gethostname
connect_string += '/root/cimv2'
connect_string += ':win32_process'

ole = WIN32OLE.connect(connect_string)

p ole.ole_get_methods # segfault!

On a potentially related note, I noticed this was the source:

static VALUE
fole_get_methods( argc, argv, self )
    int argc;
    VALUE *argv;
    VALUE self;
{
    return ole_methods( self, INVOKE_PROPERTYGET);
}

Why are argc and argv being passed to a method that takes no arguments?

Regards,

Dan

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1020&group_id=426

In This Thread

Prev Next