Re: Audacity crashes on Launch

Steve Fiddle <[email protected]> Tue, 18 May 2021 16:07:03 +0100
Newsgroups gmane.comp.audio.audacity.devel
Message-ID <CABp83eDWtNp2E-DZ8JDheOgtOaB7Lt=6Tdg9xVspbtUZ8FKb-g@mail.gmail.com>
@ Peter,

Open your audacity.cfg file in a text editor, and change:
[SamplingRate]
DefaultProjectSampleRate=0

to:
[SamplingRate]
DefaultProjectSampleRate=44100

Audacity will then probably launch.

Steve

On Tue, 18 May 2021 at 15:59, Peter Sampson
<[email protected]> wrote:
>
> Testing on W10 with Audacity 3.0.3 ea04eef
>
> 1) clear Audacity settings folder
> 2) launch Audacity 3.0.3 ea04eef
> 3) Observe: launches fine
> 4) Exit
> 5) Relaunch: Audacity 3.0.3 ea04eef
> 6) Observe Audacity fails to launch
>
> In fact at Step 5 none of my 3.x Audacities will launch.
>
> Peter.
>
> On Tue, May 18, 2021 at 3:50 PM Steve Fiddle <[email protected]> wrote:
>>
>> 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
>>
>>
>> _______________________________________________
>> audacity-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>
> _______________________________________________
> audacity-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/audacity-devel