Forums » Ferret » Bus Error with Ferret 0.9.3 using the BooleanQuery api

Bus Error with Ferret 0.9.3 using the BooleanQuery api
Posted by Michael Koziarski (Guest)
on 11.06.2006 12:08
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 mac os x?  Anything I can 
do to help debug this?

--
Cheers

Koz
Re: Bus Error with Ferret 0.9.3 using the BooleanQuery api
Posted by David Balmain (Guest)
on 17.06.2006 03:33
On 6/11/06, Michael Koziarski <michael@koziarski.com> wrote:
> Is anyone successfully using the Query API on mac os x?  Anything I can
> do to help debug this?

Hi Michael,

I noticed in your code you are using BooleanQuery#add_clause method
but you are adding a query. Can you try BooleanQuery#add_query
instead? Let me know if that helps.

Cheers,
Dave
Re: Bus Error with Ferret 0.9.3 using the BooleanQuery api
Posted by Lee Marlow (Guest)
on 27.06.2006 22:57
I attached a test case to this ticket that reproduces a bus error and
a segmentation fault on my macbook pro and another linux machine.
http://ferret.davebalmain.com/trac/attachment/ticket/62/bus_error_and_segmentation_fault_test_cast.diff

We were using ferret to help with our site navigation since the info
was already in the index and we wouldn't need to maintain a
denormalized table for the hierarchical data.  Ferret was called on
every page, sometimes multiple times per page.  This instability has
caused us to pull back on our use of ferret on the site.

Let me know if there's more information I can provide that would help.

Thanks

-Lee
Re: Bus Error with Ferret 0.9.3 using the BooleanQuery api
Posted by David Balmain (Guest)
on 28.06.2006 02:26
Thanks Lee, I'm working on it.