Hi,
I see this has already been reported on the mailing list:
http://sourceforge.net/mailarchive/message.php?msg_id=31374405
But there was no response I could see in the archive. Hopefully the
following will help make the problem clearer.
>>> 9 UID FETCH 1:70 (UID FLAGS)
Warning: lost track of 5 pulled message(s)
* 1 FETCH (UID 1 FLAGS (\Seen \Draft))
* 2 FETCH (UID 37 FLAGS (\Seen \Draft))
* 3 FETCH (UID 38 FLAGS (\Seen \Draft))
* 4 FETCH (UID 39 FLAGS (\Seen \Draft))
* 5 FETCH (UID 40 FLAGS (\Seen \Draft))
9 OK FETCH completed.
>>> 10 UID FETCH 1 (BODY.PEEK[])
(1 in progress) >>> 11 UID FETCH 37 (BODY.PEEK[])
(2 in progress) >>> 12 UID FETCH 38 (BODY.PEEK[])
(3 in progress) >>> 13 UID FETCH 39 (BODY.PEEK[])
(4 in progress) >>> 14 UID FETCH 40 (BODY.PEEK[])
10 OK FETCH completed.
Warning: message 1 from master has incomplete header.
11 OK FETCH completed.
Program received signal SIGSEGV, Segmentation fault.
0x0000000000405ad1 in msg_fetched (sts=0, aux=0x7541b0) at sync.c:322
322 c = fmap[i++];
(gdb) p fmap
$10 = 0x30 <Address 0x30 out of bounds>
(gdb) p vars
$11 = (copy_vars_t *) 0x7541b0
(gdb) p *$
$12 = {cb = 0x40a88a <msg_copied>, aux = 0x76ac84, srec = 0x7547d0,
msg = 0x76c2d0, data = {data = 0x30 <Address 0x30 out of bounds>, len
= 32, date = 0, flags = 9 '\t'}}
(gdb) p vars.msg
$13 = (message_t *) 0x76c2d0
(gdb) p *$
$14 = {next = 0x76c310, srec = 0x7547d0, size = 0, uid = 37, flags = 9
'\t', status = 4 '\004', tuid = '\000' <repeats 11 times>}
(gdb) p vars.srec
$15 = (sync_rec_t *) 0x7547d0
(gdb) p *$
$16 = {next = 0x754810, uid = {37, -2}, msg = {0x76c2d0, 0x0}, status
= 2 '\002', flags = 9 '\t', aflags = "u", dflags = "\000", tuid =
"gjKGC7j9lm2u"}
I'm not sure if data->data/len is being corrupted or just not being
set as the result of a failed IMAP operation.
I've also got a stack of Valgrind warnings doing the same operations
(although perversely it completes the sync). Let me know if you
require any more information.
--
Alex Bennée
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel