Spontaneous rupture on irregular faults