I hit an obscure bug with an entertaining error message the other day. It
was in a fairly long and complex piece. but I have managed to narrow it down
to the fact that followVoice cannot connect a note on one system with a note
two systems down. This piece demonstrates the problem:
\version
Quoting Colin Wilding [EMAIL PROTECTED]:
...
In the process of working out what was wrong I learnt two useful lessons:
1. If you put a staff change straight after a polyphonic section then
Lilypond tries to connect the last note before the polyphony with the first
note after the polyphony.