Package: devtodo
Version: 0.1.20-4
Severity: normal

When I try to purge all completed items older than 730 days (about
2 years), todo seems to enter an endless loop or something.
It eats up one entire CPU core, but does nothing until I hit
[Ctrl+C] to kill it.

  $ md5sum ~/.todo
  7daf1e8843676c13be3faf01a6164fa7  /home/frx/.todo
  $ todo --purge 730 
  1137448676 < 1172245498
  1139250934 < 1172245498
  1139702306 < 1172245498
  1146322810 < 1172245498
  1149378176 < 1172245498
  1150134269 < 1172245498
  1152218683 < 1172245498
  1165435526 < 1172245498
  1167008291 < 1172245498
  1167438893 < 1172245498
  1184105153 < 1172245498
  1137949006 < 1172245498
  1139551933 < 1172245498
  1141683194 < 1172245498
  1142730463 < 1172245498
  1147030031 < 1172245498
  1149011335 < 1172245498
  1149345594 < 1172245498
  1149952562 < 1172245498
  1151768833 < 1172245498
  1163293138 < 1172245498
  1162216510 < 1172245498
  1163018517 < 1172245498
  1164577113 < 1172245498
  1166140723 < 1172245498
  1167692327 < 1172245498
  1168546306 < 1172245498
  1170401748 < 1172245498
  1170700223 < 1172245498
  1171840967 < 1172245498
  1140918064 < 1172245498
  1143651363 < 1172245498
  1143157680 < 1172245498
  1146866456 < 1172245498
  1150821864 < 1172245498
  1152985396 < 1172245498
  1153607614 < 1172245498
  1154121264 < 1172245498
  1159050071 < 1172245498
  1161556730 < 1172245498
  1172187138 < 1172245498
  1144094956 < 1172245498
  1144274692 < 1172245498
  1155417428 < 1172245498
  1160433500 < 1172245498
  1179504949 < 1172245498
  1145656697 < 1172245498
  3472609779529180486 < 1172245498
  3472609779529180486 < 1172245498
  9872064 < 1172245498
  9876640 < 1172245498
  1124571789 < 1172245498
  1130002456 < 1172245498
  1130101822 < 1172245498
  1164058125 < 1172245498
  1120083806 < 1172245498
  1222614744 < 1172245498
  1104279682 < 1172245498
  1105309491 < 1172245498
  1115839147 < 1172245498
  1124028656 < 1172245498
  1125528928 < 1172245498
  1161633478 < 1172245498
  1137893742 < 1172245498
  1139874273 < 1172245498
  1143584613 < 1172245498
  1183928177 < 1172245498
  1104790560 < 1172245498
  1141578358 < 1172245498
  1229168082 < 1172245498
  1129479537 < 1172245498
  1151094274 < 1172245498
  1107988787 < 1172245498
  1190584921 < 1172245498
  1125616376 < 1172245498
  1145975352 < 1172245498
  8751620394453328230 < 1172245498
  1188925278 < 1172245498
  1159808530 < 1172245498
  0 < 1172245498
  ^C
  $ md5sum ~/.todo
  7daf1e8843676c13be3faf01a6164fa7  /home/frx/.todo

Please note that the output is written in its entirety almost
immediately after todo is started.
Then, no more output is written, but one CPU core is 100 % busy.
After more than 1000 seconds, I give up and hit [Ctrl+C].
File ~/.todo is unaltered.

It seems to me that the --purge option does not work as intended.
What's wrong?  What did I fail to understand?

Please forward to upstream, as appropriate.


-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (800, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages devtodo depends on:
ii  libc6                     2.7-18         GNU C Library: Shared libraries
ii  libgcc1                   1:4.3.3-3      GCC support library
ii  libncurses5               5.7+20081213-1 shared libraries for terminal hand
ii  libreadline5              5.2-3.1        GNU readline and history libraries
ii  libstdc++6                4.3.3-3        The GNU Standard C++ Library v3

devtodo recommends no packages.

Versions of packages devtodo suggests:
ii  xsltproc                      1.1.24-2   XSLT command line processor

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to