Michael Koziarski
2006-Jun-11 10:08 UTC
[Ferret-talk] 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 mac os x? Anything I can do to help debug this? -- Cheers Koz -- Posted via http://www.ruby-forum.com/.
David Balmain
2006-Jun-17 01:31 UTC
[Ferret-talk] Bus Error with Ferret 0.9.3 using the BooleanQuery api
On 6/11/06, Michael Koziarski <michael at koziarski.com> wrote:> 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?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
Lee Marlow
2006-Jun-27 20:57 UTC
[Ferret-talk] Bus Error with Ferret 0.9.3 using the BooleanQuery api
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 On 6/16/06, David Balmain <dbalmain.ml at gmail.com> wrote:> On 6/11/06, Michael Koziarski <michael at koziarski.com> wrote: > > 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? > > 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 > _______________________________________________ > Ferret-talk mailing list > Ferret-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/ferret-talk >
David Balmain
2006-Jun-28 00:24 UTC
[Ferret-talk] Bus Error with Ferret 0.9.3 using the BooleanQuery api
Thanks Lee, I''m working on it. On 6/28/06, Lee Marlow <lmarlow at yahoo.com> wrote:> 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 > > On 6/16/06, David Balmain <dbalmain.ml at gmail.com> wrote: > > On 6/11/06, Michael Koziarski <michael at koziarski.com> wrote: > > > 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? > > > > 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 > > _______________________________________________ > > Ferret-talk mailing list > > Ferret-talk at rubyforge.org > > http://rubyforge.org/mailman/listinfo/ferret-talk > > > _______________________________________________ > Ferret-talk mailing list > Ferret-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/ferret-talk >