chuck icon indicating copy to clipboard operation
chuck copied to clipboard

miniAudicle crashes when an integer is divided by zero

Open vladimir-kazakov opened this issue 8 years ago • 6 comments

The following line of code reproduces the issue:

<<< 2 / 0 >>>;

miniAudicle: 1.3.5.2 (the About dialog says: 1.3.5.2-beta-3 (chimera) 32-bit). OS: Windows 10 Pro, 64-bit.

vladimir-kazakov avatar Feb 06 '16 19:02 vladimir-kazakov

Thanks Vladimir! We will look in to this further.

spencersalazar avatar Feb 23 '16 23:02 spencersalazar

MiniAudicle crashes on Debian8 with same case.

Arseniusz avatar Mar 05 '16 01:03 Arseniusz

The <<< 2 / 0 >>>; bug is still there. Using miniAudicle version 1.3.5.2 (gidora) git: a8d59b9 on a Mac...

jack461 avatar Feb 07 '17 20:02 jack461

This was fixed in 7d8e54a861bfe84d1637177d3a1b1cf46182b36f, which is in master and will be in miniAudicle the next time a new version of ChucK is associated with the miniAudicle build. For now, I think that building ChucK / miniAudicle yourself should eliminate this behavior.

lathertonj avatar Feb 07 '17 23:02 lathertonj

Checks 7d8e54a and sees unit tests were added. 😭 (tears of joy) Thanks @lathertonj!

Given this bug was opened over a year ago, are there any plans to get this fix out publicly?

markcerqueira avatar Feb 07 '17 23:02 markcerqueira

I'm down to put together a release (and work towards documenting + generalizing the release process so anyone else or CI can build releases) within the next month or so.

spencersalazar avatar Feb 08 '17 22:02 spencersalazar