Crashing the REPL with big numbers

My 9 years old son is learning Julia (he is loving it!). He is especially fascinated by huge numbers. He recently found a crashing bug that breaks the REPL under OSX from v0.5 to current master. The following

julia> big(1000000000) ^ 1000000000000000
gmp: overflow in mpz type

signal (6): Abort trap: 6
while loading no file, in expression starting on line 0
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Allocations: 1086954 (Pool: 1085842; Big: 1112); GC: 0

[Process completed]

crashes the REPL instead of throwing an overflow Error.

2 Likes

https://github.com/JuliaLang/julia/issues/8286

Yep, that’s exactly it. Sorry for the duplicate!