Package: devtodo
Version: 0.1.18-1
Severity: normal

Sometimes I'll get a segfault when removing an entry with tdr. I believe
I've seen this on other architectures, but I know it at least happens
with amd64 (which isn't an official architecture yet).

The .todo file I've had trouble with is (or will be shortly) attached,
as well as an strace of where it dies. There aren't any debugging
symbols, so I can't get a backtrace with gdb (I suppose I could
recompile it with debugging symbols if it would be helpful).

With the attached .todo, it looks like:

$ todo +
- 1.Get kwartz-mkmethod working
- 2.Update manpages
$ tdr 2
Segmentation fault
$ tdr 1
Segmentation fault
$ todo +
- 1.Get kwartz-mkmethod working
- 2.Update manpages
$

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.11.6
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages devtodo depends on:
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.4.3-12   GCC support library
ii  libncurses5                 5.4-4        Shared libraries for terminal hand
ii  libreadline4                4.3-15       GNU readline and history libraries
ii  libstdc++5                  1:3.3.5-12   The GNU Standard C++ Library v3

-- no debconf information
execve("/usr/bin/tdr", ["tdr", "2"], [/* 36 vars */]) = 0
uname({sys="Linux", node="tonberry", ...}) = 0
brk(0)                                  = 0x557000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2aaaaaabf000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=91726, ...}) = 0
mmap(NULL, 91726, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2aaaaaac0000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libreadline.so.4", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>[EMAIL PROTECTED]"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0644, st_size=226000, ...}) = 0
mmap(NULL, 1277456, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2aaaaabc1000
mprotect(0x2aaaaabed000, 1097232, PROT_NONE) = 0
mmap(0x2aaaaacc1000, 225280, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0) 
= 0x2aaaaacc1000
mmap(0x2aaaaacf8000, 3600, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aaaaacf8000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libncurses.so.5", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\371"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0644, st_size=357424, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2aaaaacf9000
mmap(NULL, 1407768, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2aaaaacfa000
mprotect(0x2aaaaad3f000, 1125144, PROT_NONE) = 0
mmap(0x2aaaaadfa000, 356352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0) 
= 0x2aaaaadfa000
mmap(0x2aaaaae51000, 2840, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aaaaae51000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libstdc++.so.5", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\333"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0644, st_size=830608, ...}) = 0
mmap(NULL, 1950528, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2aaaaae52000
mprotect(0x2aaaaaeff000, 1241920, PROT_NONE) = 0
mmap(0x2aaaaaf52000, 831488, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0) 
= 0x2aaaaaf52000
mmap(0x2aaaab01d000, 70464, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aaaab01d000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libm.so.6", O_RDONLY)        = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>[EMAIL PROTECTED]"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0644, st_size=550208, ...}) = 0
mmap(NULL, 1596072, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2aaaab02f000
mprotect(0x2aaaab0b2000, 1059496, PROT_NONE) = 0
mmap(0x2aaaab12f000, 548864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0) 
= 0x2aaaab12f000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p \0\0\0"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0644, st_size=45312, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2aaaab1b5000
mmap(NULL, 1092288, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2aaaab1b6000
mprotect(0x2aaaab1c0000, 1051328, PROT_NONE) = 0
mmap(0x2aaaab2b6000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0) 
= 0x2aaaab2b6000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\324"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0644, st_size=1295328, ...}) = 0
mmap(NULL, 2354760, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2aaaab2c1000
mprotect(0x2aaaab3e3000, 1166920, PROT_NONE) = 0
mmap(0x2aaaab4c1000, 241664, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x100000) = 0x2aaaab4c1000
mmap(0x2aaaab4fc000, 15944, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aaaab4fc000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2aaaab500000
arch_prctl(ARCH_SET_FS, 0x2aaaab500520) = 0
munmap(0x2aaaaaac0000, 91726)           = 0
brk(0)                                  = 0x557000
brk(0x578000)                           = 0x578000
brk(0)                                  = 0x578000
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7ffffffff430) = -1 ENOTTY 
(Inappropriate ioctl for device)
access("/home/wjl/.terminfo/x/xterm", R_OK) = -1 ENOENT (No such file or 
directory)
access("/etc/terminfo/x/xterm", R_OK)   = 0
open("/etc/terminfo/x/xterm", O_RDONLY) = 3
read(3, "\32\1\34\0\35\0\17\0\235\1\226\4", 12) = 12
read(3, "xterm|X11 terminal emulator\0", 28) = 28
read(3, "\0\1\0\0\1\0\0\0\1\0\0\0\0\1\1\0\0\0\0\0\0\0\1\0\0\1\0"..., 29) = 29
read(3, "\0", 1)                        = 1
read(3, "P\0\10\0\30\0\377\377\377\377\377\377\377\377\377\377\377"..., 30) = 30
read(3, "\0\0\4\0\6\0\10\0\31\0\36\0&\0*\0.\0\377\3779\0J\0L\0P"..., 826) = 826
read(3, "\33[Z\0\7\0\r\0\33[%i%p1%d;%p2%dr\0\33[3g\0\33["..., 1174) = 1174
read(3, "", 10)                         = 0
close(3)                                = 0
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7ffffffff430) = -1 ENOTTY 
(Inappropriate ioctl for device)
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7ffffffff400) = -1 ENOTTY 
(Inappropriate ioctl for device)
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7ffffffff560) = -1 ENOTTY 
(Inappropriate ioctl for device)
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7ffffffff530) = -1 ENOTTY 
(Inappropriate ioctl for device)
ioctl(0, TIOCGWINSZ, {ws_row=55, ws_col=91, ws_xpixel=0, ws_ypixel=0}) = 0
ioctl(0, TIOCGWINSZ, {ws_row=55, ws_col=91, ws_xpixel=0, ws_ypixel=0}) = 0
ioctl(0, TIOCSWINSZ, {ws_row=55, ws_col=91, ws_xpixel=0, ws_ypixel=0}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1181152, ...}) = 0
mmap(NULL, 1181152, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2aaaab501000
close(3)                                = 0
stat("/etc/inputrc", {st_mode=S_IFREG|0644, st_size=1633, ...}) = 0
open("/etc/inputrc", O_RDONLY)          = 3
read(3, "# /etc/inputrc - global inputrc "..., 1633) = 1633
close(3)                                = 0
stat("/home/wjl/.inputrc", 0x7ffffffff580) = -1 ENOENT (No such file or 
directory)
open("/etc//todorc", O_RDONLY)          = 3
close(3)                                = 0
open("/home/wjl/.todorc", O_RDONLY)     = 3
close(3)                                = 0
open("/etc//todorc", O_RDONLY)          = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2260, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2aaaab622000
read(3, "#\n# This is an example /etc/todo"..., 131072) = 2260
read(3, "", 131072)                     = 0
read(3, "", 131072)                     = 0
close(3)                                = 0
munmap(0x2aaaab622000, 131072)          = 0
open("/home/wjl/.todorc", O_RDONLY)     = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=8, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2aaaab622000
read(3, "comment\n", 131072)            = 8
read(3, "", 131072)                     = 0
read(3, "", 131072)                     = 0
close(3)                                = 0
munmap(0x2aaaab622000, 131072)          = 0
stat(".todo", {st_mode=S_IFREG|0644, st_size=329, ...}) = 0
open(".todo", O_RDONLY)                 = 3
close(3)                                = 0
open(".todo", O_RDONLY)                 = 3
stat(".todo", {st_mode=S_IFREG|0644, st_size=329, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=329, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2aaaab622000
read(3, "<!-- Automagically generated by "..., 131072) = 329
read(3, "", 131072)                     = 0
close(3)                                = 0
munmap(0x2aaaab622000, 131072)          = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Get kwartz-mkmethod working Update manpages

Reply via email to