Re: Audacity crashes on Launch

Steve Fiddle <[email protected]> Tue, 18 May 2021 15:49:03 +0100
Newsgroups gmane.comp.audio.audacity.devel
Message-ID <CABp83eAECnC9LvSyszCmN66R6BOaNaDj9y+8Kc54GK4dt6T9sg@mail.gmail.com>
First run gives an assert:
src/widgets/FileConfig.cpp(98): assert "mDirty == false" failed in
~FileConfig().

Backtrace:

[1] FileConfig::~FileConfig()
[2] AudacityFileConfig::~AudacityFileConfig()
[3] AudacityFileConfig::~AudacityFileConfig()
[4] std::default_delete<AudacityFileConfig>::operator()(AudacityFileConfig*)
const
[5] std::unique_ptr<AudacityFileConfig,
std::default_delete<AudacityFileConfig> >::~unique_ptr()
[6] PluginManager::Load()
[7] PluginManager::Initialize()
[8] AudacityApp::InitPart2()
[9] AudacityApp::OnInit()
[10] wxAppConsoleBase::CallOnInit()
[11] wxEntry(int&, wchar_t**)
[12] wxEntry(int&, char**)
[13] main
[14] __libc_start_main
[15] _start
--------------------------------
Second run crashes:

ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
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
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
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
15:45:24: Debug: ScreenToClient cannot work when toplevel window is not shown
15:45:24: Debug: ScreenToClient cannot work when toplevel window is not shown
15:45:24: Debug: ScreenToClient cannot work when toplevel window is not shown
15:45:24: Debug: ScreenToClient cannot work when toplevel window is not shown
15:45:24: Debug: ScreenToClient cannot work when toplevel window is not shown
15:45:24: Debug: ScreenToClient cannot work when toplevel window is not shown
15:45:24: Debug: ScreenToClient cannot work when toplevel window is not shown
15:45:24: Debug: ScreenToClient cannot work when toplevel window is not shown
15:45:24: Debug: ScreenToClient cannot work when toplevel window is not shown
Expression 'stream->playback.pcm' failed in
'/home/steve/Sourcecode/audacity/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c',
line: 4628
Expression 'stream->playback.pcm' failed in
'/home/steve/Sourcecode/audacity/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c',
line: 4628
Expression 'stream->playback.pcm' failed in
'/home/steve/Sourcecode/audacity/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c',
line: 4628
Expression 'stream->playback.pcm' failed in
'/home/steve/Sourcecode/audacity/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c',
line: 4628
Expression 'stream->playback.pcm' failed in
'/home/steve/Sourcecode/audacity/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c',
line: 4628
Expression 'stream->playback.pcm' failed in
'/home/steve/Sourcecode/audacity/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c',
line: 4628
Expression 'stream->playback.pcm' failed in
'/home/steve/Sourcecode/audacity/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c',
line: 4628
Expression 'stream->playback.pcm' failed in
'/home/steve/Sourcecode/audacity/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c',
line: 4628
15:45:24: Debug: ScreenToClient cannot work when toplevel window is not shown
Segmentation fault (core dumped)
--------------------------------

Steve

On Tue, 18 May 2021 at 14:35, Steve Fiddle <[email protected]> wrote:
>
> Tested on Linux with 3.0.3 ea04ee
>
> If I remove:
> audacity.cfg
> pluginsettings.cfg
> pluginregistry.cfg
>
> then Audacity will launch without error.
>
> If I then exit and try launching again, Audacity crashes:
> "Segmentation fault (core dumped)"
>
> Steve