The problem with GSoC is that it doesn't count as an internship for companies that need one. Or meeting my university's requirement for an internship, although that requirement could be fought against.
On the subject of visas: I know that in the US, if you come on a student visa, there are certain allowances for summer internships in technical fields. Your local consulate should know the details.
I haven't done it myself, so I don't know if my advice is any good, but I'd suggest picking one that interests you and getting started fixing bugs as soon as possible. And when you have a chance, double-check that they intend to take part this summer, too.
A friend of mine did GSoC a few summers ago. If you like, send me an email and I'll put you in touch.