[opus] opus library issues

Leonid Shigris LeonidS at riscogroup.com
Tue Jun 4 10:40:28 UTC 2024


Hi Greg,

Attached my opus config.

As you suggested not to use VLA, what changes are required in configurations?



Pls advise,

Kind Regards, 
Leonid Shigris
RT Engineer

Email: LeonidS at riscogroup.com

-----Original Message-----
From: Greg Maxwell <gmaxwell at gmail.com> 
Sent: Tuesday, 4 June 2024 13:31
To: Leonid Shigris <LeonidS at riscogroup.com>
Cc: Timothy B. Terriberry <tterribe at xiph.org>; opus at xiph.org
Subject: Re: [opus] opus library issues

[You don't often get email from gmaxwell at gmail.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

Many people have run opus on small embedded devices.  It may be the case that your VLA support isn't providing enough stack.  You may want to try using the pseudostack mode which will instead put that memory on the heap and give you better control over making sure you have enough available.

On Tue, Jun 4, 2024 at 10:28 AM Leonid Shigris <LeonidS at riscogroup.com> wrote:
>
> Hi Timothy,
>
> Because I don't see any memory overflow, remains only any memory corruption and for sure it happens inside the library.
>
> Has anyone managed to run this library on embedded systems such as STM32, NXP IMXRT1060? By using opus_demo code (decoding part)?
>
>
> Pls advise,
>
> Kind Regards,
> Leonid Shigris
> RT Engineer
>
> Email: LeonidS at riscogroup.com
>
>
> -----Original Message-----
> From: opus <opus-bounces at xiph.org> On Behalf Of Timothy B. Terriberry
> Sent: Tuesday, 4 June 2024 13:17
> To: opus at xiph.org
> Subject: Re: [opus] opus library issues
>
> [You don't often get email from tterribe at xiph.org. Learn why this is 
> important at https://aka.ms/LearnAboutSenderIdentification ]
>
> Leonid Shigris wrote:
> > Is there a situation thatsilk frame corruption causes to system crash?
>
> The library is able to decode corrupt frames without crashing.
> _______________________________________________
> opus mailing list
> opus at xiph.org
> https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists
> .xiph.org%2Fmailman%2Flistinfo%2Fopus&data=05%7C02%7CLeonidS%40riscogr
> oup.com%7C865f927dc4184eb1c1f708dc8481825b%7Ce76b724084814694bfc77d157
> 2a40711%7C0%7C0%7C638530938991071671%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiM
> C4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C60000%7C%7
> C%7C&sdata=LIX9b0PyWoo5GtwmdYRf2BRqO3rb4ilbeihLsAZe3Ng%3D&reserved=0
> _______________________________________________
> opus mailing list
> opus at xiph.org
> https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists
> .xiph.org%2Fmailman%2Flistinfo%2Fopus&data=05%7C02%7CLeonidS%40riscogr
> oup.com%7C865f927dc4184eb1c1f708dc8481825b%7Ce76b724084814694bfc77d157
> 2a40711%7C0%7C0%7C638530938991082353%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiM
> C4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C60000%7C%7
> C%7C&sdata=mgvz4LvaLKJo2aUdgsLzHuQ4mYlGooPLV6Ue8hyVXjc%3D&reserved=0
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: opus_config.h
URL: <http://lists.xiph.org/pipermail/opus/attachments/20240604/d4708c5a/attachment-0002.h>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: stack_alloc.h
URL: <http://lists.xiph.org/pipermail/opus/attachments/20240604/d4708c5a/attachment-0003.h>


More information about the opus mailing list