Bug 141803 - kalarmd blocks the system (games) once a minute
Summary: kalarmd blocks the system (games) once a minute
Status: CLOSED FIXED
Alias: None
Product: kalarm
Classification: Applications
Component: kalarmd (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: David Jarvie
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-16 21:22 UTC by olig9
Modified: 2009-08-05 01:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
The contents of ~/.kde/share/apps/kalarm/ (946 bytes, application/x-gzip)
2007-04-23 22:27 UTC, olig9
Details

Note You need to log in before you can comment on or make changes to this bug.
Description olig9 2007-02-16 21:22:37 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Hello,

it looks like the kalarmd process running on my system behaves "bad" once a minute... If I play games like BZFlag or Tremulous (ie. 3D-games), they are halting for maybe 500ms once a minute... In Tremulous I have a clock and can see that this happens exactly once a minute (plus/minus 1 second).
These stops don't occur any more after I kill kalarmd (with `killall kalarmd`).

It seems like the process does something pretty CPU-intensive every minute... Do you have an idea what could be causing the blocking, and how to stop it?

Thanks,
Oliver
Comment 1 David Jarvie 2007-02-19 13:37:10 UTC
I wouldn't expect a performance hit like that. How many alarms do you have set up in KAlarm? And how many of those are recurring? Can you please confirm what version of KAlarm you are running (use Help -> About)?
Comment 2 olig9 2007-02-21 21:26:53 UTC
Hmm... there's one alarm scheduled (which I originally did for a one-time wake-up event on Jan. 18 2007 3:50h in the morning); but looking at the details, it seems like there's some handling error... Apparently the alarm is rescheduled every minute for the next minute (without actually doing anything else)... Looks like I'm too stupid for kalarm, or the app is too complicated :-)

Anyway, after disabling the "alarm repeat", kalarm doesn't seem to block the system any more.
Comment 3 David Jarvie 2007-02-22 00:57:49 UTC
What type of alarm is it - is it a command alarm? It would be useful to know details in case there's a way that KAlarm can handle it better.
Comment 4 David Jarvie 2007-04-17 13:50:08 UTC
Can you provide full details of the alarm? I'd like to check if there is anything that KAlarm is doing wrong, so that other people don't encounter the problem you did.
Comment 5 olig9 2007-04-23 22:25:59 UTC
Sorry for not responding, and thanks for the reminder :-) Apparently the alarm has been deleted automatically seven days after I have turned it off - but luckily there were still the backup files in .kde/share/apps/kalarm/ :-D

Attached is the content of that folder; the backup files contain the alarm I had set. Is this sufficient, or should I try to restore the alarm and check the GUI then?
Comment 6 olig9 2007-04-23 22:27:56 UTC
Created attachment 20366 [details]
The contents of ~/.kde/share/apps/kalarm/

The contents of ~/.kde/share/apps/kalarm/ , including backup files
Comment 7 David Jarvie 2007-04-24 14:34:44 UTC
Thanks. Just to be sure, can you confirm that the alarm is the one for 21/2/07 at 22:45, with a repeating audio file? (That seems to be the only alarm present.) You said originally that the alarm was set to repeat every minute - did you use the recurrence tab to set that up, or did you use the Simple Repetition button to set it up? That could make a big difference to how it was handled.
Comment 8 olig9 2007-04-24 19:00:30 UTC
Indeed there should be just one alarm in that file, but that was for Jan. 18 2007, before 04:40h German time :-) (guessing from calendar.ics54fh9a.new it was set to 04:15h, which is quite probable).

I'm pretty sure that I did not use the Simple Repetition button, but used the Recurrence tab for this.
Comment 9 David Jarvie 2007-11-11 03:11:03 UTC
A similar bug, where KAlarm hangs on startup and freezes the system for a while, has now been fixed (SVN commits 735153 and 735154). Because I can't reproduce this bug, and the fix for the other bug may well also have fixed this one, I'm now marking this bug also as fixed.

New versions (1.4.19 and 1.9.9beta) of KAlarm containing the fix should be available from http://www.astrojar.org.uk/kalarm tomorrow.