imap(hardy): Panic: file istream-tee.c: line 138 (i_stream_tee_read): assertion failed: (last_high_offset == input->v_offset + size)

Hardy Flor HFlor at gmx.de
Fri Jul 4 07:59:32 UTC 2014


Dovecot version is 2.2.13-auto+84


Am 03.07.2014 17:47, schrieb Timo Sirainen:
> On 3.7.2014, at 15.52, Hardy Flor <HFlor at gmx.de> wrote:
>
>> I'm copy with imapsync (on the new server with dovecot) with a single user all mails from a old server to the new server.
>>
>> The error-message ist after 20-30 minutes in the log, and I must restart the imapsync. The next mail is normal store on the destination box.
> What Dovecot version? Can you get a gdb backtrace? http://dovecot.org/bugreport.html

-------------- next part --------------
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/lib/dovecot/imap...(no debugging symbols found)...done.
Attaching to program: /usr/lib/dovecot/imap, process 27504
ptrace: Kein passender Prozess gefunden.
[New LWP 27504]

warning: Can't read pathname for load map: Eingabe-/Ausgabefehler.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `dovecot/imap'.
Program terminated with signal 6, Aborted.
#0  0x00007fc66e1c0475 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt full
#0  0x00007fc66e1c0475 in raise () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1  0x00007fc66e1c36f0 in abort () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#2  0x00007fc66e585df5 in ?? () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#3  0x00007fc66e585e5e in ?? () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#4  0x00007fc66e53e93e in i_panic () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#5  0x00007fc66e595a21 in ?? () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#6  0x00007fc66e58ed18 in i_stream_read () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#7  0x00007fc66e58f63d in i_stream_read_data () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#8  0x00007fc66e57800e in ?? () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#9  0x00007fc66e579517 in ?? () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#10 0x00007fc66e5798a9 in message_parser_parse_next_block () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#11 0x00007fc66e8931cf in index_mail_cache_parse_continue () from /usr/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#12 0x00007fc66e88f2a3 in index_attachment_save_continue () from /usr/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#13 0x000000000040ced1 in _start ()
No symbol table info available.
(gdb)
-------------- next part --------------
# 2.2.13 (0343869d47cf): /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.5 ext4
auth_debug = yes
auth_debug_passwords = yes
auth_master_user_separator = *
auth_mechanisms = plain login
auth_username_format = %Ln
auth_verbose = yes
auth_verbose_passwords = plain
base_dir = /var/run/dovecot/
default_vsz_limit = 512 M
dict {
  acl = mysql:/etc/dovecot/conf.d/dovecot-dict-sql.conf.ext
}
first_valid_uid = 999
hostname = ptb-mail
last_valid_uid = 65533
mail_attachment_dir = /var/files/attachments
mail_attachment_hash = %{md5}
mail_attachment_min_size = 16 k
mail_debug = yes
mail_gid = vmail
mail_location = mdbox:/var/mail/user/%n:LAYOUT=fs
mail_plugins = acl listescape virtual
mail_uid = vmail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave duplicate
mdbox_rotate_size = 2000000 B
namespace {
  list = children
  location = mdbox:/var/mail/projekte/:INDEXPVT=/var/mail/user/%n/projekte
  prefix = Projekte/
  separator = /
  subscriptions = no
  type = public
}
namespace {
  list = children
  location = mdbox:/var/mail/user/%%n:INDEXPVT=/var/mail/user/%n/shared/%%u
  prefix = Benutzer/%%u/
  separator = /
  subscriptions = no
  type = shared
}
namespace inbox {
  hidden = no
  inbox = yes
  list = yes
  location = 
  mailbox Archiv {
    auto = subscribe
    special_use = \Archive
  }
  mailbox Entwürfe {
    auto = subscribe
    special_use = \Drafts
  }
  mailbox Papierkorb {
    auto = subscribe
    special_use = \Trash
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Spam {
    auto = subscribe
    special_use = \Junk
  }
  mailbox gesendet {
    auto = subscribe
    special_use = \Sent
  }
  mailbox sent {
    special_use = \Sent
  }
  mailbox trash {
    special_use = \Trash
  }
  mailbox virtual/alle {
    special_use = \All
  }
  mailbox virtual/markiert {
    special_use = \Flagged
  }
  prefix = 
  separator = /
  subscriptions = yes
  type = private
}
namespace virtual {
  location = virtual:/etc/dovecot/virtual:INDEX=/var/mail/user/%n/virtual:LAYOUT=fs
  prefix = virtual/
  separator = /
  type = private
}
passdb {
  args = /etc/dovecot/master-users
  driver = passwd-file
  master = yes
}
passdb {
  driver = passwd
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
plugin {
  acl = vfile
  acl_anyone = allow
  acl_shared_dict = file:/var/mail/user/share_dict
  mail_log_events = save delete undelete expunge copy flag_change mailbox_delete mailbox_rename mailbox_create append
  mail_log_fields = box msgid flags size from subject
  sieve = /var/mail/user/%u/dovecot.sieve
  sieve_dir = /var/mail/sieve/%u
  sieve_global_dir = /var/mail/sieve/_global
  sieve_max_actions = 32
  sieve_max_redirects = 4
  sieve_max_script_size = 1M
  sieve_quota_max_scripts = 0
  sieve_quota_max_storage = 0
}
postmaster_address = postmaster at ptb-gmbh.de
protocols = " imap lmtp sieve"
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
}
service dict {
  unix_listener dict {
    mode = 0600
    user = vmail
  }
}
service imap-login {
  inet_listener imap {
    port = 143
  }
  inet_listener imaps {
    port = 993
    ssl = yes
  }
}
service lmtp {
  inet_listener lmtp {
    port = 24
  }
  unix_listener /var/spool/postfix/dev/lmtp {
    mode = 0600
    user = postfix
  }
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
  process_min_avail = 0
  service_count = 1
  vsz_limit = 64 M
}
ssl_cert = </etc/apache2/ssl/server1.pem
ssl_key = </etc/apache2/ssl/server1.key
userdb {
  driver = passwd
  override_fields = home=/var/mail/user/%u uid=vmail gid=vmail
}
userdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
  override_fields = master_user=%u
}
protocol lmtp {
  mail_plugins = acl listescape virtual sieve
}
protocol lda {
  mail_plugins = acl listescape virtual sieve
}
protocol imap {
  mail_plugins = acl listescape virtual mail_log notify imap_acl
}
protocol sieve {
  info_log_path = /var/log/sieve.log
  log_path = /var/log/sieve.log
  mail_max_userip_connections = 10
}


More information about the dovecot mailing list