Re: CVS HEAD: crash when exiting, filter related



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?

[snip]
#10 0x080cacf0 in filters_prepare_to_run (filters=0x83660b8) at
filter.c:239
	fil = (LibBalsaFilter *) 0x1

This looks really fascinating...

Pawel




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]