Intermittent crash after pressing stop button
Sometimes, the application will crash after pressing the "stop" recording button. Not always happens, so I guess there could be some racy condition there.
This how I get to reproduce it with more success (1 in 4 times maybe):
- Make sure there's no recordings (at all).
- Start a new recording, and very quickly,
- Start pressing pause and resume a few times, then quickly,
- Press stop button.
The application will crash. Nothing on logs.
[tchx84@silverblue ~]$ flatpak info org.gnome.SoundRecorderDevel
Sound Recorder - A simple, modern sound recorder for GNOME
ID: org.gnome.SoundRecorderDevel
Ref: app/org.gnome.SoundRecorderDevel/x86_64/master
Arch: x86_64
Branch: master
Version: 3.34.0
License: GPL-2.0+
Origin: gnome-nightly
Collection: org.gnome.Nightly
Installation: user
Installed: 1.3 MB
Runtime: org.gnome.Platform/x86_64/master
Sdk: org.gnome.Sdk/x86_64/master
Commit: 792d623ac4738ee4ceea541f21895d72fe8de769f23a986c248cd2a1fb359891
Parent: 15419254681e8e18ffe2652809104511ba11b239df0f182a29db4f07662f6322
Subject: Export org.gnome.SoundRecorderDevel
Date: 2020-08-08 19:58:44 +0000
I can also reproduce it on master:
commit c8effe07a9d6b0428f63eb2e0deeacb140d058b6