raysan5/rfxgen

App crash when Delta Slide value is less than 0 and Min Frequency value is greater than 0.30 (100% reproducible)

AliElSaleh opened this issue · 8 comments

This bug is 100% reproducible, follow these steps:

  1. Open rfxgen.exe
  2. Increase Min frequency value greater or equal to 0.30
  3. Decrease Delta Slide value below 0
  4. CRASH!

did you compile latest sources? it should be already corrected...

I believe I did. I just cloned the repo and ran the program today. Did you test this bug with the latest source?

Hi @AliElSaleh, yes, you're right. I already worked on a very similar bug some time ago...

Issue seems related to raudio, raylib audio module, some parameters caused a division by 0 on a buffer.

Corrected in commit raysan5/raylib@d7fd6e0.

Please, let me know if it works.

The issue is still there. Can you rebuild the release applications so I can test it?

@AliElSaleh Sorry, I'm a bit confused... how did you test rfxgen to report this issue? I mean, the only possible way is recompiling the program yourself, the available rfxgen.exe is almost one year old.

I've compiled from the latest sources and the issue has been fixed. Thanks!

Thanks for reporting! :)