Thanks for your reply. Just for the record, I’ve already referred to that topic before coming here and it didn’t help.
And as far as I can see, disabling avast! makes things work fine. So its an avast! isuue.
I’m still looking for a solution. And again, thanks for the replies 
Regards,
Ananya