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

A

aidy.lewis

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
 
D

Daniel Berger

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
 
B

bbiker

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top