Re: Audacity crashes on Launch

Peter Sampson <[email protected]> Tue, 18 May 2021 16:03:45 +0100
Newsgroups gmane.comp.audio.audacity.devel
Message-ID <CAD50V8xmpxLfXFJPx2Up-W+OKe2sjDbk4V3u7hQ6TBa0Seutmg@mail.gmail.com>
On Tue, May 18, 2021 at 3:57 PM 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
>

This remains the case with the latest alpha commit to Master
Audacity 3.0.3 b1f05e5

https://github.com/audacity/audacity/commit/b1f05e5747cae9a3ccca1d4e816c9102ab5f3444

The white rectangle with the Audacity logo and text appears and then
disappears, with no launch

It is a regression on this recent alpha that I have

Audacity 3.0.3 dad9823

As the finder, are you going to log this Steve ?

Peter.



> 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