python segmentation fault
Not much of a question, just a note for others who might run into the same issue.
I recently ran into an illusive issue where importing dolfin in python resulted in a segmentation fault. Interestingly, importing dolfin in ipython worked fine.
The latest nvidia drivers introduced libraries that cause segmentation faults in glibc at strcmp. The error disappears when running with gdb or valgrind but I could reproduce it by running:
python -vvv -c "import dolfin"
....
# trying /home/yye00/
# trying /home/yye00/
# trying /home/yye00/
# trying /home/yye00/
dlopen(
<segmentation fault>
rolling back to 310.14 drivers fix this. Switching to mesa for the libgl libraries might fix this as well but I did not try that.
Regards
Yaakoub
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Yaakoub El Khamra
- Solved:
- Last query:
- Last reply: