Re: [Audacity-devel] Audacity crashes on Launch
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Leland <ll...@ho...> - 2021-05-18 16:32:51
|
Linux backtrace: #0 0x00007ffff66a05bb in ____wcstod_l_internal (nptr=0x7fffff7ff450 L"", endptr=0x7fffff7ff3c0, group=0, loc=0x7ffff67c94c0 <_nl_global_locale>) at ../stdlib/strtod_l.c:509 #1 0x00007ffff7e2bbe4 in wxString::ToDouble(double*) const () at /home/yam/audacity/bld/bin/Debug/lib/audacity/libwx_baseu-3.1.so.3 #2 0x00005555569d6257 in SelectionBar::OnRate(wxCommandEvent&) (this=0x555557eee160) at /home/yam/audacity/src/toolbars/SelectionBar.cpp:740 In audacity.cfg, DefaultProjectSampleRate on Windows: [SamplingRate] DefaultProjectSampleRate=-2147483648 On Linux: [SamplingRate] DefaultProjectSampleRate=0 From: Paul Licameli <pau...@gm...> Sent: Tuesday, May 18, 2021 10:38 AM To: Audacity-Devel list <aud...@li...> Subject: Re: [Audacity-devel] Audacity crashes on Launch Recent changes of mine may have caused Bug2880 to regress. https://bugzilla.audacityteam.org/show_bug.cgi?id=2280 Is there now a too-early call to AudioIOBase::GetOptimalSupportedSampleRate causing trouble on Linux? PRL On Tue, May 18, 2021 at 11:34 AM Paul Licameli <pau...@gm... <mailto:pau...@gm...> > wrote: Peter, did you correctly identify the last known good alpha in the Bugzilla comment? PRL On Tue, May 18, 2021 at 11:33 AM Peter Sampson <pet...@gm... <mailto:pet...@gm...> > wrote: On Mac it does relaunch OK But the the audaity.cfg I see no entry for >[SamplingRate] >DefaultProjectSampleRate= ... But the Project rate at bottom left shows as 44100 Peter. On Tue, May 18, 2021 at 4:13 PM Peter Sampson <pet...@gm... <mailto:pet...@gm...> > wrote: On Tue, May 18, 2021 at 4:07 PM Steve Fiddle <ste...@gm... <mailto:ste...@gm...> > wrote: @ Peter, Open your audacity.cfg file in a text editor, and change: [SamplingRate] DefaultProjectSampleRate=0 to: [SamplingRate] DefaultProjectSampleRate=44100 With these two latest alphas I don;t see a >[SamplingRate] >DefaultProjectSampleRate= ... For 3.0.2 I do see >[SamplingRate] >DefaultProjectSampleRate=44100 Peter. Audacity will then probably launch. Steve On Tue, 18 May 2021 at 15:59, Peter Sampson <pet...@gm... <mailto:pet...@gm...> > 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 <ste...@gm... <mailto:ste...@gm...> > 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 <ste...@gm... <mailto:ste...@gm...> > 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 >> aud...@li... <mailto:aud...@li...> >> https://lists.sourceforge.net/lists/listinfo/audacity-devel > > _______________________________________________ > audacity-devel mailing list > aud...@li... <mailto:aud...@li...> > https://lists.sourceforge.net/lists/listinfo/audacity-devel _______________________________________________ audacity-devel mailing list aud...@li... <mailto:aud...@li...> https://lists.sourceforge.net/lists/listinfo/audacity-devel |