windows-api-0.2.0/lib/windows/api.rb:211: [BUG] Segmentation fault

Discussion in 'Ruby' started by aidy.lewis@googlemail.com, Oct 24, 2007.

  1. Guest

    Hi,

    I am attempting to use ruby 186rc1 one click installer on Windows
    Vista and I am getting this error:

    c:/ruby/lib/ruby/gems/1.8/gems/windows-api-0.2.0/lib/windows/api.rb:
    211: [BUG] Segmentation fault
    ruby 1.8.6 (2007-09-24) [i386-mswin32]

    Has anyone ever experienced this error or can suggest a fix?

    Aidy
     
    , Oct 24, 2007
    #1
    1. Advertising

  2. Re: windows-api-0.2.0/lib/windows/api.rb:211: [BUG] Segmentationfault

    wrote:
    > Hi,
    >
    > I am attempting to use ruby 186rc1 one click installer on Windows
    > Vista and I am getting this error:
    >
    > c:/ruby/lib/ruby/gems/1.8/gems/windows-api-0.2.0/lib/windows/api.rb:
    > 211: [BUG] Segmentation fault
    > ruby 1.8.6 (2007-09-24) [i386-mswin32]
    >
    > Has anyone ever experienced this error or can suggest a fix?


    That's coming from win32-api. The line is simply API.new(...). By any
    chance did you build win32-api from source? Or did you install the
    prebuilt gem? If you built from source, what compiler did you use?

    Thanks,

    Dan
     
    Daniel Berger, Oct 25, 2007
    #2
    1. Advertising

  3. bbiker Guest

    On Oct 24, 7:00 pm, Daniel Berger <> wrote:
    > wrote:
    > > Hi,

    >
    > > I am attempting to use ruby 186rc1 one click installer on Windows
    > > Vista and I am getting this error:

    >
    > > c:/ruby/lib/ruby/gems/1.8/gems/windows-api-0.2.0/lib/windows/api.rb:
    > > 211: [BUG] Segmentation fault
    > > ruby 1.8.6 (2007-09-24) [i386-mswin32]

    >
    > > Has anyone ever experienced this error or can suggest a fix?

    >
    > That's coming from win32-api. The line is simply API.new(...). By any
    > chance did you build win32-api from source? Or did you install the
    > prebuilt gem? If you built from source, what compiler did you use?
    >
    > Thanks,
    >
    > Dan


    This may not help the OP, info provide just in case.
    The problem may be related to Vista or as you mentioned the gem was
    built by the OP rather than installed.

    Both win32-api and windows-api work fine on Windows XP.

    C:\Documents and Settings\Owner>gem query -n api
    *** LOCAL GEMS ***
    win32-api (1.0.3)
    A superior replacement for Win32API
    windows-api (0.2.0)
    An easier way to create methods using Win32API

    C:\Documents and Settings\Owner>ruby -v
    ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]

    C:\Documents and Settings\Owner>irb
    irb(main):001:0> require 'win32/api'
    => true
    irb(main):002:0> require 'windows/api'
    => true
     
    bbiker, Oct 25, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Marcus Svensson

    Modelsim error 211

    Marcus Svensson, Dec 6, 2003, in forum: VHDL
    Replies:
    8
    Views:
    1,108
    nautes
    Feb 2, 2004
  2. Oleg
    Replies:
    9
    Views:
    12,659
  3. Replies:
    2
    Views:
    7,199
    Jacek Dziedzic
    Mar 27, 2006
  4. eliweiq001
    Replies:
    12
    Views:
    826
    Keith Thompson
    Oct 6, 2010
  5. Shashank Date

    [BUG] Segmentation fault on Windows

    Shashank Date, Jul 8, 2003, in forum: Ruby
    Replies:
    0
    Views:
    101
    Shashank Date
    Jul 8, 2003
Loading...

Share This Page