I can't post a picture of the spark, but what happened was that the mobile end of the charging cable, which was hanging loose - the other end was plugged into the controller - touched on some bare metal, causing a short circuit.
Here's a pic, not of the original cable, which I think I threw...