Hi, I have had the same problem for some days now and didn't have them before and I was using avast and thunderbird together for "years" now without problems. I then remembered that I put on-access protection on "high" last week... After putting it back to normal changing the status of mails or marking them as unread or spam etc. worked smoothly again. Maybe you have the same configuration...
regards
Christina