Comments (6)
installed julia trough it's binary installer. (version 1.10.2)
Just to be clear, have you installed julia through juliaup
, the binaries provided through julialang.org/downloads/ or through an Arch repository/pacman
? Does the issue also occur if julia is installed through either juliaup
or the provided binaries of the website?
from julia.
I don't know what you expect Julia to do about this. Your issue doesn't provide concrete information, we don't see what you were trying to do when you get the crash, nor a full stacktrace to show where the error happened. But in general if you're setting LD_LIBRARY_PATH, which is a mechanism outside of Julia control since it's part of the dynamic loader, then all responsibility is on you.
from julia.
@Seelengrab
I installed it trough juliaup (by running 'curl -fsSL https://install.julialang.org | sh' in the terminal) , not pacman.
I tried the binary, and it gives the same problem.
@giordano
I thought this issue might be relevant as no other programming languages I have have this kind of issue, I need LD_LIBRARY_PATH of course for some specific software to work, normally it should just be used the same way as PATH, to look up if certain libs are installed. My LD_LIBRARY_PATH is /usr/local/lib , /usr/lib and /lib64 btw.
when I try julia --bug-report=rr I get a segmentation fault
I tried strace with
❯ julia
(@v1.10) pkg> add ForwardDiff
zsh: segmentation fault (core dumped) julia
This happens with any package and also with the inclusion of a package.
I don't know if you could learn anything from this, I included part of it (attached text file)
stracefile.txt
from julia.
I thought this issue might be relevant as no other programming languages I have have this kind of issue, I need LD_LIBRARY_PATH of course for some specific software to work, normally it should just be used the same way as PATH, to look up if certain libs are installed. My LD_LIBRARY_PATH is /usr/local/lib , /usr/lib and /lib64 btw.
You may need more experience then:
% mkdir dir1
% echo 'void foo(int *p){ *p = 100; return; }' | cc -x c - -shared -o dir1/libfoo.so
% mkdir dir2
% echo 'void foo(int *p){ return; }' | gcc -x c - -shared -o dir2/libfoo.so
% echo 'void foo(int *p); int main(void) { foo((int *)0); return 0; }' | gcc -x c - -o main -L dir2 -lfoo -Wl,-rpath,dir2
% ./main
% LD_LIBRARY_PATH=dir1 ./main
zsh: segmentation fault (core dumped) LD_LIBRARY_PATH=dir1 ./main
If you are directing the executable to load, before it has any chance to do anything else, incompatible libraries, all bets are off. This has nothing to do with Julia, that's just how dynamic loading works.
from julia.
Ah thanks @giordano, I indeed had the wrong impression of how this worked, do I understand your point correctly that the cause are some incompatible libraries residing within one of the my lib folders, which Julia uses? Or did I misunderstand?
from julia.
Right, who knows what might be there, julia ships it's own libraries to avoid any incompatibilites but LD_LIBRARY_PATH
goes around our efforts.
from julia.
Related Issues (20)
- bad PhiNode renumbering of #undef value
- Regression in inferred return type for `join` on simple iterator. HOT 2
- v1.11-rc2: Inconsistent behaviour between function call and expected behaviour HOT 4
- AnnotatedStrings: unclear what operations support/preserve annotations HOT 2
- syntax highlighting needs more work
- Error during perform `isposdef` on own Matrix type at Julia 1.6 HOT 1
- Converting `Dates.OtherPeriods` to `Seconds`
- Test: Evaluated expression should expand full expression HOT 1
- Using types and not strings to represent Paths
- [REPL] Autocompletion of arguments inside `ModuleName.function` call is broken
- rdiv! on LU object is much slower than ldiv! HOT 4
- `ELF load command address/offset not properly aligned` regression in patchelf
- Base.last(::Tuple,::Integer) and Base.first(::Tuple,::Integer) return Vectors HOT 3
- Tab completion not working with module specification in `@time` calls involving another macro
- Tab completion freezes the REPL HOT 4
- at-doc return type depends on whether REPL is loaded HOT 3
- Possible improvement in error messages for invalid array sizes
- Looking up an instruction pointer (`StackTraces.lookup(::InterpreterIP)`) has dynamic dispatch
- Encounter a bug using DifferentialEquations HOT 4
- Should the test environment precompile (w/ `--check-bounds=yes`) when precompiling a package environment? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from julia.