# Segmentation Fault in more\_like\_this.rb

**URL:** <https://www.ruby-forum.com/t/segmentation-fault-in-more-like-this-rb/119297>\
**Category:** Ferret\
**Created:** [November 5, 2007, 10:05pm UTC](https://www.ruby-forum.com/t/segmentation-fault-in-more-like-this-rb/119297 "2007-11-05T22:05:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sweetpete](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c5a1d2/32.png) [@sweetpete](https://www.ruby-forum.com/u/sweetpete)\
**Post date:** [November 5, 2007, 10:05pm UTC](https://www.ruby-forum.com/t/segmentation-fault-in-more-like-this-rb/119297/1 "2007-11-05T22:05:59Z")

</div>

I’ve been seeing some core dumps coming from ferret\_server:

acts\_as\_ferret/lib/more\_like\_this.rb:170: [BUG] Segmentation fault  
ruby 1.8.6 (2007-03-13) [i386-freebsd6]

I’m running the latest build of ferret (0.11.4-rc5). Line 170 in  
more\_like\_this.rb is:

freq = reader.doc\_freq(field\_name, word)

which is calling into the ferret C code (if I’m reading this correctly).

Is there anything I can do to get you more information, or help track  
down this problem?

Thanks.

–  
Peter J.  
pmade inc. - [http://pmade.com](http://pmade.com)

---

<div class="post-metadata">

**Author:** ![sweetpete](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c5a1d2/32.png) [@sweetpete](https://www.ruby-forum.com/u/sweetpete)\
**Post date:** [November 5, 2007, 10:23pm UTC](https://www.ruby-forum.com/t/segmentation-fault-in-more-like-this-rb/119297/2 "2007-11-05T22:23:33Z")

</div>

Peter,

> Is there anything I can do to get you more information, or help track  
> down this problem?

Yes, of course… try to break the error down to a simple test case  
and create a ticket at the ferret trac. There’re still a few problems  
in ferret that needs to be addressed, and this might be one of  
them. Whenever David gets another chance to fix some ferret  
bugs, it would be great to have a test case that helps to  
identify the problem.

Ben
