-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The imap CLOSE command crash imapd #960
Comments
From: Alain Spineux Send a CLOSE command when a folder is selected crash the imap server. I posted a lot of info in the thread : Here is a cut&past of the most relevant info: == cyrmaster.log == cyrmaster.log:Aug 13 16:14:25 eg01 <error> master[32578]: process 21432 == a python script that show the problem == import imaplib, sys, types imap_server='localhost' mailbox='user/catchall.teta.loc/donald.duck@teta.loc' imap_con=imaplib.IMAP4(imap_server, imap_port) typ, dat=imap_con.setacl(mailbox, imap_login, 'lrd') == the output == OK, ['Completed']=SETACL user/catchall.teta.loc/donald.duck@teta.loc == related problemes ==
|
From: Ken Murchison I can't reproduce this problem with an unmodified 2.3.9. Perhaps this is a bug with the Kolab patches. Can you get me a backtrace from an imapd core dump? |
From: Alain Spineux (In reply to comment #1) How can I generate this backtrace ? I didn't found any info on your site. I imagine I have to : compile imapd with -g make all CFLAGS=-gthen how to get the coredump ? gdb master -dor add some line in imapd.conf or cyrus.conf ? Regards |
From: Ken Murchison I usually will do the following: cd /tmp Any core dumps should be written in /tmp. Once you get one, do: gdb /usr/cyrus/bin/imap /tmp/<corefile> |
From: Alain Spineux (In reply to comment #3) As you said :-)
>>>>>THIS LINE is 3517 I moved the imapd_mailbox=0 at the end to try Then I have no more crash and no more error in my python script Regards |
From: Alain Spineux (In reply to comment #4) but then the message is probably wrong Aug 31 16:22:22 eg01.emailgency.loc <debug> imap[23675]: open: user manager opened user/catchall.teta.loc@teta.loc the imap_close and maybe more must go to the end. |
From: Ken Murchison The LOG_DEBUG message that is causing your problem is not in the stock Cyrus 2.3.x codebase. This is either part of the Kolab patch, or some other third-party patch. |
From: Alain Spineux (In reply to comment #6) I fact this is related to https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2964 The submitted patch is the faulty one :-) I thing you can close this bug. I take advantage I know you will read this post to say I already Regards |
From: Alain Spineux
Bugzilla-Id: 2986
Version: 2.3.x
Owner: Ken Murchison
The text was updated successfully, but these errors were encountered: