QCAD - 2D CAD System.

Click here for a documentation of the DokuWiki formatting syntax that can be used in reports

Please search for existing tasks (also closed ones) before opening a new task.

Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help > Check for Updates)


FS#1369 - qcad-bin is trying to access non-existent /home/andrew

Attached to Project: QCAD
Opened by John Florian (jflorian) - Sunday, 31 January 2016, 00:19 GMT+1
Last edited by Andrew (andrew) - Sunday, 21 February 2016, 11:45 GMT+1
Task Type Bug Report
Category QCAD/CAM
Status Assigned
Assigned To Andrew (andrew)
Operating System Linux (All / Other)
Severity Very Low
Priority Low
Reported Version 3.12.6
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


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.

This task depends upon

Comment by Andrew (andrew) - Monday, 01 February 2016, 09:05 GMT+1

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.

Comment by Andrew (andrew) - Tuesday, 09 February 2016, 14:26 GMT+1

Lowered priority, no further information provided by user.

Comment by John Florian (jflorian) - Sunday, 21 February 2016, 00:15 GMT+1

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.

Comment by John Florian (jflorian) - Wednesday, 02 March 2016, 22:52 GMT+1

This still occurs with version 3.12.8. Setting LD_LIBRARY_PATH does not work. Nor does using the script. Any other ideas?