Davix's unit tests create a file in /tmp/davix-tests-tmp-file. However, the test doesn't remove this file, so if you run the tests as another user on the same machine (i.e. as root to install davix system-wide), the file will already be there and creation of the file will fail for the second user (with permission denied, as it already exists), causing the test to get a segfault when dereferencing the FILE pointer here, as fopen returns NULL. Debugged this last Friday with @joaopblopes.
Davix's unit tests create a file in
/tmp/davix-tests-tmp-file
. However, the test doesn't remove this file, so if you run the tests as another user on the same machine (i.e. as root to install davix system-wide), the file will already be there and creation of the file will fail for the second user (with permission denied, as it already exists), causing the test to get a segfault when dereferencing theFILE
pointer here, asfopen
returnsNULL
. Debugged this last Friday with @joaopblopes.