* [9fans] nupas mk install bug @ 2009-02-06 14:16 matt 2009-02-06 14:52 ` erik quanstrom 2009-02-06 19:01 ` erik quanstrom 0 siblings, 2 replies; 5+ messages in thread From: matt @ 2009-02-06 14:16 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs mk install ... snip ... cp 8.out /386/bin/nupas/Mail cp: can't create /386/bin/nupas/Mail: '/386/bin/nupas' does not exist works ok when I access my Courier server but aborts on nupas/fs/fs.c:157 when I access the imap version of http://fastmail.fm/ I've tried it on two mailboxes, it does this command 9x4 uid fetch 1:* (uid rfc822.size internaldate) then fails parsing the repsonses of the form * 99 FETCH (UID 32768 INTERNALDATE " 6-Feb-2009 08:52:33 -0500" RFC822.SIZE 74193) That's as far as I got :> Matt ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] nupas mk install bug 2009-02-06 14:16 [9fans] nupas mk install bug matt @ 2009-02-06 14:52 ` erik quanstrom 2009-02-06 19:01 ` erik quanstrom 1 sibling, 0 replies; 5+ messages in thread From: erik quanstrom @ 2009-02-06 14:52 UTC (permalink / raw) To: 9fans On Fri Feb 6 09:17:01 EST 2009, mattmobile@proweb.co.uk wrote: > mk install > ... snip ... > cp 8.out /386/bin/nupas/Mail > cp: can't create /386/bin/nupas/Mail: '/386/bin/nupas' does not exist i may be wrong, but that is intentional. i don't know of other plan 9 programs that make their own bin when installed. > 9x4 uid fetch 1:* (uid rfc822.size internaldate) > > then fails parsing the repsonses > > of the form > > * 99 FETCH (UID 32768 INTERNALDATE " 6-Feb-2009 08:52:33 -0500" > RFC822.SIZE 74193) interesting. there's nothing that looks obviously wrong with that line. it must already be out of step. would you mind applying this edit imap.c:1085,1091 - /n/sources/contrib/quanstro/src/nupas/fs//imap.c:1085,1090 } imap = emalloc(sizeof *imap); - imap->flags |= Fdebug; imap->fd = -1; imap->freep = path; imap->flags = flags; and sending along the debugging output? it's going to be a bit chatty. thanks. - erik ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] nupas mk install bug 2009-02-06 14:16 [9fans] nupas mk install bug matt 2009-02-06 14:52 ` erik quanstrom @ 2009-02-06 19:01 ` erik quanstrom 2009-02-09 14:54 ` matt 1 sibling, 1 reply; 5+ messages in thread From: erik quanstrom @ 2009-02-06 19:01 UTC (permalink / raw) To: 9fans > when I access the imap version of http://fastmail.fm/ > I've tried it on two mailboxes, it does this command > 9x4 uid fetch 1:* (uid rfc822.size internaldate) > then fails parsing the repsonses thanks for the bug report. i signed up for fastmail.fm to figure out what's going on. there were two independent failures. first, fastmail.fm takes the unusual step of reordering the requested fields. the response parser wasn't able to deal with that. simple fix. the second problem was parsing a list of flags in the return. we didn't ask for flags, but fastmail sent 'em anyway. this part of the fix seems solid, but needs a little more testing. since it's not working for you at all, would you try /n/sources/contrib/quanstro/src/imap.c? replace fs/imap.c with this file and recompile. - erik ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] nupas mk install bug 2009-02-06 19:01 ` erik quanstrom @ 2009-02-09 14:54 ` matt 2009-02-09 16:00 ` erik quanstrom 0 siblings, 1 reply; 5+ messages in thread From: matt @ 2009-02-09 14:54 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs [-- Attachment #1: Type: text/plain, Size: 441 bytes --] > /n/sources/contrib/quanstro/src/imap.c? > replace fs/imap.c with this file and recompile. > I found one in /n/sources/contrib/quanstro/imap.c and used that and it worked 99% I got a panic (attached) but when I tried to reproduce it the message had gone. It was a notice from ebay but none of my other ebay notices would trigger it. I big thank you. I'll be using it daily from now on so I'll keep an eye on it. matt [-- Attachment #2: h --] [-- Type: text/plain, Size: 1495 bytes --] term% acid 1508 /proc/1508/text:386 plan 9 executable /sys/lib/acid/port /sys/lib/acid/386 acid: lstk() abort()+0x0 /sys/src/libc/9sys/abort.c:6 _assert(s=0x3a9c3)+0x3a /sys/src/libc/port/_assert.c:12 parse(m=0xcbb38,mb=0x59ae0,addfrom=0x0,justmime=0x1)+0x83 /usr/maht/nupas/fs/mbox.c:578 parseattachments(m=0x90750,mb=0x59ae0)+0xee /usr/maht/nupas/fs/mbox.c:443 p=0xe6b00 nm=0xcbb38 l=0x90850 i=0x0 x=0x90750 parsebody(m=0x90750,mb=0x59ae0)+0x1c0 /usr/maht/nupas/fs/mbox.c:553 l=0x15 s=0x988e8 nm=0x93dbc parse(m=0x90750,mb=0x59ae0,addfrom=0x1,justmime=0x0)+0x66 /usr/maht/nupas/fs/mbox.c:582 cachebody(mb=0x59ae0,m=0x90750)+0x1db /usr/maht/nupas/fs/cache.c:495 o=0x1000 fileinfo(mb=0x59ae0,m=0x90750,t=0x0,pp=0xdfffebbc)+0xe3 /usr/maht/nupas/fs/fs.c:444 len=0xffffffff p=0x935a8 e=0x4478 i=0x4478 mkstat(m=0x90750,mb=0x59ae0,d=0xdfffebf0,t=0x0)+0xfa /usr/maht/nupas/fs/fs.c:748 p=0x4341c readmsgdir(f=0x93fd8,buf=0x511f8,blen=0x2000,off=0x0,cnt=0x2000)+0x44 /usr/maht/nupas/fs/fs.c:1109 n=0x0 pos=0x0 d=0x0 i=0x0 msg=0x587dc rread(f=0x93fd8)+0x191 /usr/maht/nupas/fs/fs.c:1173 off=0x0 cnt=0x2000 n=0x17 p=0x93fd8 t=0x13 io()+0x1c8 /usr/maht/nupas/fs/fs.c:1505 n=0x18 main(argv=0xdfffef7c,argc=0x0)+0x320 /usr/maht/nupas/fs/fs.c:395 mboxfile=0xdfffef95 nodflt=0x0 srvpost=0x0 v=0xdfffef74 _argc=0x66 _args=0x3e386 p=0x3 maildir=0x69616d2f mbox=0x0 srvfile=0x0 _main+0x31 /sys/src/libc/386/main9.s:16 acid: ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] nupas mk install bug 2009-02-09 14:54 ` matt @ 2009-02-09 16:00 ` erik quanstrom 0 siblings, 0 replies; 5+ messages in thread From: erik quanstrom @ 2009-02-09 16:00 UTC (permalink / raw) To: 9fans thanks for the report. can you send me a snap(6) of the broken process? - erik ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-02-09 16:00 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-02-06 14:16 [9fans] nupas mk install bug matt 2009-02-06 14:52 ` erik quanstrom 2009-02-06 19:01 ` erik quanstrom 2009-02-09 14:54 ` matt 2009-02-09 16:00 ` erik quanstrom
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).