The most common cause is a corrupt localstore.rdf file in your profile. Firefox performs occasional backups (localstore-XX.rdf), so it is possible to recover your configuration by restoring the backup before the problem.