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

Segmentation faults with LLVM 3.4 #5696

Closed
cdsousa opened this issue Feb 6, 2014 · 5 comments
Closed

Segmentation faults with LLVM 3.4 #5696

cdsousa opened this issue Feb 6, 2014 · 5 comments

Comments

@cdsousa
Copy link
Contributor

cdsousa commented Feb 6, 2014

While LLVM 3.4 support will probably be skiped (#4597 (comment)), I'm droping here some backtraces I obtained when I was inadvertently using Julia with my system LLVM v3.4.

Short story: I got this segfaults when doing Pkg.update():
https://gist.github.com/cdsousa/9cfa5307ae221e72f2e2#file-julia_nok_log
https://gist.github.com/cdsousa/a18439acba05a64d8476

Long story: https://groups.google.com/forum/#!topic/julia-users/5zjoL6nMHyE

Isaiah asked me to open this issue. I'm available for more tests if it's worth.

@Keno
Copy link
Member

Keno commented Feb 6, 2014

Unfortunately I suspect these are due to memory corruption. I've been trying to track these down, but no luck so far.

@JeffBezanson
Copy link
Member

Thanks; it's always good to capture this stuff.

@cdsousa
Copy link
Contributor Author

cdsousa commented Feb 7, 2014

I'm not sure if this can be useful, but let me add that when I was unawarely using LLVM v3.4, I'd tackled a segmentation fault in IJulia for which I did a PR: JuliaLang/IJulia.jl#142

It seems that the segfault was due to a cfunction object, which was being passed to a pthread_create, going out of scope too soon.

I can confirm that segmentation fault occurred solely due to LLVM v3.4, since after the change back to v3.3 IJulia works without the patch.

@Keno
Copy link
Member

Keno commented Feb 7, 2014

Thanks for that info, that might actually be extremely helpful.

@Keno
Copy link
Member

Keno commented Feb 8, 2014

Fixed by 5c1b5ad

@Keno Keno closed this as completed Feb 8, 2014
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

3 participants