# Segfault in ferret 0.11.0

**URL:** <https://www.ruby-forum.com/t/segfault-in-ferret-0-11-0/86991>\
**Category:** Ferret\
**Created:** [February 27, 2007, 12:22pm UTC](https://www.ruby-forum.com/t/segfault-in-ferret-0-11-0/86991 "2007-02-27T12:22:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nappin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f475e1/32.png) [@nappin](https://www.ruby-forum.com/u/nappin)\
**Post date:** [February 27, 2007, 12:22pm UTC](https://www.ruby-forum.com/t/segfault-in-ferret-0-11-0/86991/1 "2007-02-27T12:22:37Z")

</div>

Hi,  
Just downloaded the new ferret 0.11. I’m on OSX btw. I get this error  
everytime I run my unit tests:  
Loaded suite ferret\_updater\_unit\_test  
Started  
E/usr/local/lib/ruby/1.8/erb.rb:504: [BUG] Segmentation fault  
ruby 1.8.4 (2005-12-24) [i686-darwin8.7.1]

Abort trap

When I revert back to 10.14 I dont get this error. When I comment out  
the line:  
Ferret::Index::Index.new({:path =\> @index\_path, :field\_infos =\> fi,  
:create\_if\_missing =\> true, :analyzer =\> StemmedAnalyzer.new})

This error goes away…

If there’s any other things you need to know, let me know and I will be  
more than glad to answer any questions.  
Cheers,  
-Ray

---

<div class="post-metadata">

**Author:** ![nappin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f475e1/32.png) [@nappin](https://www.ruby-forum.com/u/nappin)\
**Post date:** [February 27, 2007, 1:00pm UTC](https://www.ruby-forum.com/t/segfault-in-ferret-0-11-0/86991/2 "2007-02-27T13:00:04Z")

</div>

Try to rebuild your Index, ferret 0.11 index segmentation seems a bit  
different from older version, so \< 0.11 indexes arn’t supported…  
I actually got a problem with my 0.10.14 index and rebuilding it from a  
brand new 0.11 one worked well 🙂

–  
JÃ©rÃ©mie ‘ahFeel’ BORDIER  
Rift Technologies - [www.rift.fr](http://www.rift.fr)

---

<div class="post-metadata">

**Author:** ![nappin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f475e1/32.png) [@nappin](https://www.ruby-forum.com/u/nappin)\
**Post date:** [February 28, 2007, 11:56am UTC](https://www.ruby-forum.com/t/segfault-in-ferret-0-11-0/86991/3 "2007-02-28T11:56:13Z")

</div>

Hi Dave,  
Just installed the 11.2 gem. No problems anymore! Yay!  
Thanks again for all your great work.  
-Ray

David B. wrote:

> On 2/27/07, Raymond O’connor [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > When I revert back to 10.14 I dont get this error. When I comment out  
> > the line:  
> > Ferret::Index::Index.new({:path =\> @index\_path, :field\_infos =\> fi,  
> > :create\_if\_missing =\> true, :analyzer =\> StemmedAnalyzer.new})
> > 
> > This error goes away…
> > 
> > If there’s any other things you need to know, let me know and I will be  
> > more than glad to answer any questions.  
> > Cheers,  
> > -Ray
> 
> Hi Ray,  
> There is another version on its way now. Should be available in half  
> an hour plus the time it takes to filter through to the gem mirrors.  
> Let me know if that works for you.
> 
> Cheers,  
> Dave

---

<div class="post-metadata">

**Author:** ![nappin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f475e1/32.png) [@nappin](https://www.ruby-forum.com/u/nappin)\
**Post date:** [February 27, 2007, 2:19pm UTC](https://www.ruby-forum.com/t/segfault-in-ferret-0-11-0/86991/4 "2007-02-27T14:19:50Z")

</div>

On 2/27/07, Raymond O’connor [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> When I revert back to 10.14 I dont get this error. When I comment out  
> the line:  
> Ferret::Index::Index.new({:path =\> @index\_path, :field\_infos =\> fi,  
> :create\_if\_missing =\> true, :analyzer =\> StemmedAnalyzer.new})
> 
> This error goes away…
> 
> If there’s any other things you need to know, let me know and I will be  
> more than glad to answer any questions.  
> Cheers,  
> -Ray

Hi Ray,  
There is another version on its way now. Should be available in half  
an hour plus the time it takes to filter through to the gem mirrors.  
Let me know if that works for you.

Cheers,  
Dave
