In the most recent versions of Audacity(*), I am noticing a(n annoying) new behavior – If I close 1 window/project – now it closes all windows/projects
That is, If I have more than 1 Audacity window open (for different projects), and I close one project (either by the window’s ‘X’ control in title bar, or by choosing “Close” from the project’s File menu), then it automatically closes the other project’s window(s) as well. This behavior holds even if the other project was not yet saved!
It is as if by clicking Close (Ctrl-W), I am really clicking on Exit (Ctrl-Q), except that it is worse than Exit, because with Exit, I at least get prompted for any unsaved projects.
I have had to recover projects several times now as it is taking this old dog a while to learn this new behavior.
Is this intentional? Or a bug? Or just something I’m missing? (It didn’t used to do this for all the years I’ve used Audacity.)
Thanks!
Jeff (androclus)
(*) I am using Audacity 2.3.3-alpha-Nov 25 2019, on Linux OpenSUSE Tumbleweed, from the Tumbleweed distro main repository, package name “audacity-2.3.3-1.1.x86_64”. This is the latest version available on my repo. But I am not sure how long it has been up, and/or how many other versions recently have had this problem. But I’ve only noticed this behavior in say, the last month or two. I run KDE Plasma 5, and have not changed my desktop settings.
I’m also running Audacity-2.3.3 / Audacity 2.4.0 alpha (Ubuntu with Xfce) and I can open multiple instances and close them individually.
On closing a project that has not just been saved, I get a prompt to save the project - do you get that?
I have the same problem : using Audacity 2.3.3-alpha-Nov 25 2019
OS = Opensuse Tumbleweed, KDE, updated to version 20200110, but this problem exists since 25/11/2019
Previously I could
open an existing project
copy part of the audio via Ctrl-C
create a new project window via Ctrl-N
paste in the new windows via Ctrl-V
export this via Shift-Ctrl-E
finally close the newly created project with Ctrl-W, without closing the originally opened project.
Since audacity version 2.3.3, this final Ctrl-W also closes the original project, without warning.
It’s actually a crash : when starting audacity from the command line, the log on screen shows after the Ctrl-W “Segmentation fault (core dumped)”
There is no difference between running Ctrl-W and Ctrl-Q : both end with “Segmentation fault (core dumped)”
Thanks for any support
Bart
Is this problem specific to KDE?
That’s very well possible, I’ve quick means to test on gnome, sorry.
Below you can find the stacktrace of the system jounald log.
But now I see that the same crash also occurs after simply starting audacity and closing it immediately via Ctrl-Q or Ctrl-W
13/01/2020 21:33 systemd-coredump Process 12906 (audacity) of user 1000 dumped core.
To test your idea, I went into Configure Task Manager (by right-clicking on Plasma panel), then Behavior. I changed “Group” drop-down to “Do not Group”, clicked Apply and OK. Then logged out of my session and back in, and checked that Do Not Group was still the setting.
Now, as before – but now without Grouping – I can open Audacity. Just a blank window. Now click on File->New to create a second (also blank) project. Clicking Ctrl-W (or window’s “X” control) within either project will kill both projects with prejudice – i.e., indeed with what looks like a flickering SegFault.
I am including:
a) a screencast of this behavior (as an .mp4 since this interface would not accept my original .mkv file), and on my Google Drive (since again this interface said my .mp4 – 3.6MB – was too large):
b) a screenshot of the window that flips up really quickly but which I could not see or read without going back through the screencast and going through frame-by-frame to get the screenshot
issue-108405-vlcsnap-2020-01-14-21h55m35s331.png
c) once i had this, i could now see that the debug logs were in /tmp. So I am including also a .zip file of everything in that dir
Given that both of you that have this problem are using OpenSuse Tumbleweed, and we have no reports of the problem on other systems, and we are unable to reproduce the problem (on other operating systems), I think you should report this issue to OpenSuse. https://en.opensuse.org/openSUSE:Submitting_bug_reports
Ctrl-W (close this last project)
Disabling the KDE Window Grouping makes no difference.
Starting with default settings (i.e. removing ~/.audacity-data) doesn’t make a difference.
I also quickly see the popup window shown in the screenshot from androclus, which shows the list of audacity plugins.
So I tried disabling all plugins and then restart audacity, Ctrl-N, Ctrl-W … crash.
No idea if the following contains useful info. Starting audacity from console shows this in the console :
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/Ambience>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/Bandisto>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/BeatBox>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/Combo>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/DX10>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/DeEss>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/Degrade>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/Delay>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/Detune>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/Dither>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/DubDelay>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/Dynamics>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/EPiano>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/Image>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/JX10>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/Leslie>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/Limiter>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/Loudness>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/MultiBand>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/Overdrive>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/Piano>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/RePsycho>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/RezFilter>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/RingMod>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/RoundPan>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/Shepard>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/Splitter>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/Stereo>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/SubSynth>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/TalkBox>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/TestTone>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/ThruZero>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/Tracker>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/Transient>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/VocInput>
lilv_world_add_plugin(): warning: Reloading plugin <http://drobilla.net/plugins/mda/Vocoder>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Analyzer>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/BassEnhancer>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/CompensationDelay>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Compressor>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Crusher>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Deesser>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Emphasis>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/EnvelopeFilter>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Equalizer12Band>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Equalizer30Band>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Equalizer5Band>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Equalizer8Band>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Exciter>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Filter>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Filterclavier>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Flanger>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Fluidsynth>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Gate>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/HaasEnhancer>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Limiter>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/MonoCompressor>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/MonoInput>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Monosynth>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/MultiChorus>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/MultiSpread>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/MultibandCompressor>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/MultibandEnhancer>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/MultibandGate>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/MultibandLimiter>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Organ>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Phaser>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Pitch>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Pulsator>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Reverb>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/ReverseDelay>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/RingModulator>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/RotarySpeaker>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Saturator>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/SidechainCompressor>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/SidechainGate>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/SidechainLimiter>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/StereoTools>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/TapeSimulator>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/TransientDesigner>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/VintageDelay>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Vinyl>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Vocoder>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/Wavetable>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/XOver2Band>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/XOver3Band>
lilv_world_add_plugin(): warning: Reloading plugin <http://calf.sourceforge.net/plugins/XOver4Band>
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.Audigy2.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4677:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5165:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.Audigy2.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4677:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5165:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.Audigy2.pcm.modem.0:CARD=0'
ALSA lib conf.c:4677:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5165:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=0,DEV=0
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.Audigy2.pcm.modem.0:CARD=0'
ALSA lib conf.c:4677:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5165:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=0,DEV=0
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.Audigy2.pcm.modem.0:CARD=0'
ALSA lib conf.c:4677:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5165:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM phoneline
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.Audigy2.pcm.modem.0:CARD=0'
ALSA lib conf.c:4677:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5165:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM phoneline
Expression 'alsa_snd_pcm_hw_params_set_buffer_size_near( pcm, hwParams, &alsaBufferFrames )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 923
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4611
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4611
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4611
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4611
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4611
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4611
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4611
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4611
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4611
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4611
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4611
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4611
Segmentation fault (core dumped)
OpenSuse Tumbleweed, KDE ==> command “ksystemlog” opens a window which shows the kde system log
Then start audacity, Ctrl-W ==> the kde system log shows the crash stracktrace
It’s actually not needed to first do Ctrl-N to create a new project. Just closing first audacity window with Ctrl-W causes the same crash, but you only notice it’s a crash by looking into the system log.
Let me know if I can do anything to provide better info.
I’ve tested on Tumbleweed, and the problem is repeatable.
The problem does not occur on other Linux systems that I’ve tried (Debian (Gnome), Ubuntu (Xfce), Mint (Cinamon)), so it appears to be a Suse or KDE problem. As the Audacity version in Tumbleweed isn’t a debug build, I’m not able to diagnose the problem further.
I’d suggest that you report the bug to OpenSuse. Please do keep us informed of any updates.
FIXED
The problem with openSUSE:Tumbleweed was caused by the particular variant of wxWidgets being built with LTO (Link Time Optimization) this is why it was particular to Tumbleweed.