QCAD Bugtracker

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category QCAD/CAM
  • Assigned To
    Andrew
  • Operating System Linux (All / Other)
  • Severity Very Low
  • Priority Defer
  • Reported Version 3.12.6
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD Bugtracker
Opened by John Florian - 30.01.2016
Last edited by Andrew - 05.10.2018

FS#1369 - qcad-bin is trying to access non-existent /home/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.

Closed by  Andrew
05.10.2018 09:36
Reason for closing:  Won't fix
Additional comments about closing:  

Can't be easily fixed

Admin
Andrew commented on 01.02.2016 08:05

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.

Admin
Andrew commented on 09.02.2016 13:26

Lowered priority, no further information provided by user.

John Florian commented on 20.02.2016 23:15

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.

John Florian commented on 02.03.2016 21:52

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

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing