Re: Audacity crashes on Launch

Paul Licameli <[email protected]> Tue, 18 May 2021 14:02:41 -0400
Newsgroups gmane.comp.audio.audacity.devel
Message-ID <CAKUg33oPwHr37tmAo8OgzA_MdAidYoqJBPHhT7VEWXUCM-c=Xg@mail.gmail.com>
--===============8699858997261339822==
Content-Type: multipart/alternative; boundary="000000000000e27f2d05c29e84c8"

--000000000000e27f2d05c29e84c8
Content-Type: text/plain; charset="UTF-8"

Expect a quick-fix from me soon for the infinite recursion.

PRL


On Tue, May 18, 2021 at 1:47 PM Paul Licameli <[email protected]>
wrote:

> Did you observe at that backtrace what I do on Mac -- that there is an
> apparently infinite recursion in the stack below it?
>
> PRL
>
>
> On Tue, May 18, 2021 at 12:34 PM Leland <[email protected]> wrote:
>
>> 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 <[email protected]>
>> *Sent:* Tuesday, May 18, 2021 10:38 AM
>> *To:* Audacity-Devel list <[email protected]>
>> *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 <[email protected]>
>> 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 <
>> [email protected]> 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 <
>> [email protected]> wrote:
>>
>>
>>
>>
>>
>> On Tue, May 18, 2021 at 4:07 PM Steve Fiddle <[email protected]>
>> 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
>> <[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
>>
>> _______________________________________________
>> 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
>>
>

--000000000000e27f2d05c29e84c8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Expect a quick-fix from me soon for the infinite recu=
rsion.</div><div><br></div><div>PRL<br><br></div></div><br><div class=3D"gm=
ail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, May 18, 2021 at 1:=
47 PM Paul Licameli &lt;<a href=3D"mailto:[email protected]">paul.lic=
[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-left:1ex"><div dir=3D"ltr"><div>Did you observe at that backtrace what=
 I do on Mac -- that there is an apparently infinite recursion in the stack=
 below it?</div><div><br></div><div>PRL</div><div><br></div></div><br><div =
class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, May 18,=
 2021 at 12:34 PM Leland &lt;<a href=3D"mailto:[email protected]" target=
=3D"_blank">[email protected]</a>&gt; wrote:<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex"><div lang=3D"EN-US"><div><p class=3D"MsoNo=
rmal">Linux backtrace:<u></u><u></u></p><p class=3D"MsoNormal"><u></u>=C2=
=A0<u></u></p><p class=3D"MsoNormal">#0=C2=A0 0x00007ffff66a05bb in ____wcs=
tod_l_internal<u></u><u></u></p><p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0 (=
nptr=3D0x7fffff7ff450 L&quot;&quot;, endptr=3D0x7fffff7ff3c0, group=3D0, lo=
c=3D0x7ffff67c94c0 &lt;_nl_global_locale&gt;) at ../stdlib/strtod_l.c:509<u=
></u><u></u></p><p class=3D"MsoNormal">#1=C2=A0 0x00007ffff7e2bbe4 in wxStr=
ing::ToDouble(double*) const ()<u></u><u></u></p><p class=3D"MsoNormal">=C2=
=A0=C2=A0=C2=A0 at /home/yam/audacity/bld/bin/Debug/lib/audacity/libwx_base=
u-3.1.so.3<u></u><u></u></p><p class=3D"MsoNormal">#2=C2=A0 0x00005555569d6=
257 in SelectionBar::OnRate(wxCommandEvent&amp;) (this=3D0x555557eee160)<u>=
</u><u></u></p><p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0 at /home/yam/audac=
ity/src/toolbars/SelectionBar.cpp:740<u></u><u></u></p><p class=3D"MsoNorma=
l"><u></u>=C2=A0<u></u></p><p class=3D"MsoNormal">In audacity.cfg, DefaultP=
rojectSampleRate on Windows:<u></u><u></u></p><p class=3D"MsoNormal"><u></u=
>=C2=A0<u></u></p><p class=3D"MsoNormal">[SamplingRate]<u></u><u></u></p><p=
 class=3D"MsoNormal">DefaultProjectSampleRate=3D-2147483648<u></u><u></u></=
p><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p><p class=3D"MsoNormal">On =
Linux:<u></u><u></u></p><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p><p c=
lass=3D"MsoNormal">[SamplingRate]<u></u><u></u></p><p class=3D"MsoNormal">D=
efaultProjectSampleRate=3D0<u></u><u></u></p><p class=3D"MsoNormal"><u></u>=
=C2=A0<u></u></p><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p><div style=
=3D"border-color:rgb(225,225,225) currentcolor currentcolor;border-style:so=
lid none none;border-width:1pt medium medium;padding:3pt 0in 0in"><p class=
=3D"MsoNormal"><b>From:</b> Paul Licameli &lt;<a href=3D"mailto:paul.licame=
[email protected]" target=3D"_blank">[email protected]</a>&gt; <br><b>Sent=
:</b> Tuesday, May 18, 2021 10:38 AM<br><b>To:</b> Audacity-Devel list &lt;=
<a href=3D"mailto:[email protected]" target=3D"_blank">a=
[email protected]</a>&gt;<br><b>Subject:</b> Re: [Audacit=
y-devel] Audacity crashes on Launch<u></u><u></u></p></div><p class=3D"MsoN=
ormal"><u></u>=C2=A0<u></u></p><div><div><p class=3D"MsoNormal">Recent chan=
ges of mine may have caused Bug2880 to regress. <a href=3D"https://bugzilla=
.audacityteam.org/show_bug.cgi?id=3D2280" target=3D"_blank">https://bugzill=
a.audacityteam.org/show_bug.cgi?id=3D2280</a><u></u><u></u></p></div><div><=
p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p></div><div><p class=3D"MsoNor=
mal" style=3D"margin-bottom:12pt">Is there now a too-early call to AudioIOB=
ase::GetOptimalSupportedSampleRate causing trouble on Linux?<u></u><u></u><=
/p></div><div><p class=3D"MsoNormal" style=3D"margin-bottom:12pt">PRL<u></u=
><u></u></p></div></div><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p><div=
><div><p class=3D"MsoNormal">On Tue, May 18, 2021 at 11:34 AM Paul Licameli=
 &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">paul.lica=
[email protected]</a>&gt; wrote:<u></u><u></u></p></div><blockquote style=3D"b=
order-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-=
style:none none none solid;border-width:medium medium medium 1pt;padding:0i=
n 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"><div><div><p class=3D"Mso=
Normal">Peter, did you correctly identify the last known good alpha in the =
Bugzilla comment?<u></u><u></u></p></div><div><p class=3D"MsoNormal"><u></u=
>=C2=A0<u></u></p></div><div><p class=3D"MsoNormal">PRL<u></u><u></u></p></=
div><div><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p></div></div><p clas=
s=3D"MsoNormal"><u></u>=C2=A0<u></u></p><div><div><p class=3D"MsoNormal">On=
 Tue, May 18, 2021 at 11:33 AM Peter Sampson &lt;<a href=3D"mailto:petersam=
[email protected]" target=3D"_blank">[email protected]</a=
>&gt; wrote:<u></u><u></u></p></div><blockquote style=3D"border-color:curre=
ntcolor currentcolor currentcolor rgb(204,204,204);border-style:none none n=
one solid;border-width:medium medium medium 1pt;padding:0in 0in 0in 6pt;mar=
gin-left:4.8pt;margin-right:0in"><div><div><p class=3D"MsoNormal">On Mac it=
 does relaunch OK<u></u><u></u></p></div><div><p class=3D"MsoNormal"><u></u=
>=C2=A0<u></u></p></div><div><p class=3D"MsoNormal">But the the audaity.cfg=
 I see no entry for<u></u><u></u></p></div><div><p class=3D"MsoNormal">&gt;=
[SamplingRate]<br>&gt;DefaultProjectSampleRate=3D ... <u></u><u></u></p></d=
iv><div><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p></div><div><p class=
=3D"MsoNormal">But the Project rate at bottom left shows as 44100<u></u><u>=
</u></p></div><div><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p></div><di=
v><p class=3D"MsoNormal">Peter.<u></u><u></u></p></div><div><p class=3D"Mso=
Normal"><u></u>=C2=A0<u></u></p></div><div><p class=3D"MsoNormal"><u></u>=
=C2=A0<u></u></p></div></div><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p=
><div><div><p class=3D"MsoNormal">On Tue, May 18, 2021 at 4:13 PM Peter Sam=
pson &lt;<a href=3D"mailto:[email protected]" target=3D"_blank=
">[email protected]</a>&gt; wrote:<u></u><u></u></p></div><blo=
ckquote style=3D"border-color:currentcolor currentcolor currentcolor rgb(20=
4,204,204);border-style:none none none solid;border-width:medium medium med=
ium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"><div><d=
iv><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p></div><p class=3D"MsoNorm=
al"><u></u>=C2=A0<u></u></p><div><div><p class=3D"MsoNormal">On Tue, May 18=
, 2021 at 4:07 PM Steve Fiddle &lt;<a href=3D"mailto:[email protected]=
om" target=3D"_blank">[email protected]</a>&gt; wrote:<u></u><u></u>=
</p></div><blockquote style=3D"border-color:currentcolor currentcolor curre=
ntcolor rgb(204,204,204);border-style:none none none solid;border-width:med=
ium medium medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-righ=
t:0in"><p class=3D"MsoNormal">@ Peter,<br><br>Open your audacity.cfg file i=
n a text editor, and change:<br>[SamplingRate]<br>DefaultProjectSampleRate=
=3D0<br><br>to:<br>[SamplingRate]<br>DefaultProjectSampleRate=3D44100<u></u=
><u></u></p></blockquote><div><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></=
p></div><div><p class=3D"MsoNormal">With these two latest alphas I don;t se=
e a <u></u><u></u></p></div><div><p class=3D"MsoNormal"><u></u>=C2=A0<u></u=
></p></div><div><p class=3D"MsoNormal">&gt;[SamplingRate]<br>&gt;DefaultPro=
jectSampleRate=3D ... <u></u><u></u></p></div><div><p class=3D"MsoNormal"><=
u></u>=C2=A0<u></u></p></div><div><p class=3D"MsoNormal">For 3.0.2 I do see=
<u></u><u></u></p></div><div><p class=3D"MsoNormal">&gt;[SamplingRate]<br>&=
gt;DefaultProjectSampleRate=3D44100<u></u><u></u></p></div><div><p class=3D=
"MsoNormal"><u></u>=C2=A0<u></u></p></div><div><p class=3D"MsoNormal">Peter=
.<u></u><u></u></p></div><div><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></=
p></div><div><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p></div><blockquo=
te style=3D"border-color:currentcolor currentcolor currentcolor rgb(204,204=
,204);border-style:none none none solid;border-width:medium medium medium 1=
pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"><p class=3D"=
MsoNormal"><br>Audacity will then probably launch.<br><br>Steve<br><br>On T=
ue, 18 May 2021 at 15:59, Peter Sampson<br>&lt;<a href=3D"mailto:petersamps=
[email protected]" target=3D"_blank">[email protected]</a>&=
gt; wrote:<br>&gt;<br>&gt; Testing on W10 with Audacity 3.0.3 ea04eef<br>&g=
t;<br>&gt; 1) clear Audacity settings folder<br>&gt; 2) launch Audacity 3.0=
.3 ea04eef<br>&gt; 3) Observe: launches fine<br>&gt; 4) Exit<br>&gt; 5) Rel=
aunch: Audacity 3.0.3 ea04eef<br>&gt; 6) Observe Audacity fails to launch<b=
r>&gt;<br>&gt; In fact at Step 5 none of my 3.x Audacities will launch.<br>=
&gt;<br>&gt; Peter.<br>&gt;<br>&gt; On Tue, May 18, 2021 at 3:50 PM Steve F=
iddle &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">ste=
[email protected]</a>&gt; wrote:<br>&gt;&gt;<br>&gt;&gt; First run give=
s an assert:<br>&gt;&gt; src/widgets/FileConfig.cpp(98): assert &quot;mDirt=
y =3D=3D false&quot; failed in<br>&gt;&gt; ~FileConfig().<br>&gt;&gt;<br>&g=
t;&gt; Backtrace:<br>&gt;&gt;<br>&gt;&gt; [1] FileConfig::~FileConfig()<br>=
&gt;&gt; [2] AudacityFileConfig::~AudacityFileConfig()<br>&gt;&gt; [3] Auda=
cityFileConfig::~AudacityFileConfig()<br>&gt;&gt; [4] std::default_delete&l=
t;AudacityFileConfig&gt;::operator()(AudacityFileConfig*)<br>&gt;&gt; const=
<br>&gt;&gt; [5] std::unique_ptr&lt;AudacityFileConfig,<br>&gt;&gt; std::de=
fault_delete&lt;AudacityFileConfig&gt; &gt;::~unique_ptr()<br>&gt;&gt; [6] =
PluginManager::Load()<br>&gt;&gt; [7] PluginManager::Initialize()<br>&gt;&g=
t; [8] AudacityApp::InitPart2()<br>&gt;&gt; [9] AudacityApp::OnInit()<br>&g=
t;&gt; [10] wxAppConsoleBase::CallOnInit()<br>&gt;&gt; [11] wxEntry(int&amp=
;, wchar_t**)<br>&gt;&gt; [12] wxEntry(int&amp;, char**)<br>&gt;&gt; [13] m=
ain<br>&gt;&gt; [14] __libc_start_main<br>&gt;&gt; [15] _start<br>&gt;&gt; =
--------------------------------<br>&gt;&gt; Second run crashes:<br>&gt;&gt=
;<br>&gt;&gt; ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards=
.pcm.rear<br>&gt;&gt; ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown P=
CM cards.pcm.center_lfe<br>&gt;&gt; ALSA lib pcm.c:2642:(snd_pcm_open_noupd=
ate) Unknown PCM cards.pcm.side<br>&gt;&gt; ALSA lib pcm_route.c:869:(find_=
matching_chmap) Found no matching channel map<br>&gt;&gt; ALSA lib pcm_rout=
e.c:869:(find_matching_chmap) Found no matching channel map<br>&gt;&gt; ALS=
A lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map<b=
r>&gt;&gt; ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching=
 channel map<br>&gt;&gt; Cannot connect to server socket err =3D No such fi=
le or directory<br>&gt;&gt; Cannot connect to server request channel<br>&gt=
;&gt; jack server is not running or cannot be started<br>&gt;&gt; JackShmRe=
adWritePtr::~JackShmReadWritePtr - Init not done for -1,<br>&gt;&gt; skippi=
ng unlock<br>&gt;&gt; JackShmReadWritePtr::~JackShmReadWritePtr - Init not =
done for -1,<br>&gt;&gt; skipping unlock<br>&gt;&gt; Cannot connect to serv=
er socket err =3D No such file or directory<br>&gt;&gt; Cannot connect to s=
erver request channel<br>&gt;&gt; jack server is not running or cannot be s=
tarted<br>&gt;&gt; JackShmReadWritePtr::~JackShmReadWritePtr - Init not don=
e for -1,<br>&gt;&gt; skipping unlock<br>&gt;&gt; JackShmReadWritePtr::~Jac=
kShmReadWritePtr - Init not done for -1,<br>&gt;&gt; skipping unlock<br>&gt=
;&gt; ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port<br>&gt;=
&gt; ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port<br>&gt;&=
gt; ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type f=
or card<br>&gt;&gt; ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open=
) Invalid type for card<br>&gt;&gt; Cannot connect to server socket err =3D=
 No such file or directory<br>&gt;&gt; Cannot connect to server request cha=
nnel<br>&gt;&gt; jack server is not running or cannot be started<br>&gt;&gt=
; JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1,<br>&gt;=
&gt; skipping unlock<br>&gt;&gt; JackShmReadWritePtr::~JackShmReadWritePtr =
- Init not done for -1,<br>&gt;&gt; skipping unlock<br>&gt;&gt; 15:45:24: D=
ebug: ScreenToClient cannot work when toplevel window is not shown<br>&gt;&=
gt; 15:45:24: Debug: ScreenToClient cannot work when toplevel window is not=
 shown<br>&gt;&gt; 15:45:24: Debug: ScreenToClient cannot work when topleve=
l window is not shown<br>&gt;&gt; 15:45:24: Debug: ScreenToClient cannot wo=
rk when toplevel window is not shown<br>&gt;&gt; 15:45:24: Debug: ScreenToC=
lient cannot work when toplevel window is not shown<br>&gt;&gt; 15:45:24: D=
ebug: ScreenToClient cannot work when toplevel window is not shown<br>&gt;&=
gt; 15:45:24: Debug: ScreenToClient cannot work when toplevel window is not=
 shown<br>&gt;&gt; 15:45:24: Debug: ScreenToClient cannot work when topleve=
l window is not shown<br>&gt;&gt; 15:45:24: Debug: ScreenToClient cannot wo=
rk when toplevel window is not shown<br>&gt;&gt; Expression &#39;stream-&gt=
;playback.pcm&#39; failed in<br>&gt;&gt; &#39;/home/steve/Sourcecode/audaci=
ty/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c&#39;,<br>&gt;&gt;=
 line: 4628<br>&gt;&gt; Expression &#39;stream-&gt;playback.pcm&#39; failed=
 in<br>&gt;&gt; &#39;/home/steve/Sourcecode/audacity/lib-src/portaudio-v19/=
src/hostapi/alsa/pa_linux_alsa.c&#39;,<br>&gt;&gt; line: 4628<br>&gt;&gt; E=
xpression &#39;stream-&gt;playback.pcm&#39; failed in<br>&gt;&gt; &#39;/hom=
e/steve/Sourcecode/audacity/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux=
_alsa.c&#39;,<br>&gt;&gt; line: 4628<br>&gt;&gt; Expression &#39;stream-&gt=
;playback.pcm&#39; failed in<br>&gt;&gt; &#39;/home/steve/Sourcecode/audaci=
ty/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c&#39;,<br>&gt;&gt;=
 line: 4628<br>&gt;&gt; Expression &#39;stream-&gt;playback.pcm&#39; failed=
 in<br>&gt;&gt; &#39;/home/steve/Sourcecode/audacity/lib-src/portaudio-v19/=
src/hostapi/alsa/pa_linux_alsa.c&#39;,<br>&gt;&gt; line: 4628<br>&gt;&gt; E=
xpression &#39;stream-&gt;playback.pcm&#39; failed in<br>&gt;&gt; &#39;/hom=
e/steve/Sourcecode/audacity/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux=
_alsa.c&#39;,<br>&gt;&gt; line: 4628<br>&gt;&gt; Expression &#39;stream-&gt=
;playback.pcm&#39; failed in<br>&gt;&gt; &#39;/home/steve/Sourcecode/audaci=
ty/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c&#39;,<br>&gt;&gt;=
 line: 4628<br>&gt;&gt; Expression &#39;stream-&gt;playback.pcm&#39; failed=
 in<br>&gt;&gt; &#39;/home/steve/Sourcecode/audacity/lib-src/portaudio-v19/=
src/hostapi/alsa/pa_linux_alsa.c&#39;,<br>&gt;&gt; line: 4628<br>&gt;&gt; 1=
5:45:24: Debug: ScreenToClient cannot work when toplevel window is not show=
n<br>&gt;&gt; Segmentation fault (core dumped)<br>&gt;&gt; ----------------=
----------------<br>&gt;&gt;<br>&gt;&gt; Steve<br>&gt;&gt;<br>&gt;&gt; On T=
ue, 18 May 2021 at 14:35, Steve Fiddle &lt;<a href=3D"mailto:stevethefiddle=
@gmail.com" target=3D"_blank">[email protected]</a>&gt; wrote:<br>&g=
t;&gt; &gt;<br>&gt;&gt; &gt; Tested on Linux with 3.0.3 ea04ee<br>&gt;&gt; =
&gt;<br>&gt;&gt; &gt; If I remove:<br>&gt;&gt; &gt; audacity.cfg<br>&gt;&gt=
; &gt; pluginsettings.cfg<br>&gt;&gt; &gt; pluginregistry.cfg<br>&gt;&gt; &=
gt;<br>&gt;&gt; &gt; then Audacity will launch without error.<br>&gt;&gt; &=
gt;<br>&gt;&gt; &gt; If I then exit and try launching again, Audacity crash=
es:<br>&gt;&gt; &gt; &quot;Segmentation fault (core dumped)&quot;<br>&gt;&g=
t; &gt;<br>&gt;&gt; &gt; Steve<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; ________=
_______________________________________<br>&gt;&gt; audacity-devel mailing =
list<br>&gt;&gt; <a href=3D"mailto:[email protected]" ta=
rget=3D"_blank">[email protected]</a><br>&gt;&gt; <a hre=
f=3D"https://lists.sourceforge.net/lists/listinfo/audacity-devel" target=3D=
"_blank">https://lists.sourceforge.net/lists/listinfo/audacity-devel</a><br=
>&gt;<br>&gt; _______________________________________________<br>&gt; audac=
ity-devel mailing list<br>&gt; <a href=3D"mailto:[email protected]=
eforge.net" target=3D"_blank">[email protected]</a><br>&=
gt; <a href=3D"https://lists.sourceforge.net/lists/listinfo/audacity-devel"=
 target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/audacity-de=
vel</a><u></u><u></u></p></blockquote></div></div></blockquote></div><p cla=
ss=3D"MsoNormal">_______________________________________________<br>audacit=
y-devel mailing list<br><a href=3D"mailto:[email protected].=
net" target=3D"_blank">[email protected]</a><br><a href=
=3D"https://lists.sourceforge.net/lists/listinfo/audacity-devel" target=3D"=
_blank">https://lists.sourceforge.net/lists/listinfo/audacity-devel</a><u><=
/u><u></u></p></blockquote></div></blockquote></div></div></div>___________=
____________________________________<br>
audacity-devel mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">a=
[email protected]</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/audacity-devel" rel=
=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/listi=
nfo/audacity-devel</a><br>
</blockquote></div>
</blockquote></div>

--000000000000e27f2d05c29e84c8--


--===============8699858997261339822==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============8699858997261339822==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
audacity-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-devel

--===============8699858997261339822==--