Nightly build does not open demo projects

Recent Nightly builds fail to open the demo projects.

This is the result of an attempt to open the ‘sonde xilinx’ project:

terminate called without an active exception
/usr/bin/kicad-nightly: line 5: 644800 Aborted (core dumped) /usr/lib64/kicad-nightly/bin/kicad “$@”

The projects are read only (i.e. there directories are read only) and so an “ordinary” user cannot create a “lockfile” in the projects directory.

This is a trace of an attempt to open the demo project ‘sonde xilinx’ and create the lock file:

Blockquote
644459 openat(AT_FDCWD, “/usr/share/kicad-nightly/demos/sonde xilinx/~sonde xilinx.kicad_pro.lck”, O_WRONLY|O_CREAT|O_EXCL, 0666) = -1 EACCES (Permission denied)
644459 openat(AT_FDCWD, “/usr/share/kicad-nightly/demos/sonde xilinx/~sonde xilinx.kicad_pro.lck”, O_RDONLY) = -1 ENOENT (No such file or directory)
644459 write(2, “terminate called without an acti”…, 45) = 45
Blockquote

Giving an ordinary user permission to write the directory allows the creation of the lock file and the program does not terminate prematurely.

The failure appears to be due to commit:
Upgrade file locking

Please report this to the gitlab issue database if this isn’t there already.

Pressure of work has meant that I could not file a bug report.

Seth HIllbrand has fixed the problem via commit: Handle LOCKFILE logistics for ro

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.