On 10/29/2014 02:50 PM, Matthias Egger wrote:
As soon as i can catch a coredump i will send a gdb output.
Okay, here is the gdb ouput i could catch and some more information about the system.
System Infos: SunOS HOSTNAME 5.10 Generic_150400-10 sun4u sparc SUNW,Sun-Fire-V440
Logfile Entries: Oct 30 14:27:56 HOSTNAME dovecot: [ID 583609 mail.info] imap-login: Login: user=<USERNAME>, method=PLAIN, rip=1.1.1.1, lip=2.2.2.2, mpid=15565, TLS, session=<B6os2aMGoACBhDSe>
Oct 30 14:27:56 HOSTNAME dovecot: [ID 583609 mail.debug] imap(USERNAME): Debug: Effective uid=3224, gid=320, home=/home/USERNAME
Oct 30 14:27:56 HOSTNAME dovecot: [ID 583609 mail.debug] imap(USERNAME): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=mbox:~/Mail/:INBOX=/var/mail/USERNAME:INDEX=/usr/HOSTNAME/vault2/dovecot/indexes/USERNAME
Oct 30 14:27:56 HOSTNAME dovecot: [ID 583609 mail.debug] imap(USERNAME): Debug: fs: root=/home/USERNAME/Mail, index=/usr/HOSTNAME/vault2/dovecot/indexes/USERNAME, indexpvt=, control=, inbox=/var/mail/USERNAME, alt=
Oct 30 14:27:56 HOSTNAME dovecot: [ID 583609 mail.debug] imap(USERNAME): Debug: Namespace : type=private, prefix=Mail/, sep=/, inbox=no, hidden=yes, list=no, subscriptions=yes location=mbox:~/Mail/:INBOX=/var/mail/USERNAME:INDEX=/usr/HOSTNAME/vault2/dovecot/indexes/USERNAME
Oct 30 14:27:56 HOSTNAME dovecot: [ID 583609 mail.debug] imap(USERNAME): Debug: fs: root=/home/USERNAME/Mail, index=/usr/HOSTNAME/vault2/dovecot/indexes/USERNAME, indexpvt=, control=, inbox=/var/mail/USERNAME, alt=
Oct 30 14:27:56 HOSTNAME dovecot: [ID 583609 mail.error] imap(USERNAME): Error: Next message unexpectedly corrupted in mbox file /home/USERNAME/Mail/review at 79036384
Oct 30 14:27:56 HOSTNAME dovecot: [ID 583609 mail.crit] imap(USERNAME): Panic: file mbox-sync.c: line 152 (mbox_sync_read_next_mail): assertion failed: (sync_ctx->input->v_offset != mail_ctx->mail.from_offset || sync_ctx->input->eof)
Oct 30 14:27:56 HOSTNAME dovecot: [ID 583609 mail.error] imap(USERNAME): Error: Raw backtrace: 0xffffffff7ed89f64 -> 0xffffffff7ed88f10 -> 0xffffffff7ef77a14 -> 0xffffffff7ef78a1c -> 0xffffffff7ef70720 -> 0xffffffff7c10289c -> 0xffffffff7ef96e60 -> 0xffffffff7ef8dd6c -> 0xffffffff7c102758 -> 0xffffffff7ef97130 -> 0xffffffff7ef97250 -> 0x10000c8c8 -> 0x10000ce24 -> 0x100019044 -> 0x100017b18 -> 0x100017ad8 -> 0x100017f3c -> 0x100018188 -> 0xffffffff7ed9c8a4 -> 0xffffffff7ed9d5a0 -> 0xffffffff7ed9c93c -> 0xffffffff7ed9ca0c -> 0xffffffff7ed3c314 -> 0x100024908 -> 0x10000a74c
Oct 30 14:27:57 HOSTNAME dovecot: [ID 583609 mail.crit] imap(USERNAME): Fatal: master: service(imap): child 15565 killed with signal 6 (core dumped)
GDB Output:
GNU gdb (GDB) 7.8.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.10".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from
/usr/pack/dovecot-2.2.15-me/sun4u-sun-solaris2.10/libexec/dovecot/imap...done.
[New LWP 1]
[Thread debugging using libthread_db enabled]
[New Thread 1 (LWP 1)]
Core was generated by `dovecot/imap'.
Program terminated with signal SIGABRT, Aborted.
#0 0xffffffff7cddcb68 in _lwp_kill () from /lib/64/libc.so.1
(gdb) bt full
#0 0xffffffff7cddcb68 in _lwp_kill () from /lib/64/libc.so.1
No symbol table info available.
#1 0xffffffff7cd74444 in raise () from /lib/64/libc.so.1
No symbol table info available.
#2 0xffffffff7cd4c1c8 in abort () from /lib/64/libc.so.1
No symbol table info available.
#3 0xffffffff7ed88d7c in default_fatal_finish (type=LOG_TYPE_PANIC,
status=0) at failures.c:202
backtrace = 0x100133db0 "0xffffffff7ed89f64 ->
0xffffffff7ed88f10 -> 0xffffffff7ef77a14 -> 0xffffffff7ef78a1c ->
0xffffffff7ef70720 -> 0xffffffff7c10289c -> 0xffffffff7ef96e60 ->
0xffffffff7ef8dd6c -> 0xffffffff7c102758 -> 0x"...
#4 0xffffffff7ed89f6c in i_internal_fatal_handler
(ctx=0xffffffff7fffe2e0, format=0xffffffff7effba48 "file %s: line %d
(%s): assertion failed: (%s)", args=0x0) at failures.c:666
status = 0
#5 0xffffffff7ed88f18 in i_panic (format=0xffffffff7effba48 "file %s:
line %d (%s): assertion failed: (%s)") at failures.c:276
ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0,
timestamp_usecs = 0}
#6 0xffffffff7ef77a1c in mbox_sync_do (sync_ctx=0xffffffff7fffe760,
flags=(MBOX_SYNC_FORCE_SYNC | MBOX_SYNC_READONLY | unknown: 2147477248))
at mbox-sync.c:1506
seq = 1611168
view = 0xffffffff7eeddcf8
st = 0x0
first_recent_uid = 0
seq2 = 1
mbox_hdr = 0x1
mail_ctx = {sync_ctx = 0xffffffff7fffe760, mail = {uid = 0,
idx_seq = 0, keywords = {arr = {buffer = 0x0, element_size = 0}, v =
0x0, v_modifiable = 0x0}, flags = 32 ' ', uid_broken = 0, expunged = 0,
pseudo = 0, status_broken = 0, xstatus_broken = 0,
from_offset = 558, body_size = 0, offset = 558, space = 0}, seq = 2,
hdr_offset = 558, body_offset = 558,
header_first_change = 18446744073709551615, header_last_change
= 0, header = 0x100140230, hdr_md5_sum =
"\324\035\214\331\217\000\262\004\351\200\t\230\354\370B~",
content_length = 18446744073709551615, hdr_pos =
{18446744073709551615, 18446744073709551615, 18446744073709551615,
18446744073709551615, 18446744073709551615}, parsed_uid = 0,
last_uid_updated_value = 0, last_uid_value_start_pos = 0,
have_eoh = 0, need_rewrite = 0, seen_imapbase = 0, updated = 0, recent =
0, dirty = 0, imapbase_rewrite = 0, imapbase_updated = 0}
st = 0x1001895c8
i = 0
ret = 1389811195
partial = 1389811195
#7 0xffffffff7ef78a24 in mbox_sync (mbox=0x100163a50, flags=(unknown:
0)) at mbox-sync.c:1947
sync_ctx = {mbox = 0x100163a50, flags = (unknown: 0), input =
0x100189750, file_input = 0x1001895a0, write_fd = 16, orig_mtime =
1414623452, orig_atime = 1414675298, orig_size = 80880344, last_stat = {
st_dev = 1657857376531, st_ino = 128607, st_mode = 33152,
st_nlink = 1, st_uid = 3224, st_gid = 320, st_rdev = 0, st_size =
80880344, st_atim = {tv_sec = 1414675298, tv_nsec = 859380000}, st_mtim = {
tv_sec = 1414623452, tv_nsec = 0}, st_ctim = {tv_sec =
1414623453, tv_nsec = 933899000}, st_blksize = 8192, st_blocks = 158080,
st_fstype = "nfs", '\000'
Best regards Matthias
Matthias Egger ETH Zurich Department of Information Technology maegger@ee.ethz.ch and Electrical Engineering IT Support Group (ISG.EE), ETL/F/24.1 Phone +41 (0)44 632 03 90 Physikstrasse 3, CH-8092 Zurich Fax +41 (0)44 632 11 95