Prev: KDE4 vs. KDE3
Next: running an app on remote X
From: JakuB on 10 Apr 2010 04:09 Hello, I have a problem with Mutt which fails when I am trying to re-edit a postponed messages if there were more than one in directories ~/Maildir/postponed/new or ~/Maildir/postponed/cur. I press m for compossing a new mail message, and answer yes for the question Recall postponed message? At this moment I got a Segmentation fault. If I move messages to ~/Maildir/postponed/tmp and leave only one message in "new" or "cur" Mutt works correctly. Slackware 13, # slackpkg info mutt PACKAGE NAME: mutt-1.4.2.3-i486-1.txz I use Maildir. part of ~/.muttrc set mbox_type=Maildir set folder="~/Maildir" set mask="!^\\.[^.]" set mbox="~/Maildir" set record=+sent set spoolfile="~/Maildir" set postpone=ask-yes set postponed=+postponed What's the cause? Regards Jakub
From: Tom Canich on 10 Apr 2010 21:40 On 2010-04-10, JakuB <jakubu(a)news.onet.pl> wrote: > I have a problem with Mutt which fails when I am trying to re-edit a > postponed messages if there were more than one in directories > ~/Maildir/postponed/new or ~/Maildir/postponed/cur. Hello Jakub, Your work flow completes without fault, here. $ ls /var/log/packages/mutt* /var/log/packages/mutt-1.4.2.3-i486-1 $ cat /etc/slackware-version Slackware 13.0.0.0.0 $ ls ~/Maildir/postponed-msgs/new |wc -l 2 $ ls ~/Maildir/postponed-msgs/cur |wc -l 2 > set mbox_type=Maildir > set folder="~/Maildir" > set mask="!^\\.[^.]" > set mbox="~/Maildir" > set record=+sent > set spoolfile="~/Maildir" > set postpone=ask-yes > set postponed=+postponed These settings look fine, to me. Have you tried running strace on mutt while retrieving a postponed message? Tom
From: JakuB on 11 Apr 2010 05:26 On 2010-04-11, Tom Canich <tjc181(a)psu.edu> wrote: > [...] > Have you tried running strace on mutt while retrieving a postponed message? > Tom So we have: $ ls ~/Maildir/postponed/new |wc -l 2 $ ls ~/Maildir/postponed/cur |wc -l 0 $ starce -o mutt.txt mutt .... $ tail mutt.txt stat64("/home/jakub1/Maildir/postponed/cur", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 stat64("/home/jakub1/Maildir/postponed/new", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 open("/home/jakub1/Maildir/postponed/cur", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3 fstat64(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 getdents(3, /* 2 entries */, 4096) = 32 getdents(3, /* 0 entries */, 4096) = 0 close(3) = 0 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2679, ...}) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++
From: Tom Canich on 11 Apr 2010 20:47 That is odd. The same operation on my system: stat64("/home/tcanich/Maildir//postponed-msgs/cur", {st_mode=S_IFDIR|0700,\ st_size=4096, ...}) = 0 stat64("/home/tcanich/Maildir//postponed-msgs/new", {st_mode=S_IFDIR|0700,\ st_size=4096, ...}) = 0 \ open("/home/tcanich/Maildir//postponed-msgs/cur",\ O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3 fstat64(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 getdents(3, /* 2 entries */, 131072) = 32 getdents(3, /* 0 entries */, 131072) = 0 close(3) = 0 write(1, "\33[?25l"..., 6) = 6 write(1, "\r\33[J\33[1;3H\33(B\33[0;1m\33[37m\33[42mEx\33["..., 358) = 358 gettimeofday({1271031274, 560563}, NULL) = 0 Would you mind sharing the preceding 50 lines from mutt.txt? Tom
From: JakuB on 12 Apr 2010 13:46
On 2010-04-12, Tom Canich <tjc181(a)psu.edu> wrote: > [...] > Would you mind sharing the preceding 50 lines from mutt.txt? > > Tom I wouldn't. Delivered As Soon As Possible :-) $ tail -50 mutt.txt time(NULL) = 1270977115 write(1, "\33[H\33[36m\33[40m\33[7mq:Quit d:Del u"..., 880) = 880 write(1, "\33[?1h\33="..., 7) = 7 gettimeofday({1270977115, 641770}, NULL) = 0 poll([{fd=0, events=POLLIN}], 1, 600000) = 1 ([{fd=0, revents=POLLIN}]) gettimeofday({1270977117, 548621}, NULL) = 0 read(0, "m"..., 1) = 1 stat64("/home/jakub1/Maildir/postponed", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 access("/home/jakub1/Maildir/postponed/new", F_OK) = 0 stat64("/home/jakub1/Maildir/postponed/new", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 write(1, "\r\33[50B\33[36m\33[40mRecall postponed "..., 70) = 70 read(0, "\r"..., 1) = 1 write(1, "\33[36m\33[40myes\33[m\33[m\33[37m\33[40m"..., 29) = 29 stat64("/home/jakub1/Maildir/postponed", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 stat64("/home/jakub1/Maildir/postponed/cur", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 write(1, "\33[39D\33[36m\33[40mading /home/jakub1"..., 70) = 70 stat64("/home/jakub1/Maildir/postponed/cur", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 stat64("/home/jakub1/Maildir/postponed/new", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 open("/home/jakub1/Maildir/postponed/new", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3 fstat64(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 getdents(3, /* 4 entries */, 4096) = 104 open("/home/jakub1/Maildir/postponed/new/1270976861.3510_2.zer0", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0600, st_size=277, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7dbf000 _llseek(4, 0, [0], SEEK_CUR) = 0 read(4, "From: JakuB <jakubu(a)poczta.onet.p"..., 4096) = 277 fstat64(4, {st_mode=S_IFREG|0600, st_size=277, ...}) = 0 close(4) = 0 munmap(0xb7dbf000, 4096) = 0 write(1, "\33[C\33[36m\33[40m1\33[m\33[m\33[37m\33[40m"..., 30) = 30 open("/home/jakub1/Maildir/postponed/new/1270976961.3538_3.zer0", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0600, st_size=259, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7dbf000 _llseek(4, 0, [0], SEEK_CUR) = 0 read(4, "From: JakuB <jakub1(a)zer0.s0da.net"..., 4096) = 259 fstat64(4, {st_mode=S_IFREG|0600, st_size=259, ...}) = 0 close(4) = 0 munmap(0xb7dbf000, 4096) = 0 getdents(3, /* 0 entries */, 4096) = 0 close(3) = 0 stat64("/home/jakub1/Maildir/postponed/cur", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 stat64("/home/jakub1/Maildir/postponed/new", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 open("/home/jakub1/Maildir/postponed/cur", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3 fstat64(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 getdents(3, /* 2 entries */, 4096) = 32 getdents(3, /* 0 entries */, 4096) = 0 close(3) = 0 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2679, ...}) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Thanks for help |