Bug 353277 - Plasmashell freezes because of a missing file in my video folder
Summary: Plasmashell freezes because of a missing file in my video folder
Status: RESOLVED DUPLICATE of bug 352574
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.4.1
Platform: Other Linux
: NOR grave
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-28 12:57 UTC by FabiB
Modified: 2015-10-13 14:02 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description FabiB 2015-09-28 12:57:48 UTC
today plasma freezes completely after startup. so i killed it and tried it with
strace plasmashell

after some times the following lines are spammed over and over (at the same time the plasmashell dont do anything anymore)

lstat("/home/fabi/Videos/[Hatsuyuki]_Astarotte_no_Omocha_[BD][720p][MP4]/[Hatsuyuki]_Astarotte_no_Omocha_EX_[BD][720p][CFC088CD].mp4", 0x7fff4df3a1e0) = -1 ENOENT (No such file or directory)
sendmsg(7, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\236\0\0\0\214\253\0\0\261\0\0\0\1\1o\0\"\0\0\0/Activit"..., 200}, {"\10\0\0\0:current\0\0\0\0\4\0\0\0:any\0\0\0\0}\0\0\0"..., 158}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 358
poll([{fd=7, events=POLLIN}], 1, 25000) = 1 ([{fd=7, revents=POLLIN}])
recvmsg(7, {msg_name(0)=NULL, msg_iov(1)=[{"l\4\1\1\236\0\0\0M<\6\0\246\0\0\0\1\1o\0\"\0\0\0/Activit"..., 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 398
recvmsg(7, 0x7fff4df399d0, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
fcntl(26, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=124, len=1}) = 0
fcntl(26, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=124, len=1}) = 0
lstat("/home/fabi/Videos/[Hatsuyuki]_Astarotte_no_Omocha_[BD][720p][MP4]/[Hatsuyuki]_Astarotte_no_Omocha_EX_[BD][720p][CFC088CD].mp4", 0x7fff4df3a1e0) = -1 ENOENT (No such file or directory)
sendmsg(7, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\236\0\0\0\215\253\0\0\261\0\0\0\1\1o\0\"\0\0\0/Activit"..., 200}, {"\10\0\0\0:current\0\0\0\0\4\0\0\0:any\0\0\0\0}\0\0\0"..., 158}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 358
poll([{fd=7, events=POLLIN}], 1, 25000) = 1 ([{fd=7, revents=POLLIN}])
recvmsg(7, {msg_name(0)=NULL, msg_iov(1)=[{"l\4\1\1\236\0\0\0O<\6\0\246\0\0\0\1\1o\0\"\0\0\0/Activit"..., 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 398
recvmsg(7, 0x7fff4df399d0, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
fcntl(26, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=124, len=1}) = 0
fcntl(26, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=124, len=1}) = 0
lstat("/home/fabi/Videos/[Hatsuyuki]_Astarotte_no_Omocha_[BD][720p][MP4]/[Hatsuyuki]_Astarotte_no_Omocha_EX_[BD][720p][CFC088CD].mp4", 0x7fff4df3a1e0) = -1 ENOENT (No such file or directory)
sendmsg(7, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\236\0\0\0\216\253\0\0\261\0\0\0\1\1o\0\"\0\0\0/Activit"..., 200}, {"\10\0\0\0:current\0\0\0\0\4\0\0\0:any\0\0\0\0}\0\0\0"..., 158}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 358
poll([{fd=7, events=POLLIN}], 1, 25000) = 1 ([{fd=7, revents=POLLIN}])
recvmsg(7, {msg_name(0)=NULL, msg_iov(1)=[{"l\4\1\1\236\0\0\0Q<\6\0\246\0\0\0\1\1o\0\"\0\0\0/Activit"..., 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 398
recvmsg(7, 0x7fff4df399d0, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
fcntl(26, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=124, len=1}) = 0
fcntl(26, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=124, len=1}) = 0
lstat("/home/fabi/Videos/[Hatsuyuki]_Astarotte_no_Omocha_[BD][720p][MP4]/[Hatsuyuki]_Astarotte_no_Omocha_EX_[BD][720p][CFC088CD].mp4", 0x7fff4df3a1e0) = -1 ENOENT (No such file or directory)
sendmsg(7, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\236\0\0\0\217\253\0\0\261\0\0\0\1\1o\0\"\0\0\0/Activit"..., 200}, {"\10\0\0\0:current\0\0\0\0\4\0\0\0:any\0\0\0\0}\0\0\0"..., 158}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 358
poll([{fd=7, events=POLLIN}], 1, 25000) = 1 ([{fd=7, revents=POLLIN}])
recvmsg(7, {msg_name(0)=NULL, msg_iov(1)=[{"l\4\1\1\236\0\0\0S<\6\0\246\0\0\0\1\1o\0\"\0\0\0/Activit"..., 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 398
recvmsg(7, 0x7fff4df399d0, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
fcntl(26, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=124, len=1}) = 0
fcntl(26, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=124, len=1}) = 0
lstat("/home/fabi/Videos/[Hatsuyuki]_Astarotte_no_Omocha_[BD][720p][MP4]/[Hatsuyuki]_Astarotte_no_Omocha_EX_[BD][720p][CFC088CD].mp4", 0x7fff4df3a1e0) = -1 ENOENT (No such file or directory)
sendmsg(7, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1\236\0\0\0\220\253\0\0\261\0\0\0\1\1o\0\"\0\0\0/Activit"..., 200}, {"\10\0\0\0:current\0\0\0\0\4\0\0\0:any\0\0\0\0}\0\0\0"..., 158}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 358
poll([{fd=7, events=POLLIN}], 1, 25000) = 1 ([{fd=7, revents=POLLIN}])
recvmsg(7, {msg_name(0)=NULL, msg_iov(1)=[{"l\4\1\1\236\0\0\0U<\6\0\246\0\0\0\1\1o\0\"\0\0\0/Activit"..., 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 398
recvmsg(7, 0x7fff4df399d0, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
fcntl(26, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=124, len=1}) = 0
fcntl(26, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=124, len=1}) = 0


since i dont understand what that means, the important thing for me is
/home/fabi/Videos/[Hatsuyuki]_Astarotte_no_Omocha_[BD][720p][MP4]/[Hatsuyuki]_Astarotte_no_Omocha_EX_[BD][720p][CFC088CD].mp4
and 
(No such file or directory)

wich is an anime i donloaded yesterday and moved to another place with a new name.
first i tried just to create a text file in this directory with this name. but the issue is still the same and plasma wont start.
next i tried to move that one video file back to its old place with the old name.
now plasma starts again without any problem.

so i moved that file back again and tried to restart ... plasma freezes again.

so this file has to stay in this directory with its old name or i cant use my computer at all ...

Reproducible: Always



Expected Results:  
plasma should start without the need of a file anywhere in the filesystem

happens right now in manjaro with plasma 5.4.1, Qt 5.5 (well everything is up-2-date)
last time this has happened was with kubuntu and plasma 5.3.
Comment 1 George Machitidze 2015-10-12 21:33:13 UTC
I confirm - absolutely the same happens for me for mkv files, same strace on Fedora 22, plasma-workspace-5.4.1-3.fc22.x86_64
Comment 2 David Edmundson 2015-10-12 22:02:30 UTC
can you upload one of these files that apparently makes plasma do this?
Comment 3 George Machitidze 2015-10-12 22:45:44 UTC
Issue is that there are no files - I had to create false one with same name to make everything work again.
I cannot figure out why is plasmashell looking for THAT PARTICULAR ONE. Probably, I have to dig in all the files in my home directory with content that matches filename. 4 TB. Will take a time.
Comment 4 George Machitidze 2015-10-12 22:48:55 UTC
(In reply to David Edmundson from comment #2)
> can you upload one of these files that apparently makes plasma do this?

Issue is that there are no files - I had to create false one with same name to make everything work again.
I cannot figure out why is plasmashell looking for THAT PARTICULAR ONE. Probably, I have to dig in all the files in my home directory with content that matches filename. 4 TB. Will take a time.
Comment 5 George Machitidze 2015-10-12 23:24:24 UTC
Issue was solved after deleting following files:

.kde/share/apps/activitymanager/resources/database
.local/share/baloo/index
.local/share/kactivitimanagerd/resources/database
.local/share/kactivitimanagerd/resources/database-wal

also, I've deleted .desktop file with similar name from ~/.kde/share/apps/
Comment 6 Ivan Čukić 2015-10-13 14:02:05 UTC

*** This bug has been marked as a duplicate of bug 352574 ***