undefined reference with Dict{} #6050

Closed
cbecker opened this Issue Mar 4, 2014 · 0 comments

Comments

Projects
None yet
2 participants
@cbecker
Contributor

cbecker commented Mar 4, 2014

I recompiled Julia and my code is not running anymore. I was able to isolate the problem and it gets triggered with commit db39be1. This small piece of code triggers it

typealias BBox (Range1{Int64},Range1{Int64})

d = Dict{Int64, BBox}()

for i=1:500
    k = iround( rand() * 1000000 )

    @show i
    d[k] = ( 1:20, 3:40 )
end

Output is

i => 1
i => 2
i => 3
i => 4
i => 5
i => 6
i => 7
i => 8
i => 9
i => 10
i => 11

Out [8]: ERROR: access to undefined reference
while loading /tmp/test.jl, in expression starting on line 6
while loading In[8], in expression starting on line 1
 in copy! at abstractarray.jl:168
 in rehash at dict.jl:425
 in _setindex! at dict.jl:528
 in setindex! at dict.jl:544
 in anonymous at no file:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment