# Segmentation fault with OneClickInstaller 1.8.4

**URL:** <https://www.ruby-forum.com/t/segmentation-fault-with-oneclickinstaller-1-8-4/70606>\
**Category:** Ruby\
**Created:** [February 19, 2006, 11:23pm UTC](https://www.ruby-forum.com/t/segmentation-fault-with-oneclickinstaller-1-8-4/70606 "2006-02-19T23:23:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anatol](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7ba0ec/32.png) [@anatol](https://www.ruby-forum.com/u/anatol)\
**Post date:** [February 19, 2006, 11:23pm UTC](https://www.ruby-forum.com/t/segmentation-fault-with-oneclickinstaller-1-8-4/70606/1 "2006-02-19T23:23:56Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![anatol](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7ba0ec/32.png) [@anatol](https://www.ruby-forum.com/u/anatol)\
**Post date:** [February 19, 2006, 11:30pm UTC](https://www.ruby-forum.com/t/segmentation-fault-with-oneclickinstaller-1-8-4/70606/2 "2006-02-19T23:30:07Z")

</div>

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??

---

<div class="post-metadata">

**Author:** ![anatol](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7ba0ec/32.png) [@anatol](https://www.ruby-forum.com/u/anatol)\
**Post date:** [February 20, 2006, 4:15pm UTC](https://www.ruby-forum.com/t/segmentation-fault-with-oneclickinstaller-1-8-4/70606/3 "2006-02-20T16:15:02Z")

</div>

this may explain it,

> **[Back to ye 'ol compiler issues on Windows](https://djberg96.livejournal.com/63514.html)**
>
> The good news is that Curt Hibbs put out the one click installer for 1.8.4. The bad news (for me and folks using the Win32Utils project files) is that he compiled using VC++ 6 instead of 7. The problem, it seems, is that if you build some of the...
