Re: Audacity 3.0.2 freezes with 100% cpu on importing an Ogg file

Peter Sampson <[email protected]> Wed, 19 May 2021 13:43:02 +0100
Newsgroups gmane.comp.audio.audacity.devel
Message-ID <CAD50V8wVhUAMF1nYhmYrhr5yXbKPNewoBcLWyKKJaHaVfHAkBA@mail.gmail.com>
--===============0269032856016131391==
Content-Type: multipart/alternative; boundary="00000000000069e1de05c2ae2c7a"

--00000000000069e1de05c2ae2c7a
Content-Type: text/plain; charset="UTF-8"

On Wed, May 19, 2021 at 1:12 PM Steve Fiddle <[email protected]>
wrote:

>
>
> On Wed, 19 May 2021 at 12:21, Peter Sampson <
> [email protected]> wrote:
>
>>
>>
>> On Tue, May 18, 2021 at 11:14 PM Peter Sampson <
>> [email protected]> wrote:
>>
>>> I have a stereo ogg file that James supplied me with a while back.
>>>
>>> It imports fine, on W10, into 3.0.2 and latest alpha Audacity 3.0.3
>>> b1f05e5
>>>
>>
>> Also imports fine on macOS 11.3.1 Big Sur with 3.0.2 and Audacity 3.0.0
>> 97c4a38
>>
>
> Is that the "coverTest.ogg" file?
> (from: https://www.dropbox.com/s/iy0dtqq3slzofsv/coverTest.ogg?dl=0)
>

No it's an ogg file that James supplied me with a while back (Didgerdoo
music).

I also tested ogg import/export on Win and Mac as part of my 3.x speed
tests.

Peter.



> On Linux, that fails for me in  Audacity 3.0.2 but imports correctly into
> 3.0.3 b1f05e
>
> Steve
>
>
>>
>> Peter,
>>
>>
>>
>>> Peter.
>>>
>>>
>>> On Tue, May 18, 2021 at 9:43 PM Steve Fiddle <[email protected]>
>>> wrote:
>>>
>>>> This looks like Bug 2748 - Ogg decoding can hang (old vorbis library)
>>>>
>>>> The problem is described below, but the file imports correctly into the
>>>> Audacity 3.0.3 alpha b1f05e
>>>> Has it been fixed?
>>>>
>>>> Audacity 3.0.2 release build.
>>>> Xubuntu 20.04 LTS.
>>>>
>>>> The file:
>>>>
>>>> Format                                   : Ogg
>>>> File size                                : 14.9 MiB
>>>> Duration                                 : 4 min 52 s
>>>> Overall bit rate mode                    : Variable
>>>> Overall bit rate                         : 426 kb/s
>>>> Writing application                      : ffmpeg2theora-0.23
>>>>
>>>> Audio
>>>> ID                                       : 30788 (0x7844)
>>>> Format                                   : Vorbis
>>>> Format settings, Floor                   : 1
>>>> Duration                                 : 4 min 52 s
>>>> Bit rate mode                            : Variable
>>>> Bit rate                                 : 500 kb/s
>>>> Channel(s)                               : 2 channels
>>>> Sampling rate                            : 48.0 kHz
>>>> Compression mode                         : Lossy
>>>> Stream size                              : 17.5 MiB
>>>> Writing library                          : aoTuV Beta 5 (UTC 2006-10-24)
>>>>
>>>> Looking in "/var/tmp/audacity-steve/" neither the .aup3unsaved or
>>>> .aup3unsaved-wal are increasing in size, but Audacity is thrashing one CPU
>>>> core at 100%.
>>>>
>>>> The file plays correctly in other apps.
>>>>
>>>> Testing a short Ogg file created with Audacity does not have this
>>>> problem.
>>>>
>>>> Some info about aoTuV here:
>>>> https://wiki.hydrogenaud.io/index.php?title=AoTuV
>>>>
>>>> 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
>>
>

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

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Wed, May 19, 2021 at 1:12 PM Steve=
 Fiddle &lt;<a href=3D"mailto:[email protected]">stevethefiddle@gmai=
l.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:=
1ex"><div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_qu=
ote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, 19 May 2021 at 12:21, Pe=
ter Sampson &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 so=
lid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><b=
r></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr=
">On Tue, May 18, 2021 at 11:14 PM Peter Sampson &lt;<a href=3D"mailto:pete=
[email protected]" target=3D"_blank">[email protected]=
m</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin=
:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"=
><div dir=3D"ltr"><div>I have a stereo ogg file that James supplied me with=
 a while back.</div><div><br></div><div>It imports fine, on W10, into 3.0.2=
 and latest alpha Audacity 3.0.3 b1f05e5</div></div></blockquote><div><br><=
/div><div>Also imports fine on macOS 11.3.1 Big Sur with 3.0.2 and Audacity=
 3.0.0 97c4a38</div></div></div></blockquote><div><br></div><div>Is that th=
e &quot;coverTest.ogg&quot; file?</div><div>(from: <a href=3D"https://www.d=
ropbox.com/s/iy0dtqq3slzofsv/coverTest.ogg?dl=3D0" target=3D"_blank">https:=
//www.dropbox.com/s/iy0dtqq3slzofsv/coverTest.ogg?dl=3D0</a>)</div></div></=
div></blockquote><div><br></div><div>No it&#39;s an ogg file that James sup=
plied me with a while back (Didgerdoo music).</div><div><br></div><div>I al=
so tested ogg import/export on Win and Mac as part of my 3.x speed tests.</=
div><div><br></div><div>Peter.</div><div><br></div><div><br></div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px =
solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div class=3D"gma=
il_quote"><div><br></div><div>On Linux, that fails for me in=C2=A0 Audacity=
 3.0.2 but imports correctly into 3.0.3 b1f05e</div><div><br></div><div>Ste=
ve<br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1=
ex"><div dir=3D"ltr"><div class=3D"gmail_quote"><div><br></div><div>Peter,<=
/div><div><br></div><div><br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex"><div dir=3D"ltr"><div><br></div><div>Peter.</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 9:43 PM Steve Fiddle &lt;<a href=3D"mailto:stevethe=
[email protected]" target=3D"_blank">[email protected]</a>&gt; wrote:=
<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr=
"><div>This looks like Bug 2748 - Ogg decoding can hang (old vorbis library=
) <br></div><div><br></div><div></div><div>The problem is described below, =
but the file imports correctly into the Audacity 3.0.3 alpha b1f05e</div><d=
iv>Has it been fixed?</div><div><br></div><div>Audacity 3.0.2 release build=
.</div>Xubuntu 20.04 LTS.<br><br>The file:<br><span style=3D"font-family:mo=
nospace"><br>Format =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : Ogg<br>Fi=
le size =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: 14.9 MiB<br>Duration =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : 4 min 52 s<br>Overall bit rate mode =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: Variabl=
e<br>Overall bit rate =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : 426 kb/s<br>Writing application =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: ffmp=
eg2theora-0.23<br><br>Audio<br>ID =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 : 30788 (0x7844)<br>Format =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 : Vorbis<br>Format settings, Floor =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : 1<br>Duration =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 : 4 min 52 s<br>Bit rate mode =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: =
Variable<br>Bit rate =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : 500 kb/s<br>C=
hannel(s) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : 2 channels<br>Sampling rate =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0: 48.0 kHz<br>Compression mode =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : Lossy<br>Stre=
am size =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: 17.5 MiB<br></span><div><span style=
=3D"font-family:monospace">Writing library =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: aoTuV Beta 5 (=
UTC 2006-10-24)</span></div><div><br></div><div>Looking in &quot;/var/tmp/a=
udacity-steve/&quot; neither the .aup3unsaved or .aup3unsaved-wal are incre=
asing in size, but Audacity is thrashing one CPU core at 100%.<br></div><di=
v><br></div><div>The file plays correctly in other apps.</div><div><br></di=
v><div>Testing a short Ogg file created with Audacity does not have this pr=
oblem.</div><div><br></div><div>Some info about aoTuV here: <a href=3D"http=
s://wiki.hydrogenaud.io/index.php?title=3DAoTuV" target=3D"_blank">https://=
wiki.hydrogenaud.io/index.php?title=3DAoTuV</a></div><div><br></div><div>St=
eve<br></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></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></div>
</blockquote></div></div>

--00000000000069e1de05c2ae2c7a--


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


--===============0269032856016131391==
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

--===============0269032856016131391==--