2.4.8 sync_client crashes

2011-04-21 Thread Rudy Gevaert
Hi, After upgrading to 2.4.8 the sync_client crashes regularly: Fatal error: Internal error: assertion failed: seen_db.c: 127: *seendbptr == NULL Please see the attachment for a strace. I tried reconstructing the mailbox but that didn't help... On the syncserver I don't see any messages

Re: 2.4.8 sync_client crashes

2011-04-21 Thread Simon Amor
On 21 Apr 2011, at 16:51, Rudy Gevaert wrote: As some extra info if I run sync_client -u for that user I get the crash too. I have attached a gdb backtrace. I'm not sure if it will be handy. Rudy Hi Rudy, After our discussion on IRC, I would suggest the attached patch as a fix - it

Cyrus 2.3.16 \Seen flag problem

2011-04-21 Thread Julien Coloos
Hi, We encountered a bug in cyrus 2.3.16: mails freshly delivered by LMTP were already flagged \Seen while not having been read by anyone. After some investigations, we tracked it down to the code in charge of updating the seen db: function index_checkseen in imap/index.c file. That complicated

Re: 2.4.8 sync_client crashes

2011-04-21 Thread Rudy Gevaert
On 04/21/2011 06:30 PM, Simon Amor wrote: On 21 Apr 2011, at 16:51, Rudy Gevaert wrote: As some extra info if I run sync_client -u for that user I get the crash too. I have attached a gdb backtrace. I'm not sure if it will be handy. Rudy Hi Rudy, After our discussion on IRC, I would

Re: 2.4.8 sync_client crashes

2011-04-21 Thread Bron Gondwana
On Thu, Apr 21, 2011 at 05:30:14PM +0100, Simon Amor wrote: On 21 Apr 2011, at 16:51, Rudy Gevaert wrote: As some extra info if I run sync_client -u for that user I get the crash too. I have attached a gdb backtrace. I'm not sure if it will be handy. Rudy Hi Rudy, After our

Re: Cyrus 2.3.16 \Seen flag problem

2011-04-21 Thread Bron Gondwana
On Thu, Apr 21, 2011 at 06:46:25PM +0200, Julien Coloos wrote: It may be possible that some other set of conditions would trigger a similar issue. We tried to think of a clean way to solve it, but provided the complexity of that code we gave up (mainly fearing nasty side effetcs and