On 9/6/06, David Balmain <[EMAIL PROTECTED]> wrote:
> On 9/6/06, David Balmain <[EMAIL PROTECTED]> wrote:
> > correctly. What would really help would be if you could give me an
> > example script that segfaults. If you can do this I'll fix it and get
> > a new gem out as soon as possible.
>
> Actually, hold on that, I think I've found the problem.

Hi Kent,

I've put in a fix which I think should fix your segfault.
Unfortunately I can't seem to replicate the bug here to test it. Even
calling GC.start doesn't seem to collect any of the three VALUES in
RegExpTokenStream. I've had problems like this before when trying to
test an implemention of a weak-key Hash. I really need to look into
how the Ruby garbage collector works but it never seems to work
predictable for me.

Anyway, I was hoping you could help me out, either by testing your
code against the latest version of Ferret in subversion or sending me
a short (or long, I don't really care) script which causes the
problem. If it'll make it any easier I can email you a gem of the
current working version Ferret.

Cheers,
Dave
_______________________________________________
Ferret-talk mailing list
Ferret-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to