<p dir="auto">The code in <a href="https://gist.github.com/jiahao/d58c0647354fbd0f1e6d">this gist</a> triggers a strange error on OSX.</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Array(Float64,(6,6)) 6x6 Array{Float64,2}:
 ERROR: LoadError: ArgumentError: can't repeat a string -1 times
 in repeat at ./strings/types.jl:176
 in print_matrix_row at show.jl:1017
 in print_matrix at show.jl:1061
 in showarray at show.jl:1229
 in xdump at show.jl:908
 in anonymous at show.jl:913
 in with_output_limit at ./show.jl:1246
 in xdump at show.jl:913
 in truncate! at 12899.jl:176
 in thickrestartbidiag at 12899.jl:52
 in thickrestartbidiag at 12899.jl:44
 in include at ./boot.jl:259
 in include_from_node1 at ./loading.jl:271
 in process_options at ./client.jl:308
 in _start at ./client.jl:411
while loading 12899.jl, in expression starting on line 235"><pre class="notranslate"><span class="pl-c1">Array</span>(Float64,(<span class="pl-c1">6</span>,<span class="pl-c1">6</span>)) <span class="pl-c1">6</span>x6 Array{Float64,<span class="pl-c1">2</span>}<span class="pl-k">:</span>
 ERROR<span class="pl-k">:</span> LoadError<span class="pl-k">:</span> ArgumentError<span class="pl-k">:</span> can<span class="pl-k">'</span>t repeat a string <span class="pl-k">-</span><span class="pl-c1">1</span> times
 <span class="pl-k">in</span> repeat at <span class="pl-k">./</span>strings<span class="pl-k">/</span>types<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">176</span>
 <span class="pl-k">in</span> print_matrix_row at show<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1017</span>
 <span class="pl-k">in</span> print_matrix at show<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1061</span>
 <span class="pl-k">in</span> showarray at show<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1229</span>
 <span class="pl-k">in</span> xdump at show<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">908</span>
 <span class="pl-k">in</span> anonymous at show<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">913</span>
 <span class="pl-k">in</span> with_output_limit at <span class="pl-k">./</span>show<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1246</span>
 <span class="pl-k">in</span> xdump at show<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">913</span>
 <span class="pl-k">in</span> truncate! at <span class="pl-c1">12899.</span>jl<span class="pl-k">:</span><span class="pl-c1">176</span>
 <span class="pl-k">in</span> thickrestartbidiag at <span class="pl-c1">12899.</span>jl<span class="pl-k">:</span><span class="pl-c1">52</span>
 <span class="pl-k">in</span> thickrestartbidiag at <span class="pl-c1">12899.</span>jl<span class="pl-k">:</span><span class="pl-c1">44</span>
 <span class="pl-k">in</span> include at <span class="pl-k">./</span>boot<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">259</span>
 <span class="pl-k">in</span> include_from_node1 at <span class="pl-k">./</span>loading<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">271</span>
 <span class="pl-k">in</span> process_options at <span class="pl-k">./</span>client<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">308</span>
 <span class="pl-k">in</span> _start at <span class="pl-k">./</span>client<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">411</span>
<span class="pl-k">while</span> loading <span class="pl-c1">12899.</span>jl, <span class="pl-k">in</span> expression starting on line <span class="pl-c1">235</span></pre></div>
<p dir="auto">I can reliably reproduce this error on OSX (but not Linux). It always happens on Iteration 143 of this algorithm, and removing any of the printing statements in this code makes this error go away.</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; versioninfo()
Julia Version 0.4.0-pre+7122
Commit 62d570f (2015-08-31 23:19 UTC)
Platform Info:
  System: Darwin (x86_64-apple-darwin14.5.0)
  CPU: Intel(R) Core(TM) i5-4258U CPU @ 2.40GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3"><pre class="notranslate">julia<span class="pl-k">&gt;</span> <span class="pl-c1">versioninfo</span>()
Julia Version <span class="pl-c1">0.4</span>.<span class="pl-c1">0</span><span class="pl-k">-</span>pre<span class="pl-k">+</span><span class="pl-c1">7122</span>
Commit <span class="pl-c1">62</span>d570f (<span class="pl-c1">2015</span><span class="pl-k">-</span><span class="pl-c1">08</span><span class="pl-k">-</span><span class="pl-c1">31</span> <span class="pl-c1">23</span><span class="pl-k">:</span><span class="pl-c1">19</span> UTC)
Platform Info<span class="pl-k">:</span>
  System<span class="pl-k">:</span> Darwin (x86_64<span class="pl-k">-</span>apple<span class="pl-k">-</span>darwin14.<span class="pl-c1">5.0</span>)
  CPU<span class="pl-k">:</span> <span class="pl-c1">Intel</span>(R) <span class="pl-c1">Core</span>(TM) i5<span class="pl-k">-</span><span class="pl-c1">4258</span>U CPU @ <span class="pl-c1">2.40</span>GHz
  WORD_SIZE<span class="pl-k">:</span> <span class="pl-c1">64</span>
  BLAS<span class="pl-k">:</span> libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK<span class="pl-k">:</span> libopenblas
  LIBM<span class="pl-k">:</span> libopenlibm
  LLVM<span class="pl-k">:</span> libLLVM<span class="pl-k">-</span><span class="pl-c1">3.3</span></pre></div>
<p dir="auto">Something is amiss with the formula used to calculate the number of digits in the entries of an array used in the repl.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; [2.,3.]
2-element Array{Float64,1}:
 02.0
 03.0"><pre class="notranslate"><code class="notranslate">julia&gt; [2.,3.]
2-element Array{Float64,1}:
 02.0
 03.0
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; [2.0,2.3]
2-element Array{Float64,1}:
 02.0
  2.3"><pre class="notranslate"><code class="notranslate">julia&gt; [2.0,2.3]
2-element Array{Float64,1}:
 02.0
  2.3
</code></pre></div>
<p dir="auto">Edit:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Julia Version 0.4.0-dev+3967
Commit b8a510d* (2015-03-23 13:19 UTC)
Platform Info:
  System: Linux (x86_64-redhat-linux)
  CPU: Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3"><pre class="notranslate"><code class="notranslate">Julia Version 0.4.0-dev+3967
Commit b8a510d* (2015-03-23 13:19 UTC)
Platform Info:
  System: Linux (x86_64-redhat-linux)
  CPU: Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3
</code></pre></div>