[Dovecot] Panic: file mail-index-map.c: line 547 (mail_index_map_lookup_seq_range): assertion failed: (first_uid > 0)
Hardy Flor
HFlor at gmx.de
Tue Mar 11 20:00:06 UTC 2014
Version: 2.2.12
OS: Debian wheezy x86_64
2014 Mar 11 20:06:53 ptb-test imap(flor_hardy): Panic: file mail-index-map.c: line 547 (mail_index_map_lookup_seq_range): assertion failed: (first_uid > 0)
2014 Mar 11 20:06:53 ptb-test imap(flor_hardy): Fatal: master: service(imap): child 2760 killed with signal 6 (core dumped)
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...Reading symbols from /usr/lib/debug/usr/lib/dovecot/imap...done.
done.
[New LWP 2760]
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 0x00007f32d28b4475 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt full
#0 0x00007f32d28b4475 in raise () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1 0x00007f32d28b76f0 in abort () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#2 0x00007f32d2c78345 in default_fatal_finish (type=<optimized out>, status=status at entry=0) at failures.c:193
backtrace = 0x186d768 "/usr/lib/dovecot/libdovecot.so.0(+0x6b34f) [0x7f32d2c7834f] -> /usr/lib/dovecot/libdovecot.so.0(+0x6b3ae) [0x7f32d2c783ae] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f32d2c31e8e] -> /usr/lib/d"...
#3 0x00007f32d2c783ae in i_internal_fatal_handler (ctx=0x7fff8d12aa30, format=<optimized out>, args=<optimized out>) at failures.c:657
status = 0
#4 0x00007f32d2c31e8e in i_panic (format=format at entry=0x7f32d2fbc098 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:267
ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0}
args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fff8d12ab20, reg_save_area = 0x7fff8d12aa60}}
#5 0x00007f32d2fa03b2 in mail_index_map_lookup_seq_range (map=<optimized out>, first_uid=0, last_uid=<optimized out>,
first_seq_r=<optimized out>, last_seq_r=<optimized out>) at mail-index-map.c:549
__FUNCTION__ = "mail_index_map_lookup_seq_range"
#6 0x00007f32d2fa856d in tview_lookup_seq_range (view=0x18a6850, first_uid=0, last_uid=0, first_seq_r=0x18a79e0, last_seq_r=0x18a79e0)
at mail-index-transaction-view.c:178
tview = 0x18a6850
rec = <optimized out>
seq = <optimized out>
__FUNCTION__ = "tview_lookup_seq_range"
#7 0x00007f32d2fb17c2 in mail_index_lookup_seq (view=<optimized out>, uid=<optimized out>, seq_r=seq_r at entry=0x18a79e0)
at mail-index-view.c:522
No locals.
#8 0x00007f32d2f809b4 in index_mail_get_pvt (_mail=_mail at entry=0x18a78a0) at index-mail.c:158
No locals.
#9 0x00007f32d2f81082 in index_mail_get_pvt (_mail=0x18a78a0) at index-mail.c:152
mail = 0x18a78a0
#10 index_mail_get_flags (_mail=0x18a78a0) at index-mail.c:177
mail = 0x18a78a0
rec = <optimized out>
flags = MAIL_ANSWERED
pvt_flags_mask = <optimized out>
#11 0x00007f32d18371a4 in mail_log_append_mail_message_real (desc=0x7f32d1837504 "save", event=MAIL_LOG_EVENT_SAVE, mail=0x18a78a0,
ctx=0x18c62f0) at mail-log-plugin.c:297
muser = <optimized out>
msg = 0x18c6308
text = 0x186d310
size = 224891
#12 mail_log_append_mail_message (desc=0x7f32d1837504 "save", event=MAIL_LOG_EVENT_SAVE, mail=0x18a78a0, ctx=0x18c62f0)
at mail-log-plugin.c:335
_data_stack_cur_id = 3
#13 mail_log_append_mail_message (ctx=0x18c62f0, mail=0x18a78a0, event=MAIL_LOG_EVENT_SAVE, desc=0x7f32d1837504 "save")
at mail-log-plugin.c:320
muser = <optimized out>
#14 0x00007f32d1c3c51b in notify_contexts_mail_save (mail=mail at entry=0x18a78a0) at notify-plugin.c:63
ctx = 0x1886fc0
mail_txn = <optimized out>
#15 0x00007f32d1c3d4b0 in notify_save_finish (ctx=<optimized out>) at notify-storage.c:145
lbox = <optimized out>
dest_mail = 0x18a78a0
#16 0x00007f32d2f64582 in mailbox_save_finish (_ctx=_ctx at entry=0x189a280) at mail-storage.c:2073
ctx = 0x18a9590
t = 0x18ab220
keywords = 0x0
pvt_flags = MAIL_SEEN
copying_via_save = false
ret = <optimized out>
__FUNCTION__ = "mailbox_save_finish"
#17 0x000000000040cef1 in cmd_append_continue_message (cmd=0x189a120) at cmd-append.c:858
lit_offset = 228081
client = 0x1899540
ctx = 0x189a228
ret = <optimized out>
#18 0x00000000004183cc in command_exec (cmd=0x189a120) at imap-commands.c:158
hook = 0x18760f0
ret = <optimized out>
#19 0x000000000040c9a3 in client_input_append (cmd=0xac8) at cmd-append.c:116
ctx = 0x189a228
client = 0x1899540
reason = <optimized out>
finished = <optimized out>
lit_offset = <optimized out>
__FUNCTION__ = "client_input_append"
#20 0x00007f32d2c88ab6 in io_loop_call_io (io=0x18ab150) at ioloop.c:388
ioloop = 0x1875740
t_id = 2
#21 0x00007f32d2c89957 in io_loop_handler_run (ioloop=ioloop at entry=0x1875740) at ioloop-epoll.c:220
ctx = 0x18763d0
events = 0x0
event = 0x1877230
list = 0x1877e00
io = <optimized out>
tv = {tv_sec = 5, tv_usec = 398615}
events_count = <optimized out>
msecs = <optimized out>
ret = 1
i = <optimized out>
call = <optimized out>
__FUNCTION__ = "io_loop_handler_run"
#22 0x00007f32d2c885c8 in io_loop_run (ioloop=0x1875740) at ioloop.c:412
__FUNCTION__ = "io_loop_run"
#23 0x00007f32d2c37233 in master_service_run (service=0x18755d0, callback=callback at entry=0x420c50 <client_connected>) at master-service.c:566
No locals.
#24 0x000000000040c128 in main (argc=1, argv=0x1875390) at main.c:400
set_roots = {0x4287c0, 0x0}
login_set = {auth_socket_path = 0x186d048 "\001", postlogin_socket_path = 0x0, postlogin_timeout_secs = 60,
callback = 0x420ae0 <login_client_connected>, failure_callback = 0x4207f0 <login_client_failed>, request_auth_token = 1}
service_flags = <optimized out>
storage_service_flags = <optimized out>
username = 0x0
c = <optimized out>
********************************************************
In the "Projekte" folder several subfolderswere created.
Now, when a user wants to save more e-mails in this subfolder does this
Stop message.
The e-mails are all but saved.
-------------- next part --------------
# 2.2.12: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.4 ext4
auth_debug = yes
auth_debug_passwords = yes
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 = 1
hostname = ptb-mail
mail_attachment_dir = /var/mail/attachments
mail_attachment_hash = %{md5}
mail_attachment_min_size = 16 k
mail_debug = yes
mail_gid = vmail
mail_location = mdbox:/var/mail/user/%n
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_interval = 1 weeks
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 {
driver = pam
}
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 pop3"
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
}
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