Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assert fail in debug #279

Open
edward9112 opened this issue Nov 29, 2024 · 2 comments
Open

Assert fail in debug #279

edward9112 opened this issue Nov 29, 2024 · 2 comments

Comments

@edward9112
Copy link

edward9112 commented Nov 29, 2024

Hello Ihar!

During testing, I see assert fails in debug mode; they happen sporadically, sometimes when I reload the library, sometimes just out of the blue. I am attaching the assert window image. Also, when it happens the library totally loses it's mind and generates 1000s of false detected objects on every frame.

assert_fail
@ermig1979
Copy link
Owner

Hi!
By default Simd function SimdAllocate allocates aligned memory buffer with added regions before and after of main block and fills this regions by special control value (0x55). After memory deleting by function SimdFree in debug mode there is checking for memory writting beyond the borders of the main block by cheking of this control value.
If you receive this messages this means that it may be:

  1. Error in some of Simd functions,
  2. Any 3-rd party algorithm corrupts memory
  3. You use wrong parameters for Simd Algorithms.
    Any way I can't tell exact reason with out of more information.

@edward9112
Copy link
Author

Well noted, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants