Re: "Perfect" MP3 fails to import

James Crook <[email protected]> Thu, 15 Apr 2021 13:27:34 +0100
Newsgroups gmane.comp.audio.audacity.devel
Message-ID <CAMe=4ittaBWpxtFTWKxUrvteEuDUAEw1G34QSky=Q9VQtiwzeA@mail.gmail.com>
It's the same infinite loop as JUCE had:

https://forum.juce.com/t/ogg-vorbis-file-puts-juce-oggreader-in-infinite-loop/41148

So will be fixed if we upgrade to 1.3.7 or later.

On Thu, 15 Apr 2021 at 13:00, James Crook <[email protected]> wrote:

> On both 3.0.2 and 2.4.2 it's stuck in library file, vorbisfile.c
>
> static int _fseek64_wrap(FILE *f,ogg_int64_t off,int whence){
>   if(f==NULL)return(-1);
>   return fseek(f,off,whence);
> }
>
> 'off' and 'whence' are both zero ( SEEK_SET ==0, SEEK_CUR==1,
> SEEK_END==2).  We're compiled 32 bit on windows.  Anyone know if it hangs
> on mac/linux (compiled 64 bit) too?
>
> --James.
>
>
> On Thu, 15 Apr 2021 at 12:31, James Crook <[email protected]> wrote:
>
>> Confirmed freezes for me on Windows.
>>
>> On Thu, 15 Apr 2021 at 12:20, Steve Fiddle <[email protected]>
>> wrote:
>>
>>> And by "coincidence" (?), a problem reported importing this ogg file:
>>>
>>> https://upload.wikimedia.org/wikipedia/commons/0/0f/Claude_Debussy_-_Premi%C3%A8re_Arabesque_-_Patrizia_Prati.ogg
>>>
>>> As with the MP3 file, it can be imported if you select the
>>> "FFmpeg-compatible files" filter, but in this case, using Audacity's native
>>> OGG importer causes Audacity to freeze on both Windows and Linux (not
>>> tested on macOS).
>>>
>>> I don't like coincidences as they may be indicating a deeper problem.
>>>
>>> Steve
>>>
>>> On Thu, 15 Apr 2021 at 12:01, Steve Fiddle <[email protected]>
>>> wrote:
>>>
>>>> I've tested the attached file with multiple tools in Linux and it
>>>> appears to be perfectly formed, yet Audacity still complains that it is
>>>> malformed and refuses to import it.
>>>>
>>>> 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