[Dovecot] Problem with IMAP (rename and delete non existent folder).
I don't know if this problem exists only in my version of dovecot, or in all...
To reproduce BUG do this (use gdb):
telnet localhost 143 o login addr@email.sth verystrong_pass
o delete "kj-test-folder" o rename "kj-test-folder" o rename "kj-test-folder" "other-folder" SIGABRT
Of course kj-test-folder is not exist.
BT:
#31 0xb7da0022 in free () from /lib/tls/libc.so.6 #32 0x0813313a in pool_system_free (pool=0x8169060, mem=0x8146161) at mempool-system.c:92 #33 0x080de02f in mailbox_list_clear_error (list=0x81885e8) at mailbox-list.c:762 #34 0x080dd5ae in mailbox_list_get_mailbox_name_status (list=0x81885e8, name=0x81a4258 "other-folder", status=0xbfe9cae0) at mailbox-list.c:394
My version of Dovecot is 1.2beta1. Do you know anything about this bug? Please help.
-- Konrad
On Fri, 8 May 2009, Lenthir wrote:
I don't know if this problem exists only in my version of dovecot, or in all...
To reproduce BUG do this (use gdb):
telnet localhost 143 o login addr@email.sth verystrong_pass
o delete "kj-test-folder" o rename "kj-test-folder" o rename "kj-test-folder" "other-folder" SIGABRT
I'm running dovecot 1.2.rc3(hg revision 9018:0bb192fe0abd) on AIX 5.3 with mbox files. Here are my tests: 2 create "kj-test-folder" 2 OK Create completed. 3 rename "kj-test-folder" 3 NO Empty mailbox name. 4 delete "kj-test-folder" 4 OK Delete completed. 5 rename "kj-test-folder" 5 NO Empty mailbox name. 6 rename "kj-test-folder" "other-folder" 6 NO [NONEXISTENT] Mailbox doesn't exist: kj-test-folder
So I'm not seeing the error.
jsiegle@psu.edu pisze:
I'm running dovecot 1.2.rc3(hg revision 9018:0bb192fe0abd) on AIX 5.3 with mbox files. Here are my tests: 2 create "kj-test-folder" 2 OK Create completed. 3 rename "kj-test-folder" 3 NO Empty mailbox name. 4 delete "kj-test-folder" 4 OK Delete completed. 5 rename "kj-test-folder" 5 NO Empty mailbox name. 6 rename "kj-test-folder" "other-folder" 6 NO [NONEXISTENT] Mailbox doesn't exist: kj-test-folder
So I'm not seeing the error.
Not exacly this way :/ I checked this scenario and It works for me... Don't create this folder!
Could you test this scenario?
(after login) 1 delete "kj-test-folder" 1 NO [NONEXISTENT] Folder does not exist 2 rename "kj-test-folder" 2 NO Empty mailbox name. 3 rename "kj-test-folder" "other-folder" (Here communication hangs, when GDB is running I've got SIGABRT.)
And this is the shortest way to SIGABRT:
(after login) 1 delete "some-unexistent-folder" 1 NO [NONEXISTENT] Folder does not exist 2 rename "some-unexistent-folder" "some-other-name" (Here communication hangs, when GDB is running I've got SIGABRT.)
Could you test this?
Thanks in advance, Konrad
On Fri, 8 May 2009, Lenthir wrote:
Not exacly this way :/ I checked this scenario and It works for me... Don't create this folder!
Could you test this scenario?
(after login) 1 delete "kj-test-folder" 1 NO [NONEXISTENT] Folder does not exist 2 rename "kj-test-folder" 2 NO Empty mailbox name. 3 rename "kj-test-folder" "other-folder" (Here communication hangs, when GDB is running I've got SIGABRT.)
1 delete "kj-test-folder" 1 NO [NONEXISTENT] Mailbox doesn't exist: kj-test-folder 2 rename "kj-test-folder" 2 NO Empty mailbox name. 3 rename "kj-test-folder" "other-folder" 3 NO [NONEXISTENT] Mailbox doesn't exist: kj-test-folder 4 logout
- BYE Logging out 4 OK Logout completed.
(after login) 1 delete "some-unexistent-folder" 1 NO [NONEXISTENT] Folder does not exist 2 rename "some-unexistent-folder" "some-other-name" (Here communication hangs, when GDB is running I've got SIGABRT.)
Could you test this?
1 delete "some-unexistent-folder"
- BAD Error in IMAP command 1: Unknown command. 2 rename "some-unexistent-folder" "some-other-name" 2 NO [NONEXISTENT] Mailbox doesn't exist: some-unexistent-folder 3 logout
- BYE Logging out 3 OK Logout completed.
If nothing else, build the latest version and install in a different prefix then listen on another port.
-Jonathan
1 delete "some-unexistent-folder"
- BAD Error in IMAP command 1: Unknown command. 2 rename "some-unexistent-folder" "some-other-name" 2 NO [NONEXISTENT] Mailbox doesn't exist: some-unexistent-folder 3 logout
- BYE Logging out 3 OK Logout completed.
If nothing else, build the latest version and install in a different prefix then listen on another port.
Thanks for your reply....
We were waiting for stable version, but now We are going to merge our project with rc3...
We've planned to correct this bug, but now it's useless...
Anyone know when the release of stable version is planned? :)
-- Konrad
On Fri, 8 May 2009, Lenthir wrote:
We were waiting for stable version, but now We are going to merge our project with rc3...
I've been learning mercurial and it has made life so much easier by using the queues option. The most annoying part is deleting the patch because Timo fixed it in upstream(Thanks Timo!!). I can merge the latest version of dovecot with my patches quickly, rebuild the source tree, and start testing about 15 minutes later. Mozilla has good docs on using mercurial with queues. I haven't used a dovecot*.tar.gz file for months now.
The learning curve was not that bad either. svn is still a mystery to me.
-- Jonathan
participants (2)
-
jsiegle@psu.edu
-
Lenthir