divide by zero result passed to function causes 100% cpu lock

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

divide by zero result passed to function causes 100% cpu lock

Triffid Hunter
Hi,

Thanks for all the excellent work that's gone into openscad! I use it almost every day and it gets better and better :)

I have discovered a bug that causes it to hard-lock and consume 100% cpu:

the simplest test case is:
a = sin(1 / 0);

Interestingly,
b = 1 / 0;
does not trigger the bug however adding
c = sin(b);
will trigger it

happy bug hunting!

-Triffid Hunter