-
What’s wrong:
When I boot up manjaro, plasmashell will stuck at something and it’s fully unusable(the GUI looks normal, but won’t response if I click on it).I used
sudo strace -p $PID
, found it keeps to search for an unexist file:output
statx(AT_FDCWD, “/home/lob/go/src/github.com/lobshunter/test/tv/movie61959.mp4”, AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW, STATX_ALL, 0x7ffe1db46830) = -1 ENOENT (没有那个文件或目录)
write(6, “\1\0\0\0\0\0\0\0”, 8) = 8
futex(0x7ffe1db464b0, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (资源暂时不可用)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=65, tv_nsec=438657327}) = 0
write(6, “\1\0\0\0\0\0\0\0”, 8) = 8
futex(0x55ce1ae7a6c0, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x55ce1ae7a670, FUTEX_WAKE_PRIVATE, 1) = 0
write(6, “\1\0\0\0\0\0\0\0”, 8) = 8
futex(0x7ffe1db46600, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (资源暂时不可用)
fcntl(43, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=125, l_len=1}) = 0
fcntl(43, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=125, l_len=1}) = 0
fcntl(43, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=125, l_len=1}) = 0
fcntl(43, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=125, l_len=1}) = 0zz
statx(AT_FDCWD, “/home/lob/go/src/github.com/lobshunter/test/tv/movie61959.mp4”, AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW, STATX_ALL, 0x7ffe1db46830) = -1 ENOENT (没有那个文件或目录)
write(6, “\1\0\0\0\0\0\0\0”, 8) = 8
futex(0x7ffe1db464b0, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=65, tv_nsec=446772980}) = 0
write(6, “\1\0\0\0\0\0\0\0”, 8) = 8
futex(0x55ce1a4b8da0, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x55ce1a4b8d50, FUTEX_WAKE_PRIVATE, 1) = 0
write(6, “\1\0\0\0\0\0\0\0”, 8) = 8
futex(0x7ffe1db46600, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
fcntl(43, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=125, l_len=1}) = 0
fcntl(43, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=125, l_len=1}) = 0
fcntl(43, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=125, l_len=1}) = 0
fcntl(43, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=125, l_len=1}) = 0
statx(AT_FDCWD, “/home/lob/go/src/github.com/lobshunter/test/tv/movie61959.mp4”, AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW, STATX_ALL, 0x7ffe1db46830) = -1 ENOENT (没有那个文件或目录)I downloaded this video and played it with VLC player last night.
The video was deleted byrm $FILENAME
.Then I started to have this issue on next boot.
-
Workaround
Since plasmashell is searching for that file, I didtouch $filename
.
Then plasmashell stops the infinite loop and works normally. -
Minimal reproduce steps(perhaps)
(I am not sure about this part cause I my system is still broken)- download a video, play it with VLC-player
- remove the video by
rm $filename
- reboot
-
software versions
manjaro branch testing
plasmashell 5.20.5
kernel 5.10.13-1
This issue happened before the 2021-02-05 testing update. Applying the update doesn’t solve the problem.
Welcome to Manjaro!
-
If you’re on the [testing] branch, you’re better off following the testing announcements and posting any issues there.
-
Alternatively, If you’re not a Linux wizard, you’re better off switching to the stable version