Le 08.06.2005 09:53:32, Pawel Salek a écrit :
On 06/08/2005 12:12:15 AM, Jean-Luc Coulon (f5ibh) wrote:Hi, When I quit balsa, sometimes it crashes. I finally got a backtrace.There is twice the message "Filtre incorrect" (== incorect filter) in the trace. So I think [tm] it is a filter problem.Can you help ?If it crashes sometimes, it looks like the filters are not properly locked for concurrent access (my first feeling). And when I look at the accesses to LibBalsaMailbox::filters_loaded, and LibBalsaMailbox::filters, I see they are not protected. libbalsa_mailbox_filters_when() assumes that the filter list does not change in the meantime, either. Some either locking or reference counting would be in place there. How often does it happen? Is it at least sometimes reproducible?
If I start/stop balsa 4 or 5 times a day, sure I will get one...
[snip] #10 0x080cacf0 in filters_prepare_to_run (filters=0x83660b8) at filter.c:239 fil = (LibBalsaFilter *) 0x1This looks really fascinating... Pawel
Jean-Luc
Attachment:
pgpdSKz9HcqNx.pgp
Description: PGP signature