Displaying 20 results from an estimated 5000 matches similar to: "test/functional/thread_safety_index_test.rb failures - segfaults too"
2007 Feb 28
4
Ferret 0.11.2-rc3 released
Hey guys,
I''ve just removed the -fno-stack-protector flag from the release so
those who had trouble because of this should now be able to install
0.11.2-rc3. If you have any problems with this release, please let me
ASAP.
Cheers,
Dave
--
Dave Balmain
http://www.davebalmain.com/
2007 Sep 09
1
MultiTerm query segfault - remote denial of service
Hi ferreteers,
I came across a segfault in the query parser. It had already been
reported[1] and fixed[2], but it can lead to a denial of service.
If you use Ferret anywhere that you allow users to execute queries,
those users can crash your Ruby process with a specially crafted
query.
I''m sure you''re all using Monit or something for your Rails or drb
processes, so
2007 Mar 09
1
script to reproduce segfaults in 0.11.3
Hi,
I''ve adapted my ferret_killer1.rb script to reproduce the segfaults I''m
still having in my app with Ferret 0.11.3.
ferret_killer1 didn''t reproduce these - I had to add code to retrieve
the documents from the index after searching (and fixed the index
creation bug Dave spotted).
http://johnleach.co.uk/downloads/ruby/ferret/ferret_killer3.rb
To use, in one terminal
2007 Jan 22
6
[Ferret] Test failures for ferret tagged REL-0.10.14
Hi Dave,
I''ve been getting some segment faults while running my tests using
0.10.14 gem so I decided to package the gem locally to add -dH and
generate core dumps for you.
So I followed instructions here
http://ferret.davebalmain.com/trac/wiki/DownloadCurrent and first off
ran the tests.
I''m getting the following failures. (see this pastie
http://pastie.caboo.se/34790).
I
2007 Apr 28
6
Determine how many documents a term occurs in
Is there a fast way to determine how many documents a term occurs in,
besides iterating through every document with TermDocEnum?
--
Best regards,
Stian Gryt?yr
2007 Feb 22
4
Ferret progress update
Hi folks,
Just thought I better let you all know that I''m still working on the
next release of Ferret. I''ve been working the last 7 days doing
nothing but Ferret development. The last iteration generated a diff of
almost 5000 lines so there are some pretty major changes. Most people
won''t notice these changes however as the API remains unchanged. But
if you were having
2007 Jan 29
2
Segmentation fault in Index::Index#add_document
Hello,
Here''s the code that segfaults:
http://pastie.caboo.se/36467
I could have submitted a patch, but I''m not sure
whether this segfault is caused by Ferret or Ruby.
This seems to be triggered only when combining
a split and a gsub on an empty string of the returned
array, and trying to insert it directly into the
index.
However, there''s no problem when you
2007 Mar 06
2
ferret 0.11.3 - File Not Found
Hi,
I noticed a 0.11.3 release and gave it a whirl. I''ve so far not been
able to reproduce any segfaults with my ferret_killer[1] script, though
I do get some errors.
when the searching process is running and I start the indexing process,
I immediately get:
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.3/lib/ferret/index.rb:692:in `latest?'': File Not Found Error occured at
2007 Feb 25
9
Ferret 0.11.0-rc1
Hey folks,
Sorry for cross posting like this but this is an important
announcement for all Ferret users.
** Description **
Firstly for those who don''t know, Ferret is a full-text search library
which makes adding search to your application a breeze. It''s much
faster than MySQL full-text search as well most other search libraries
out there. It allows you to do Boolean (+ruby +
2007 May 31
2
Ferret.donate(Money.aus_dollar(200))
Remember folks, we can support the Ferret project by donating warm soft
electronic cash to the author, Dave Balmain, using the paypal buttons on
the website:
http://ferret.davebalmain.com/trac
http://ferret.davebalmain.com/trac/wiki/DonationsFAQ
We can also buy the Ferret Shortcut pdf/book from O''Reilly, also written
by Dave Balmain. It''s awesome good:
2007 Feb 19
2
Ferret seg-faulting during search
Hi,
I''m using ferret and running into troubles with it seg faulting during
searches. The index I''m searching is static and is only updated in an
offline way once every couple weeks.
The segfault isn''t deterministically reproducible, but if I hammer
ferret hard enough I can reliably get it to crash. The problem seems to
have something to do with how memory is shared
2007 Feb 28
5
win32 11.1-rc2 ferret gem available?
Hello!
I am developing a rails application in a test environment on Windows XP and recently upgraded to InstantRails 1.5. During the upgrade process, I went to install the latest ferret gem and realized that the latest gem compiled for Windows was 10.9. We upgraded our production environment (Ubuntu) to 11.1-rc2 successfully, but wanted to find out if we were going to run into any problems
2006 Mar 19
3
Ferret 0.9.0-alpha (port of Apache Lucene to pure ruby)
Hi Folks,
I''ve just released version 0.9.0. This latest version of Ferret is an
alpha release. I have removed the old c extension and Ferret is now
running on a fully ported C library. This has allowed some huge
performance improvements both with regard to memory and CPU usage.
There will probably be a few portability issues to start with. It has
been developed on Linux so it should
2007 May 14
3
How to make a Tag cloud with Ferret ?
Hello,
I want to make a TAG CLOUD using ferret.
How can i do so ?
I would need to know the amount of keyword for every each words in the
index.
Thank you
--
Posted via http://www.ruby-forum.com/.
2007 Jul 26
6
Ferret - current status?
Hi guys,
Having committed a fairly large project to ferret I''m a little concerned
that ferret svn has been essentially unavailable for weeks (pretty much
every time I try I get "can''t connect") and more so now that
davebalmain.com has gone off the air.
Without meaning to pry, does anyone know whether existing problems in
ferret are likely to get fixed? (I can get
2007 Jan 27
0
concurrency errors adding to a keyed index
Hi,
I''m adding some news articles to a keyed Ferret 0.10.14 index and
encountering quite serious instability when concurrently reading and
writing to the index, even though with just 1 writer and 1 reader
process.
If I recreate the index without a key, concurrent reading and writing
seem to work fine (and indexing is about 10 times quicker :)
I''m testing by running my indexing
2006 Jun 11
3
Bus Error with Ferret 0.9.3 using the BooleanQuery api
Hey guys,
I''ve been trying out ferret 0.9.3 on my powerbook this weekend and I''ve
been triggering ''bus errors'' when using the Query API. If I
programmatically build up strings, it works just fine.
There''s some more information available in the trac ticket
http://ferret.davebalmain.com/trac/ticket/62
Is anyone successfully using the Query API on
2007 Feb 20
10
ferret webpage down
The ferret webpage at http://ferret.davebalmain.com/ has been down for a
number of days. Any idea what''s going on? or how to notify the
webmaster?
--
Posted via http://www.ruby-forum.com/.
2007 Feb 16
8
term vector blues
I have a lot of crashes when I try to use term vectors. Here''s an
example, which crashes pretty consistently. This problem seems to be
somewhat sensitive to platform... people on other OS''s and ruby versions
have reported no error. I have seen this with ferret 0.10.13 and 0.10.14
on debian stable using ruby 1.8.2, but I have observed the same problem
on various other systems as
2007 Apr 03
3
[Repost] Problem with url searching..
Hi all,
I''ve posted that few weeks ago but no one answered, but this feature is
REALLY important for us.
I have many objects with a url field, of course containing standards
urls...
I''m trying to match them but i actually got problems with that.
Here''s a little code of what i would like to achieve:
require ''rubygems''
require