! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Xfdesktop crashes when reloading frequently
Status:
RESOLVED: FIXED
Product:
Xfdesktop
Component:
General

Comments

Description Andrew Conkling 2005-05-14 02:58:13 CEST
I have been running the script at the following link to reload my xfdesktop 
every half hour with a background list (all JPGs approximately 1500x1000).  
However, after a few days, xfdesktop behaves strangely: high CPU for no apparent 
reason (and not when it's reloading) and freezing when right-clicking on the 
desktop.  The latter causes a hard freeze (I must 'killall -9 Xorg') so I am 
unable to get a backtrace, but I will try to reproduce in other ways (refreshing 
many times manually?).
Comment 1 Andrew Conkling 2005-05-14 03:51:39 CEST
Sure enough, if I reload a lot (probably 50 times), the CPU is erratically (but 
constantly) high after that, almost like it snowballs.  Let me know if there's 
anything I can do.
Comment 2 Damir Perisa 2005-08-03 12:40:11 CEST
Created attachment 282 
primitive way of having different wallpaper every 2 minutes

i use this script to reload xfdesktop to have a slideshow as wallpaper in
xfce4. it works fine for long time (tested for over 4 hours; every 2 min 2 new
images (2 screens with 2 lists as backdrops)) so i cannot reproduce your crash.


what i observe is that every time xfdesktop is run by this script, the CPU goes
to 100% for about 2 seconds. this is not really cool behaviour as the machine
is not really responsible for this short time every 2 minutes. 

a possible solution would be to implement in xfdesktop a flag to only reload
the wallpaper and stay running. only loading new images do not need CPU that
much. ... or the best solution would be to have a built-in option of slideshow
in backdrops.
Comment 3 Damir Perisa 2005-08-03 12:45:11 CEST
sorry, i forgot to mention: i use xfce 4.2.2 
Comment 4 Brian J. Tarricone (not reading bugmail) 2005-08-03 18:08:34 CEST
(In reply to comment #2)
> Created an attachment (id=282) [edit]
> primitive way of having different wallpaper every 2 minutes
[...]

Errr... looks like you're on the wrong bug...
Comment 5 Brian J. Tarricone (not reading bugmail) 2005-10-31 08:34:55 CET
Hey Andrew - if you happen to be using SVN, can you reproduce this problem with
current SVN?  I seem to remember I fixed a potentital crash problem a couple
months ago that may be related.  Or it may not...
Comment 6 Andrew Conkling 2005-11-01 16:51:48 CET
I am on SVN and I'll check this soon.  I haven't been using this script for a 
while now since it wasn't working.  If I find anything, should I try to run it 
through gdb or something?
Comment 7 Andrew Conkling 2005-11-04 03:35:22 CET
Hey Brian,
We're looking at two days of xfdesktop being switched.  I've been using the 
same pictures as before.  For the last few hours, I've actually left it on to 
switch every minute.  A nice slideshow. :)  Mem usage is very low and has not 
increased at all.

For what it's worth, I started a list from scratch, so I've been manually 
removing ones in the Desktop prefs that I don't want to see again.  However, 
when I press Save, the image changes immediately, then quickly changes again.  
Want me to open another bug for that?
Comment 8 Andrew Conkling 2005-12-03 18:54:09 CET
After a few weeks, no increased mem usage or crashes.  I'm closing this.

Bug #955

Reported by:
Andrew Conkling
Reported on: 2005-05-14
Last modified on: 2009-07-14

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
1 user

Version

Attachments

Additional information