Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-deterministic error during sysimage build #6657

Closed
Keno opened this issue Apr 26, 2014 · 4 comments
Closed

Non-deterministic error during sysimage build #6657

Keno opened this issue Apr 26, 2014 · 4 comments

Comments

@Keno
Copy link
Member

Keno commented Apr 26, 2014

I've been seeing this lately, but non-deterministically

[snip]
graphics.jl
profile.jl
precompile.jl
ERROR: LoadError("/Users/kfischer/Documents/julia-debug/base/sysimg.jl",280,KeyError(1))
 in worker_from_id at multi.jl:344
 in remotecall_fetch at multi.jl:701
 in include_from_node1 at loading.jl:131
 in include at boot.jl:244
 in include_from_node1 at loading.jl:128
 in process_options at client.jl:282
 in _start at client.jl:346

I think it might be related to parallel builds.

@JeffBezanson
Copy link
Sponsor Member

Aha; we have

type LocalProcess
    id::Int
    bind_addr::IpAddr
    LocalProcess() = new()
end

const LPROC = LocalProcess()

which leaves id uninitialized. I think we should just initialize it to 1 and avoid this problem.

@Keno
Copy link
Member Author

Keno commented May 19, 2014

Yes, I made the same observation in 588d6ff and that does indeed fix the problem.

@JeffBezanson
Copy link
Sponsor Member

should be fixed by da4b3a0

@Keno
Copy link
Member Author

Keno commented May 19, 2014

Can confirm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants