Segmentation fault while combing stopfilter and stem filter

Hi list

I’ve made a personal analyzer that combine the stemming and the stop
words
filtering,
my indexing works fine for a while, but it crashes with a segmentation
fault

when I use the stemming alone, it works very fine

may I have some help

thanks

this is the declaration of my analyzer

class ContentAnalyzer < StandardAnalyzer

def initialize()
@stop_words = FULL_FRENCH_STOP_WORDS
end

def token_stream(field, input)
Ferret::Analysis::StemFilter.new(super, “french”)
end

end

PS: I’ve seen this integration in mailing lists, it will be familiar for
somones.

Where is my mistake