The same problem started for me when I upgraded Avast! today.
Win 7, Thunderbird 24.1.1, IMAP with Google Mail, SSL/TLS - is that enough information?
Don’t want to turn Avast! off, but I am not getting email now.
Thanks.