renoise.song.selected_instrument_observable will bang if you only have one instrument in song and press the remove instrument button (-) in the instrument list. This shouldn’t happen, as the selected instrument isn’t changed.
I would not be surprised if the same thing happens with other lists as well.