Forum: Ruby Segmentation fault with OneClickInstaller 1.8.4

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
1c46e952a61c99d9eae4f21037a088fd?d=identicon&s=25 Anatol Pomozov (Guest)
on 2006-02-19 23:23
(Received via mailing list)
Hi, all.

I am using Stemmer4r library in my application. And it work perfect on
1.8.2-15 (as you gess I am under Windows)

But after upgrading ruby to 184 I start getting [BUG] Segmentation fault
in
my application in following line
Stemmer.new('en')

it is just simple object creation and if I move it from my application
codebase to separate script it runs without any problems

This is a script
begin
  if RUBY_PLATFORM =~ /win/
    require 'stemmer4r/ext/win32/stemmer4r' #Load Win specific so
library
  else
    require 'stemmer4r/ext/freebsd/stemmer4r' #For FreeBSD
  end
end

stemmer = Stemmer.new('en')
p stemmer

this is output
C:\work\app\lib>a.rb
#<Stemmer:0x2879f78>

I have no clue about the reason of this error. How could I solve it?
Would
be glad to provide any additional info.
1c46e952a61c99d9eae4f21037a088fd?d=identicon&s=25 Anatol Pomozov (Guest)
on 2006-02-19 23:30
(Received via mailing list)
After commenting this line I have SegFault in another place

...
return if singleton_methods.include? '__old__find'
...

So that it is not Stemmer but Ruby specific bug. Seems that
1.8.4distibution very unstable on Windows.
Have anybody SegFaults with OneClickInstaller??
Ce60c4f78a63b0695e4dafc4bd7964f7?d=identicon&s=25 Lou Vanek (Guest)
on 2006-02-20 16:15
(Received via mailing list)
This topic is locked and can not be replied to.