Ubuntu Randomly Logs Me Out

After the last security update (yesterday) Ubuntu keeps loging me out for no reason. Even when I'm just using firefox or just writer it randomly logs me out. I can't guess any reason. My Disk is half empty, I'm not using too much RAM on daily bases, same with CPU. Has anyone encountered the same problem?