I can't pin the problem to any particular web sites. With https scanning activated, Firefox routinely crashes on closing regardless of sites visited, length of browsing session, or Firefox profile used. I don't think that it is Mozilla's problem at all. Avast's https scan holds on to the Firefox process while it is trying to close, resulting in the crash. Firefox does some housekeeping on close, and probably isn't allowed to complete the process.