# Crashing the REPL with big numbers

**URL:** <https://discourse.julialang.org/t/crashing-the-repl-with-big-numbers/5524>\
**Category:** Internals & Design\
**Created:** [August 23, 2017, 10:59am UTC](https://discourse.julialang.org/t/crashing-the-repl-with-big-numbers/5524 "2017-08-23T10:59:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pablosanjose](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pablosanjose/32/7006_2.png) [@pablosanjose](https://discourse.julialang.org/u/pablosanjose)\
**Post date:** [August 23, 2017, 10:59am UTC](https://discourse.julialang.org/t/crashing-the-repl-with-big-numbers/5524/1 "2017-08-23T10:59:44Z")

</div>

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
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`.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [August 23, 2017, 11:06am UTC](https://discourse.julialang.org/t/crashing-the-repl-with-big-numbers/5524/2 "2017-08-23T11:06:53Z")

</div>

[https://github.com/JuliaLang/julia/issues/8286](https://github.com/JuliaLang/julia/issues/8286)

---

<div class="post-metadata">

**Author:** ![pablosanjose](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pablosanjose/32/7006_2.png) [@pablosanjose](https://discourse.julialang.org/u/pablosanjose)\
**Post date:** [August 23, 2017, 11:45am UTC](https://discourse.julialang.org/t/crashing-the-repl-with-big-numbers/5524/3 "2017-08-23T11:45:10Z")

</div>

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