Bug#317524: bogofilter-bdb: seems to be stuck in an endless loop

David Relson relson at osagesoftware.com
Wed Aug 3 03:25:26 CEST 2005


On Tue, 2 Aug 2005 15:35:02 -0400
Clint Adams wrote:

> > >Okay.  What if you comment out the charset_default line in your config?
> > 
> > When I do this, bogofilter doesn't end up in the endless loop anymore
> > and seems to work as it should.
> 
> [Additional information at http://bugs.debian.org/317524 ]
> 
> There is apparently a problem if charset_default is set to iso-8859-1 .
> I have not attempted to reproduce this yet.

Hello Torsten & Clint,

From the bug description, the problem should be demonstrable with a
script like the one attached and an appropriate message file.  The
combination of attached script & message work fine for me.  

Knowing the exact bogofilter command run at the time of the loop and
having the message being processed would be very helpfu.  Can you
provide missing pieces so I can reproduce the problem?  

Bogofilter's use of iconv() has some special handling for characters
that don't belong in the "from" charset. Early on in the development of
the iconv code there were problems with that special handling, though I
don't recall an infinite loop such as you've experienced.  My suspicion
is that you may have encountered a similar problem.

By the way, what does "bogofilter -V" say?

Thanks,

David
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: problem.msg
URL: <https://www.bogofilter.org/pipermail/bogofilter-dev/attachments/20050802/abbc30c7/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: problem.sh
URL: <https://www.bogofilter.org/pipermail/bogofilter-dev/attachments/20050802/abbc30c7/attachment-0001.ksh>


More information about the bogofilter-dev mailing list