BUG: divide by zero causes 100% cpu lock

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

BUG: divide by zero causes 100% cpu lock

Triffid Hunter
Hi,

The following code snippet produces a lock with 100% cpu usage:

a = sin(1 / 0)

using commit 3572251, compiling current head right now.

interestingly, a = 1 / 0 causes no problem, but:

a = 1 / 0
b = sin(a)

also triggers the bug
Reply | Threaded
Open this post in threaded view
|

Re: BUG: divide by zero causes 100% cpu lock

kintel
Administrator
On Jan 8, 2012, at 10:18 AM, Triffid Hunter wrote:
>
> The following code snippet produces a lock with 100% cpu usage:
>
> a = sin(1 / 0)
>
Thanks for the report. This is fixed in master now.

 -Marius