This problem happens while using the stft module when it tries to create a newsignal array using the signal_with_padding function.