Pitfall in simulations of vibronic TD-DFT spectra: diagnosis and assessment

The effect of spurious oscillations in geometrical energy derivatives computed using density functional approximations is studied for the ground and electronic excited states.