Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2010-01-06 Thread David Halik
Timo, I reinstalled all our servers with -O0 and full debugging on -gdwarf-2 -g3. I should be able to look up anything you need done now. Here's some more examples with the data you asked for last time, now without optimization. I also noticed that there are a few users that seem to be

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-30 Thread David Halik
Ok, I think I've got some more info and a more accurate time line for you. I tried this on two different dumps from two different users. The count was 4 in the first example and 0 in the second. I'm guessing that's considered small? The links to my gdb sessions for both are below and have

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-29 Thread Timo Sirainen
On Wed, 2009-12-23 at 10:37 -0800, Brandon Davidson wrote: We too have set dotlock_use_excl = no. I'm not seeing the Stale NFS file handle message any more, but I am still seeing a crash. The crashes seem to be leaving the indexes in a bad state: Dec 23 09:07:44 oh-popmap3p dovecot: imap:

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-29 Thread David Halik
Hey Timo, hope you enjoyed your vacation. :) I just wanted to point out that I'm still seeing the (maildir_uidlist_records_array_delete): assertion failed: (pos != NULL) dump even after your patch. The (match == IMAP_MATCH_YES) dump is definitely fixed, but the other dump still remains...

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-29 Thread Timo Sirainen
On Thu, 2009-12-24 at 11:39 -0500, David Halik wrote: Dec 24 10:43:07 gehenna11 dovecot: IMAP(user): /rci/nqu/rci/u1/user/dovecot/.INBOX/dovecot-uidlist: Duplicate file entry at line 4: 1231949492.M325236P5922V03E80009I01B6DCA5_0.gehenna9.rutgers.edu,S=4398:2,S (uid 514 - 721) Dec 24

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-29 Thread David Halik
On 12/29/2009 6:18 PM, Timo Sirainen wrote: Wonder if there's a corresponding Expunged message reappeared, giving a new UID (old uid=x) having Dupliate file entry .. (uid x - for each log line? Meaning that the duplicate file entries are caused by those reappearing messages? (And the

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-29 Thread Timo Sirainen
On 29.12.2009, at 19.09, David Halik wrote: I'll definitely get back to you on this. Right now we're closed until after New Years and I don't want to go updating the dovecot package on all of our servers until we're all back at work. I did do some quick poking around and the count is

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-24 Thread David Halik
Dec 23 11:05:44 gehenna18.rutgers.edu dovecot: IMAP(user1): Panic: file maildir-uidlist.c: line 403 (maildir_uidlist_records_array_delete): assertion failed: (pos != NULL) This is hopefully fixed by: http://hg.dovecot.org/dovecot-1.2/rev/d00abdaf9df2 Timo, I came into work this

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-24 Thread David Halik
I should probably also post the messages leading up for reference. Note that I did not see any stale NFS messages this time, but did get the usual duplicate file messages: Dec 24 10:43:07 gehenna11 dovecot: IMAP(user): /rci/nqu/rci/u1/user/dovecot/.INBOX/dovecot-uidlist: Duplicate file

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-23 Thread David Halik
I switched all of our servers to dotlock_use_excl=no last night, but we're still seeing the errors: Dec 23 08:22:04 gehenna17.rutgers.edu dovecot: imap-login: Login: user=user1, method=PLAIN, rip=xxx.xxx.xxx.xxx, lip=xxx.xxx.xxx.xxx, TLS Dec 23 08:36:21 gehenna11.rutgers.edu dovecot:

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-23 Thread Timo Sirainen
On Wed, 2009-12-23 at 11:37 -0500, David Halik wrote: Dec 23 11:05:43 gehenna11.rutgers.edu dovecot: IMAP(user1): Maildir /rci/u1/user1/Maildir: Expunged message reappeared, giving a new UID (old uid=1, file=1231949492.M325236P5922V03E80009I01B6DCA5_0.gehenna9.rutgers.edu,S=4398:2,S) The

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-23 Thread Brandon Davidson
Timo, On 12/23/09 8:37 AM, David Halik dha...@jla.rutgers.edu wrote: I switched all of our servers to dotlock_use_excl=no last night, but we're still seeing the errors: We too have set dotlock_use_excl = no. I'm not seeing the Stale NFS file handle message any more, but I am still seeing a

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-23 Thread David Halik
Dec 23 11:05:44 gehenna18.rutgers.edu dovecot: IMAP(user1): Panic: file maildir-uidlist.c: line 403 (maildir_uidlist_records_array_delete): assertion failed: (pos != NULL) This is hopefully fixed by: http://hg.dovecot.org/dovecot-1.2/rev/d00abdaf9df2 Thanks for the help as always. I'm

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-23 Thread Timo Sirainen
On Wed, 2009-12-23 at 14:06 -0500, David Halik wrote: Dec 23 11:18:32 gehenna17.rutgers.edu dovecot: IMAP(user2): Panic: file cmd-list.c: line 242 (ns_get_listed_prefix): assertion failed: (match == IMAP_MATCH_YES) Fixed: http://hg.dovecot.org/dovecot-1.2/rev/56dd8c276ed6 signature.asc

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-23 Thread David Halik
It looks like this and the previous patch you gave me fixed both panics as intended. I pushed the changes out about five hours ago and haven't seen a single core dump yet! Thanks for such a quick fix Timo, you rock as always. If I see any change in behavior I'll post, but I think that did

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-22 Thread David Halik
I'm seeing both of these dumps on multiple users now with 1.2.9, so I went ahead and did backtraces for them both. maildir_uidlist_records_array_delete panic: http://pastebin.com/f20614d8 ns_get_listed_prefix panic: http://pastebin.com/f1420194c On 12/21/2009 12:43 PM, David Halik wrote:

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-22 Thread Brandon Davidson
:48 AM To: dovecot@dovecot.org Subject: Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace) I'm seeing both of these dumps on multiple users now with 1.2.9, so I went ahead and did backtraces for them both. maildir_uidlist_records_array_delete panic: http://pastebin.com/f20614d8

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-22 Thread David Halik
] dovecot-1.2.8 imap crash (with backtrace) I'm seeing both of these dumps on multiple users now with 1.2.9, so I went ahead and did backtraces for them both. maildir_uidlist_records_array_delete panic: http://pastebin.com/f20614d8 ns_get_listed_prefix panic: http://pastebin.com/f1420194c On 12

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-22 Thread Timo Sirainen
On 22.12.2009, at 16.42, David Halik wrote: I just double checked and we're seeing the same thing here, although we were never running with noac to begin with. Our poor NFS server would melt probably. ;) This is immediately before the crash: Dec 22 13:09:20 gehenna14.rutgers.edu

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-21 Thread David Halik
Just wanted to update you that I just upgraded all of our servers to 1.2.9 and I'm still seeing the array_delete panic: Dec 21 12:10:16 gehenna11.rutgers.edu dovecot: IMAP(user1): Panic: file maildir-uidlist.c: line 403 (maildir_uidlist_records_array_delete): assertion failed: (pos != NULL)

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-17 Thread David Halik
I found this post from a couple of weeks ago: http://www.mail-archive.com/dovecot@dovecot.org/msg24127.html Any update on this? I'm experiencing the same issue. Out of a user population of 4000, I get about 20 of these dumps a day, so it's not major issue, but I thought I'd follow up. Here

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-17 Thread Timo Sirainen
On Thu, 2009-12-17 at 12:49 -0500, David Halik wrote: I applied those patches to my 1.2.8 installation before 1.2.9 was released and that immediately fixed the expunge crash, but the array_delete bug is still there. Do you also see the duplicate file entry before the crash?

Re: [Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-17 Thread David Halik
On 12/17/2009 01:07 PM, Timo Sirainen wrote: On Thu, 2009-12-17 at 12:49 -0500, David Halik wrote: I applied those patches to my 1.2.8 installation before 1.2.9 was released and that immediately fixed the expunge crash, but the array_delete bug is still there. Do you also see the

[Dovecot] dovecot-1.2.8 imap crash (with backtrace)

2009-12-01 Thread Ralf Hildebrandt
In the log: Dec 1 17:24:00 postamt dovecot: IMAP(scx): /home/s/c/scx/Maildir/dovecot-uidlist: Duplicate file entry at line 1: 1259679049.M329485P1617.postamt.charite.de,S=142073,W=143959:2,Sb (uid 3157 - 3159) Dec 1 17:24:00 postamt dovecot: IMAP(scx): Panic: file