[Dovecot] imap core dump with rc25
Hi,
I had a core dump while using rc25. Here are the backtraces:
Mar 5 00:52:31 rouge dovecot: IMAP(XXXXXX): Maildir /home/XXXXXX/Mail/.Sent sync: UID < next_uid (1 < 2, file = 1173024945.P2421Q0M874108.rouge:2,S) Mar 5 00:52:31 rouge dovecot: IMAP(XXXXXX): file client.c: line 401 (_client_input): assertion failed: (!client->handling_input) Mar 5 00:52:31 rouge dovecot: child 29120 (imap) killed with signal 6
Core was generated by `imap'. Program terminated with signal 6, Aborted. Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 #0 0x00002b40d9c96545 in raise () from /lib/libc.so.6 (gdb) bt full #0 0x00002b40d9c96545 in raise () from /lib/libc.so.6 No symbol table info available. #1 0x00002b40d9c97cce in abort () from /lib/libc.so.6 No symbol table info available. #2 0x0000000000466ac5 in i_set_failure_file () No symbol table info available. #3 0x000000000046634c in i_panic () No symbol table info available. #4 0x000000000041689f in _client_input () No symbol table info available. #5 0x00000000004134e6 in cmd_fetch () No symbol table info available. #6 0x0000000000413688 in cmd_idle () No symbol table info available. #7 0x000000000041672c in _client_reset_command () No symbol table info available. #8 0x00000000004166c0 in _client_reset_command () No symbol table info available. #9 0x0000000000416805 in _client_input () No symbol table info available. #10 0x000000000046c13b in io_loop_handler_run () No symbol table info available. #11 0x000000000046b6cc in io_loop_run () No symbol table info available. #12 0x000000000041dffb in main () No symbol table info available.
Best regards,
Nico Certains hommes parlent pendant leur sommeil. Les conférenciers parlent pendant le sommeil des autres. -+- Albert Camus (1913-1960) -+-
On Mon, 2007-03-05 at 11:58 +0100, Nicolas STRANSKY wrote:
Hi,
I had a core dump while using rc25. Here are the backtraces:
Mar 5 00:52:31 rouge dovecot: IMAP(XXXXXX): Maildir /home/XXXXXX/Mail/.Sent sync: UID < next_uid (1 < 2, file = 1173024945.P2421Q0M874108.rouge:2,S)
Any idea how to reproduce these? It seems that it still happens for some people, but I can't really see why.
Mar 5 00:52:31 rouge dovecot: IMAP(XXXXXX): file client.c: line 401 (_client_input): assertion failed: (!client->handling_input)
OK, so I was correct that this condition is somehow happening.
#4 0x000000000041689f in _client_input () No symbol table info available. #5 0x00000000004134e6 in cmd_fetch () No symbol table info available. #6 0x0000000000413688 in cmd_idle () No symbol table info available. #7 0x000000000041672c in _client_reset_command () No symbol table info available. #8 0x00000000004166c0 in _client_reset_command () No symbol table info available. #9 0x0000000000416805 in _client_input () No symbol table info available.
Unfortunately this backtrace is broken. Did you get it against the exact same imap binary that produced the core?
Le 06.03.2007 17:10, Timo Sirainen a écrit :
Mar 5 00:52:31 rouge dovecot: IMAP(XXXXXX): Maildir /home/XXXXXX/Mail/.Sent sync: UID < next_uid (1 < 2, file = 1173024945.P2421Q0M874108.rouge:2,S)
Any idea how to reproduce these? It seems that it still happens for some people, but I can't really see why.
Sorry, no idea how to reproduce it. The user has read his mails many times since it happened and it didn't reproduce the segfault.
Unfortunately this backtrace is broken. Did you get it against the exact same imap binary that produced the core?
Well, yes, I'm sure that I got it against the exact same binary that produced the core.
2007-03-02 17:16 /usr/lib/dovecot/imap 2007-03-05 00:52 /home/XXXXX/core
command used was : gdb /usr/lib/dovecot/imap /home/XXXXX/core
And /usr/lib/dovecot/imap was not updated nor changed since the corefile was produced.
... Well. Unless /usr/lib/dovecot/imap is not the binary that produced the core, of course :)
Best regards,
Nico La publicité, c'est la science qui consiste à interrompre les processus du cerveau le temps de lui piquer du fric. -+- Stephen Leacock -+-
On Tue, 2007-03-06 at 17:28 +0100, Nicolas STRANSKY wrote:
Unfortunately this backtrace is broken. Did you get it against the exact same imap binary that produced the core?
Well, yes, I'm sure that I got it against the exact same binary that produced the core.
Hmm. Did it log the raw backtrace? Can you show that?
Le 06.03.2007 17:38, Timo Sirainen a écrit :
On Tue, 2007-03-06 at 17:28 +0100, Nicolas STRANSKY wrote:
Unfortunately this backtrace is broken. Did you get it against the exact same imap binary that produced the core? Well, yes, I'm sure that I got it against the exact same binary that produced the core.
Hmm. Did it log the raw backtrace? Can you show that?
No, sorry, there's nothing more than what I've already showed :
Mar 5 00:52:31 rouge dovecot: IMAP(XXXXX): Maildir /home/XXXXX/Mail/.Sent sync: UID < next_uid (1 < 2, file = 1173024945.P2421Q0M874108.rouge:2,S) Mar 5 00:52:31 rouge dovecot: IMAP(XXXXX): Disconnected: Mailbox is in inconsistent state, please relogin. Mar 5 00:52:31 rouge dovecot: IMAP(XXXXX): file client.c: line 401 (_client_input): assertion failed: (!client->handling_input)
This is strange, but really, nothing more was logged. And yes, this is really rc25.
-- Nico Mourir, ce n'est rien. Commence donc par vivre. C'est moins drôle et c'est plus long. -+- Jean Anouilh, Roméo et Juliette -+-
Le 06.03.2007 18:28, Timo Sirainen a écrit :
On Tue, 2007-03-06 at 17:52 +0100, Nicolas STRANSKY wrote:
Hmm. Did it log the raw backtrace? Can you show that? No, sorry, there's nothing more than what I've already showed :
Oh. But you are using Linux? Do HAVE_BACKTRACE_SYMBOLS and HAVE_EXECINFO_H exist in config.h?
Yes I'm using Linux x86_64 with Debian Sarge.
I have the following in config.h: #define HAVE_BACKTRACE_SYMBOLS 1 #define HAVE_EXECINFO_H 1
-- Nico Au téléphone les silences coûtent aussi cher que les paroles ; dans la vie aussi. -+- Gilbert Cesbron (1913-1979), de petites choses. -+-
participants (2)
-
Nicolas STRANSKY
-
Timo Sirainen