SHADERed icon indicating copy to clipboard operation
SHADERed copied to clipboard

After first start Read only filesystem error

Open Scriptkiddi opened this issue 5 years ago • 1 comments

After the first launch following error occurs, deleting .local/share/shadered fixes the issue

terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
  what():  filesystem error: cannot create directory: Read-only file system [./temp/]
Aborted (core dumped)
`getcwd("/home/x", 4096)             = 12
stat("", 0x7ffe1d0e3720)                = -1 ENOENT (No such file or directory)
readlink("/proc/self/exe", "/nix/store/db66hhb0psz2ckh67pfh2"..., 4096) = 71
stat("/nix/store/db66hhb0psz2ckh67pfh22ydklr61dgr-SHADERed-1.4.1/bin/../share/SHADERed", 0x7ffe1d0e3720) = -1 ENOENT (No such file or directory)
stat("/nix/store/db66hhb0psz2ckh67pfh22ydklr61dgr-SHADERed-1.4.1/bin/../share/shadered", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
chdir("/nix/store/db66hhb0psz2ckh67pfh22ydklr61dgr-SHADERed-1.4.1/bin/../share/shadered") = 0
getcwd("/nix/store/db66hhb0psz2ckh67pfh22ydklr61dgr-SHADERed-1.4.1/share/shadered", 4096) = 74
openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=2298, ...}) = 0
fstat(3, {st_mode=S_IFREG|0444, st_size=2298, ...}) = 0
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\t\0\0\0\t\0\0\0\0"..., 4096) = 2298
lseek(3, -1449, SEEK_CUR)               = 849
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\t\0\0\0\t\0\0\0\0"..., 4096) = 1449
close(3)                                = 0
stat("/home/x/.local/share/shadered/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/home/x/.local/share/shadered/data", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/home/x/.local/share/shadered/themes", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/home/x/.local/share/shadered/plugins", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("./data/", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
stat("/home/x/.local/share/shadered/data/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/home/x/.local/share/shadered/temp/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("./temp/", 0x7ffe1d0e3770)         = -1 ENOENT (No such file or directory)
mkdir("./temp/", 0777)                  = -1 EROFS (Read-only file system)
futex(0x7f10c87dc040, FUTEX_WAKE_PRIVATE, 2147483647) = 0
write(2, "terminate called after throwing "..., 48terminate called after throwing an instance of ') = 48
write(2, "std::filesystem::__cxx11::filesy"..., 42std::filesystem::__cxx11::filesystem_error) = 42
write(2, "'\n", 2'
)                      = 2
write(2, "  what():  ", 11  what():  )             = 11
write(2, "filesystem error: cannot create "..., 74filesystem error: cannot create directory: Read-only file system [./temp/]) = 74
write(2, "\n", 1
)                       = 1
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
getpid()                                = 3659
gettid()                                = 3659
tgkill(3659, 3659, SIGABRT)             = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=3659, si_uid=1000} ---
+++ killed by SIGABRT (core dumped) +++
Aborted (core dumped)`

Scriptkiddi avatar Oct 10 '20 11:10 Scriptkiddi

Thanks for reporting this. Not sure yet why this happens. I'll look into this issue and try to fix it with SHADERed v1.4.2

dfranx avatar Oct 16 '20 13:10 dfranx