Crash when trying to play with playhead past recording

I just cut out the last sound from a song using Audacity and when I placed it into an empty track, it played fine. Then I placed the playback start marker (I don’t know what it’s officially called, I just clicked on the part of the track where the waveform is) after the end of that sound, so in an empty place on the track. I hit play, nothing happened, I wanted to press play again but then the window closed. I ran Audacity again from the command line and repeated the same actions, and I could see that it failed with an assertion:

/usr/include/c++/14/bits/stl_algo.h:3625: constexpr const _Tp& std::clamp(const _Tp&, const _Tp&, const _Tp&) [with _Tp = double]: Assertion '!(__hi < __lo)' failed.
Avbruten (SIGABRT) (minnesutskrift skapad)

I think the !(__hi < __lo) means that it crashes intentionally when the playback is tried to start behind the recording, but shouldn’t it simply refuse, or play from the beginning of the track or show an error instead of just outright crashing?
I tried to upload a screen recording of the bug, but it’s stuck permanently with an “upload://” link and doesn’t work when submitted despite the placeholder-looking URL.

This topic was automatically closed after 30 days. New replies are no longer allowed.