Package: at
Version: 3.1.8-11
Severity: grave
Justification: renders package unusable


Typing 4-6 times the command : 
$ while true; do echo "kill -9 0" | at now; done >/dev/null 2>/dev/null&

may cause atd to crash, possibly only on SMP computers.


Some more details : 

I found the bug accidentally on a Mandrake x86, and reproduced it on
this debian sparc computer.

Interestingly, I never achieved into triggering the bug on the two 
non-smp computers I also had access. The affected Mandrake was on a 
Pentium 4 with HT and had a 2.6 kernel, this one has 4 sparc processors
and a 2.4 kernel, therefore, the bug seems architecture- and kernel-version-
independant.

Some experiments with strace -p as a root lead me to think that this was
related to the speed of atd, since stracing him, and therefore 
making him slower, resulted either in getting the bug 
more quickly, or immediately.


As a workaround, I suggest adding something like 
* * * * * killall -qs0 atd || /etc/init.d/atd --force-reload 
in the root's crontab until the bug gets fixed (not tested).


Note that this packet (at 3.1.8-11) is common to stable, testing and unstable.

Update : 
Last surprise : I tried to trigger the bug on a Redhat-like IA64 SMP computer, 
but I never achieved to do it, no matter how much I typed the line. "at -V" 
also shows "at version 3.1.8 [...]" on this computer, and I've the rights 
to use the "at" command on this computer too.



-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: sparc (sparc64)
Kernel: Linux 2.4.27
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages at depends on:
ii  exim [mail-transport-agent] 3.36-13      An MTA (Mail Transport Agent)
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to