On Sun, 15 May 2022, at 12:11 PM, Oswald Buddenhagen wrote: > On Sun, May 15, 2022 at 11:55:43AM +0100, Sean Hammond wrote: >>With Gmail I still get a variety of errors and warnings some of which >>cause isync to crash, [...] >> > do you mean actual crashes, like segfaults? in this case i'd like to > know details.
Not segfaults, no. isync just exits with a non-zero exit status and without having synced all the mailboxes and messages. For example: $ mbsync gmail ... C: 0/1 B: 300/330 F: +0/0 *0/0 #0/0 N: +28/28 *0/0 #0/0 Warning: lost track of 199239 pulled message(s) Socket error on imap.gmail.com (108.177.15.109:993): timeout. C: 1/1 B: 301/330 F: +0/0 *0/0 #0/0 N: +28/28 *0/0 #0/0 $ The "Warning: lost track of 199239 pulled message(s)" is just what seems to happen when you re-start isync after a previous non-zero exit. The timeout is an example of something that _causes_ a non-zero exit. This is even with my Timeout 60, maybe I should increase it further. Here's another example (different error): $ mbsync gmail ... C: 0/1 B: 300/330 F: +0/0 *0/0 #0/0 N: +270764/470003 *0/0 #0/0 IMAP error: unexpected BYE response: Session expired, please login again. Socket error: secure read from imap.gmail.com (108.177.15.109:993): error:0A000126:SSL routines::unexpected eof while reading C: 1/1 B: 301/330 F: +0/0 *0/0 #0/0 N: +270764/470003 *0/0 #0/ $ The socket error sometimes occurs without the preceding IMAP error. Those two cover everything that I've got in my terminal scrollback right now. I think I might have seen others from Gmail on another machine. They look to me like Gmail stopping responding (timeouts) or suddenly expiring isync's session, so I had put it down to Gmail just not being reliable (at least not with my personal account). I also sometimes see "Warning: message 1314163 from far side has incomplete header; skipping" when syncing Gmail although this doesn't cause isync to stop. _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel