FS#1369qcad-bin is trying to access non-existent /home/andrew
- Type
- Bug
- Status
- Closed
- Resolution
- Won't fix
- Category
- QCAD/CAM
- Severity
- Very Low
- Priority
- Very Low
- Reported version
- 3.12.6
- Operating system
- Linux (All / Other)
- Reported
- 2016-01-30 by jflorian
- Closed
- 2018-10-05 by andrew
I experience long start delays. I've trace the problem to the fact that I have autofs automounting my home directories. However, an strace of qcad-bin shows the following:
execve("/opt/ribbonsoft/qcad/qcad-3.12.6/qcad-bin", ["/opt/ribbonsoft/qcad/qcad-3.12.6"...], [/* 87 vars */]) = 0
brk(NULL) = 0x1eca000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd6194ad000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/home/andrew/local/qt/lib/tls/x86_64/libqcadecmaapi.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/andrew/local/qt/lib/tls/x86_64", 0x7fff4722f250) = -1 ENOENT (No such file or directory)
open("/home/andrew/local/qt/lib/tls/libqcadecmaapi.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/andrew/local/qt/lib/tls", 0x7fff4722f250) = -1 ENOENT (No such file or directory)
open("/home/andrew/local/qt/lib/x86_64/libqcadecmaapi.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/andrew/local/qt/lib/x86_64", 0x7fff4722f250) = -1 ENOENT (No such file or directory)
open("/home/andrew/local/qt/lib/libqcadecmaapi.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/andrew/local/qt/lib", 0x7fff4722f250) = -1 ENOENT (No such file or directory)
Since there is no "andrew" user here, I have to wait for automount to timeout which takes about 2m and is rather annoying.
Closure comment
Can't be easily fixed
Comments (4)
Are you using the 'qcad' script to launch QCAD?
This script sets LD_LIBRARY_PATH which tells the binary where to look for shared libraries first. Since all QCAD specific shared libraries are in that directory, no other paths should be searched.
If you are not using the 'qcad' start up script, you can also set LD_LIBRARY_PATH manually before launching qcad-bin.
Lowered priority, no further information provided by user.
I'm sorry, I didn't realize you had responded. I just realized that Flyspray created my user profile with notifications turned off -- weird.
Yes, I am using the 'qcad' script. I've attached the xdg desktop file with which I launch qcad.
This still occurs with version 3.12.8. Setting LD_LIBRARY_PATH does not work. Nor does using the script. Any other ideas?