Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-01-07 16:32:07

allin
Member
From: Italy
Registered: 2016-06-02
Posts: 14

Freeze after deleting files from desktop

Hello,
I'm encountering a little bug on Xubuntu. Both 16.04 and 17.04 beta.
The desktop freezes after deleting 2 files from the desktop. It freezes for 2-3 seconds, but I think it's a bug.

To replicate it:
Select a file on the desktop
press CANC
select another file on the desktop
press CANC

It freezes for few seconds. I don't know if this is a XFCE problem or Xubuntu specific bug. Maybe it only happens on my notebook...
Can anyone confirm?

Offline

#2 2017-01-07 17:06:27

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,493

Re: Freeze after deleting files from desktop

Check your ~/.cache/upstart/startxfce4.log file at the time you are deleting a file. Also check your journal:

sudo journalctl -f

...before you start deleting a file.

Is your home directory located on the local hard drive or is mounted from some remote location?

Also check your hard drive to make sure everything is okay with it.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2017-01-07 20:32:36

allin
Member
From: Italy
Registered: 2016-06-02
Posts: 14

Re: Freeze after deleting files from desktop

ToZ wrote:

Check your ~/.cache/upstart/startxfce4.log file at the time you are deleting a file. Also check your journal:

sudo journalctl -f

...before you start deleting a file.

Is your home directory located on the local hard drive or is mounted from some remote location?

Also check your hard drive to make sure everything is okay with it.

Hello and thanks for your reply. The startxfce4.log is a 62MB file with 1M+ rows... I really don't know what I should look for.

I used the following command to record the journalctl output, I don't know if it's correct:

sudo journalctl -f >/home/enrico/Scrivania/logctl.log

and this returns:

-- Logs begin at Sat 2017-01-07 20:15:39 CET. --
gen 07 21:16:13 enrico-linux systemd-resolved[1097]: Grace period over, resuming full feature set (UDP+EDNS0+DO+LARGE) for DNS server 8.8.8.8.
gen 07 21:17:01 enrico-linux CRON[1732]: pam_unix(cron:session): session opened for user root by (uid=0)
gen 07 21:17:01 enrico-linux CRON[1733]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
gen 07 21:17:01 enrico-linux CRON[1732]: pam_unix(cron:session): session closed for user root
gen 07 21:22:30 enrico-linux dbus-daemon[1290]: Activating service name='org.gnome.GConf'
gen 07 21:22:30 enrico-linux dbus-daemon[1290]: Successfully activated service 'org.gnome.GConf'
gen 07 21:23:08 enrico-linux dbus-daemon[1290]: Activating service name='org.freedesktop.thumbnails.Thumbnailer1'
gen 07 21:23:08 enrico-linux dbus-daemon[1290]: Successfully activated service 'org.freedesktop.thumbnails.Thumbnailer1'
gen 07 21:25:19 enrico-linux sudo[1871]:   enrico : TTY=pts/0 ; PWD=/home/enrico ; USER=root ; COMMAND=/bin/journalctl -f
gen 07 21:25:19 enrico-linux sudo[1871]: pam_unix(sudo:session): session opened for user root by (uid=0)

This output is the output in the exact moment when I press CANC on the second file and the desktop freezes for a while. I also noticed that this doesn't happens anymore until I reboot the PC. It seems to happen only when I delete the second file from the desktop, and only with the second file I delete.

My home is in the same HDD but in a dedicated partition

Last edited by allin (2017-01-07 20:34:11)

Offline

#4 2017-01-07 22:13:09

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,493

Re: Freeze after deleting files from desktop

Hello and thanks for your reply. The startxfce4.log is a 62MB file with 1M+ rows... I really don't know what I should look for.

Delete the file, it will be re-created. You might need to log out and back in again for it to start logging back there - I'm not sure. Then do the same as you did with journalctl:

tail -f ~/.cache/upstart/startxfce4.log

...and delete the files to create the hang and see if anything is displayed in the window.

I used the following command to record the journalctl output, I don't know if it's correct:

sudo journalctl -f >/home/enrico/Scrivania/logctl.log

and this returns:

-- Logs begin at Sat 2017-01-07 20:15:39 CET. --
gen 07 21:16:13 enrico-linux systemd-resolved[1097]: Grace period over, resuming full feature set (UDP+EDNS0+DO+LARGE) for DNS server 8.8.8.8.
gen 07 21:17:01 enrico-linux CRON[1732]: pam_unix(cron:session): session opened for user root by (uid=0)
gen 07 21:17:01 enrico-linux CRON[1733]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
gen 07 21:17:01 enrico-linux CRON[1732]: pam_unix(cron:session): session closed for user root
gen 07 21:22:30 enrico-linux dbus-daemon[1290]: Activating service name='org.gnome.GConf'
gen 07 21:22:30 enrico-linux dbus-daemon[1290]: Successfully activated service 'org.gnome.GConf'
gen 07 21:23:08 enrico-linux dbus-daemon[1290]: Activating service name='org.freedesktop.thumbnails.Thumbnailer1'
gen 07 21:23:08 enrico-linux dbus-daemon[1290]: Successfully activated service 'org.freedesktop.thumbnails.Thumbnailer1'
gen 07 21:25:19 enrico-linux sudo[1871]:   enrico : TTY=pts/0 ; PWD=/home/enrico ; USER=root ; COMMAND=/bin/journalctl -f
gen 07 21:25:19 enrico-linux sudo[1871]: pam_unix(sudo:session): session opened for user root by (uid=0)

This output is the output in the exact moment when I press CANC on the second file and the desktop freezes for a while.

Okay, lets see if we get something similar from startxfce4.log as per above.

I also noticed that this doesn't happens anymore until I reboot the PC. It seems to happen only when I delete the second file from the desktop, and only with the second file I delete.

Interesting. Lets see what startxfce4.log file says when you get the hang. Especially if something about dbus pops up again.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2017-01-08 07:32:26

allin
Member
From: Italy
Registered: 2016-06-02
Posts: 14

Re: Freeze after deleting files from desktop

ToZ wrote:

Delete the file, it will be re-created. You might need to log out and back in again for it to start logging back there - I'm not sure.

I deleted the file and rebooted the system, but the file has not been recreated. hmm

Offline

#6 2017-01-08 10:26:33

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,493

Re: Freeze after deleting files from desktop

That's strange. It should have recreated. Try creating it manually:

touch ~/.cache/upstart/startxfce4.log

...and reboot again.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2017-01-08 11:04:24

allin
Member
From: Italy
Registered: 2016-06-02
Posts: 14

Re: Freeze after deleting files from desktop

ToZ wrote:

That's strange. It should have recreated. Try creating it manually:

touch ~/.cache/upstart/startxfce4.log

...and reboot again.

touch-ed, rebooted, deleted the files.... startxfce4.log is still empty

Offline

#8 2017-01-08 15:34:29

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,493

Re: Freeze after deleting files from desktop

Touch the file and reboot. Don't delete it.
You should not have an empty file. Is this a straight Xubuntu install or have you changed some of the components?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#9 2017-01-08 16:11:22

allin
Member
From: Italy
Registered: 2016-06-02
Posts: 14

Re: Freeze after deleting files from desktop

ToZ wrote:

Touch the file and reboot. Don't delete it.
You should not have an empty file. Is this a straight Xubuntu install or have you changed some of the components?

Sorry, I wrote the wrong way:

I mean:
touch-ed, rebooted, deleted the TEST files FROM THE DESKTOP.... startxfce4.log is still empty

I haven't deleted the touch-ed startxfce4.log file but only the test files. I rebooted 2 or 3 times but the file is always empty. I've made a fresh install of Xubuntu yesterday, but the home is in a separated partition which I haven't formatted. The home partition could be dirty because I used Unity/KDE/Xfce with the same /home...

Maybe I should test this bug with a live dvd of Xubuntu... It's not a big problem and it doesn't compromise the usage of the system, but I would like to understand why this happens and if it's a bug or not.

Offline

#10 2017-01-08 16:21:27

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,493

Re: Freeze after deleting files from desktop

allin wrote:

Maybe I should test this bug with a live dvd of Xubuntu.

This is a good idea. I can say that the delay is not normal, so something is going on.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#11 2017-01-08 17:34:47

Sideburns
Member
From: Trinidad, CO
Registered: 2011-03-30
Posts: 467
Website

Re: Freeze after deleting files from desktop

Open a terminal, run top and see what happens when you delete the files.


Registered Linux user #470359
Permanently recovered BOFH
Any advice in this post is worth exactly what you paid for it.

Offline

#12 2017-01-08 19:46:42

allin
Member
From: Italy
Registered: 2016-06-02
Posts: 14

Re: Freeze after deleting files from desktop

I can only see a process TUMBLERED which appears when I start to delete the files, and disappears when the freeze ends. I don't know if that service is the problem, but it doesn't require high resources (RAM or CPU)

If you want to take a look: https://youtu.be/jOLefFnZfb4
when you see the process tumblered disappear the freeze ended.

I'm going to try with the Live DVD

EDIT: It seems there is not this problem with the live dvd... I'll test it again but maybe it's only a "broken" configuration

Last edited by allin (2017-01-08 20:02:18)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 599.88 KiB (Peak: 616.72 KiB) ]