So called "sexism" in FOSS, etc., is the inevitable self perpetuating result of having mostly guys in a closed environment. When not actively working, guys talk about guy things and if you are a woman, many of the typical guy topics of conversation can make you uncomfortable. On the other hand, if a woman happens to have a thick skin, and can sling it as well as well as take it, they're bound to do quite well, have their contributions recognized, etc.
That's the bottom line. To succeed in FOSS as a woman, you have to have a thick skin, whereas if you are a man, thick skin isn't quite as necessary. Voila, instant gender imbalance.
I have a thick skin, and therefore I succeed. On a purely personal note, I don't have much sympathy for whiny people who can't take it, male or female. Everyone should be less sensitive to personal affronts, regardless of gender.