Backtrace:dovecot/imap
Config:
# 2.2.devel (2dc8e2d): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.devel (850d80b) # OS: Linux 3.13.0-77-generic x86_64 Ubuntu 16.04 LTS auth_mechanisms = plain login default_vsz_limit = 1 G imapc_host = email.charite.de imapc_port = 993 imapc_ssl = imaps imapc_ssl_verify = no listen = *,:: mail_gid = imapproxy mail_home = /home/imapproxy/%u mail_location = imapc:~/imapc mail_plugins = mail_log notify mail_uid = imapproxy passdb { args = host=email.charite.de port=993 ssl=imaps default_fields = userdb_imapc_user=%u userdb_imapc_password=%w userdb_imapc_host=email.charite.de userdb_imapc_ssl=imaps userdb_imapc_port=993 driver = imap } plugin { sieve = file:~/sieve;active=~/.dovecot.sieve } protocols = imap service auth { inet_listener { address = 127.0.0.1 port = 12345 } } ssl = required ssl_ca =
Reading symbols from /usr/lib/dovecot/imap...Reading symbols from /usr/lib/debug/.build-id/5a/15dc6951744d026af424747e7b72a4fb550c6b.debug...done.
done.
[New LWP 21869]
Core was generated by dovecot/imap'. Program terminated with signal SIGSEGV, Segmentation fault. #0 buffer_delete (_buf=0x0, pos=0, size=0) at buffer.c:213 #0 buffer_delete (_buf=0x0, pos=0, size=0) at buffer.c:213 buf = 0x0 end_size = <optimized out> #1 0x00007f5729a7507e in array_delete_i (count=1, idx=125, array=0x7f572c12bbb8) at ../../../../src/lib/array.h:200 No locals. #2 imapc_untagged_expunge (reply=<optimized out>, mbox=0x7f572c12b840) at imapc-mailbox.c:473 msgmap = 0x7f572c146ed0 lseq = 739349904 uid = 51497 rseq = 126 #3 0x00007f5729a77632 in imapc_storage_client_untagged_cb ( reply=0x7ffdc857e400, context=0x7f572c0f7080) at imapc-storage.c:204 mcb__foreach_end = 0x7f572c12bf98 client = 0x7f572c0f7080 mbox = 0x7f572c12b840 cb = <optimized out> mcb = 0x7f572c12bf78 #4 0x00007f5729a7d90a in imapc_connection_input_untagged ( conn=conn@entry=0x7f572c119590) at imapc-connection.c:1144 imap_args = 0x7f572c11db38 data = <optimized out> size = 140012378250296 name = 0x7f572c11dc38 "EXPUNGE" value = <optimized out> parser = 0x7f572c119710 reply = {name = 0x7f572c11dc38 "EXPUNGE", num = 126, args = 0x7f572c11db38, file_args = 0x7f572c11b4c0, file_args_count = 0, resp_text_key = 0x0, resp_text_value = 0x0, untagged_box_context = 0x7f572c12b840} ret = <optimized out> #5 0x00007f5729a7f7d9 in imapc_connection_input_one (conn=0x7f572c119590) at imapc-connection.c:1398 tag = 0x7f572c11dc28 "*" ret = -1 #6 imapc_connection_input_pending (conn=0x7f572c119590) at imapc-connection.c:1766 _data_stack_cur_id = 6 ret = 1 conn = 0x7f572c119590 #7 0x00007f5729a7f82a in imapc_connection_input (conn=0x7f572c119590) at imapc-connection.c:1438 errstr = <optimized out> str = <optimized out> ret = <optimized out> #8 0x00007f572977a05c in io_loop_call_io (io=0x7f572c132740) at ioloop.c:564 ioloop = 0x7f572c136c10 t_id = 5 __FUNCTION__ = "io_loop_call_io" #9 0x00007f572977b4c1 in io_loop_handler_run_internal ( ioloop=ioloop@entry=0x7f572c136c10) at ioloop-epoll.c:220 ctx = 0x7f572c138dd0 io = <optimized out> tv = {tv_sec = 299, tv_usec = 999778} events_count = <optimized out> msecs = <optimized out> ret = 1 i = 0 j = <optimized out> call = <optimized out> __FUNCTION__ = "io_loop_handler_run_internal" #10 0x00007f572977a0e5 in io_loop_handler_run ( ioloop=ioloop@entry=0x7f572c136c10) at ioloop.c:612 No locals. #11 0x00007f572977a288 in io_loop_run (ioloop=0x7f572c136c10) at ioloop.c:588 __FUNCTION__ = "io_loop_run" #12 0x00007f5729a7ab7a in imapc_client_run_pre (client=0x7f572c0f7250, client=0x7f572c0f7250) at imapc-client.c:173 connp = 0x7f572c0f73e8 prev_ioloop = 0x7f572c0db740 #13 imapc_client_run (client=0x7f572c0f7250) at imapc-client.c:192 No locals. #14 0x00007f5729a785e0 in imapc_mailbox_run_nofetch ( mbox=mbox@entry=0x7f572c12b840) at imapc-storage.c:143 No locals. #15 0x00007f5729a78612 in imapc_mailbox_run (mbox=mbox@entry=0x7f572c12b840) at imapc-storage.c:137 No locals. #16 0x00007f5729a7a178 in imapc_sync_index (ctx=0x7f572c132140) at imapc-sync.c:405 mbox = 0x7f572c12b840 sync_rec = {uid1 = 51497, uid2 = 51497, type = MAIL_INDEX_SYNC_TYPE_EXPUNGE, add_flags = 4 '\004', remove_flags = 0 '\000', keyword_idx = 6315, guid_128 = "^kK\r2U\277\357\225
\030\220\257\330\a\t"}
seq1 = 126
seq2 = 126
#17 imapc_sync_begin (force=<optimized out>, ctx_r=<synthetic pointer>,
mbox=0x7f572c12b840) at imapc-sync.c:481
ctx = <optimized out>
sync_flags = <optimized out>
ret = <optimized out>
#18 imapc_sync (mbox=0x7f572c12b840) at imapc-sync.c:537
sync_ctx = <optimized out>
force = <optimized out>
#19 imapc_mailbox_sync_init (box=0x7f572c12b840,
flags=MAILBOX_SYNC_FLAG_EXPUNGE) at imapc-sync.c:590
mbox = 0x7f572c12b840
list = <optimized out>
changes = false
ret = <optimized out>
#20 0x00007f5729a2ea7b in mailbox_sync_init (box=box@entry=0x7f572c12b840,
flags=flags@entry=MAILBOX_SYNC_FLAG_EXPUNGE) at mail-storage.c:1672
_data_stack_cur_id = 4
ctx = <optimized out>
#21 0x00007f572a17e102 in imap_sync_init (client=client@entry=0x7f572c11be50,
box=<optimized out>, imap_flags=IMAP_SYNC_FLAG_SAFE,
flags=MAILBOX_SYNC_FLAG_EXPUNGE) at imap-sync.c:229
__FUNCTION__ = "imap_sync_init"
#22 0x00007f572a17ef97 in cmd_sync_client (sync_cmd=0x7f572c127a90)
at imap-sync.c:737
ctx = <optimized out>
flags = <optimized out>
client = 0x7f572c11be50
imap_flags = <optimized out>
no_newmail = <optimized out>
#23 cmd_sync_delayed_real (client=0x7f572c11be50) at imap-sync.c:856
cmd = <optimized out>
first_expunge = <optimized out>
first_nonexpunge = <optimized out>
#24 cmd_sync_delayed (client=client@entry=0x7f572c11be50) at imap-sync.c:864
_data_stack_cur_id = 3
#25 0x00007f572a1726d8 in client_handle_input (client=0x7f572c11be50)
at imap-client.c:1088
remove_io = <optimized out>
handled_commands = <optimized out>
client = 0x7f572c11be50
#26 0x00007f572a172b65 in client_input (client=0x7f572c11be50)
at imap-client.c:1119
cmd = 0x27284
output = 0x7f572c11d080
bytes = 153
__FUNCTION__ = "client_input"
#27 0x00007f572977a05c in io_loop_call_io (io=0x7f572c1198c0) at ioloop.c:564
ioloop = 0x7f572c0db740
t_id = 2
__FUNCTION__ = "io_loop_call_io"
#28 0x00007f572977b4c1 in io_loop_handler_run_internal (
ioloop=ioloop@entry=0x7f572c0db740) at ioloop-epoll.c:220
ctx = 0x7f572c0dd250
io = <optimized out>
tv = {tv_sec = 1739, tv_usec = 992115}
events_count = <optimized out>
msecs = <optimized out>
ret = 1
i = 0
j = <optimized out>
call = <optimized out>
__FUNCTION__ = "io_loop_handler_run_internal"
#29 0x00007f572977a0e5 in io_loop_handler_run (
ioloop=ioloop@entry=0x7f572c0db740) at ioloop.c:612
No locals.
#30 0x00007f572977a288 in io_loop_run (ioloop=0x7f572c0db740) at ioloop.c:588
__FUNCTION__ = "io_loop_run"
#31 0x00007f572970fe63 in master_service_run (service=0x7f572c0db5e0,
callback=<optimized out>) at master-service.c:640
No locals.
#32 0x00007f572a165b32 in main (argc=1, argv=0x7f572c0db390) at main.c:460
set_roots = {0x7f572a38f700
----- End forwarded message -----
Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
On 29 Apr 2016, at 14:31, Ralf Hildebrandt Ralf.Hildebrandt@charite.de wrote:
#0 buffer_delete (_buf=0x0, pos=0, size=0) at buffer.c:213 #0 buffer_delete (_buf=0x0, pos=0, size=0) at buffer.c:213 buf = 0x0 end_size = <optimized out> #1 0x00007f5729a7507e in array_delete_i (count=1, idx=125, array=0x7f572c12bbb8) at ../../../../src/lib/array.h:200 No locals. #2 imapc_untagged_expunge (reply=<optimized out>, mbox=0x7f572c12b840) at imapc-mailbox.c:473 msgmap = 0x7f572c146ed0 lseq = 739349904 uid = 51497 rseq = 126
Oh, imapc expunges were broken when imapc_features didn't have "modseq". https://github.com/dovecot/core/commit/de8fc9d21460bf0369d671e9ba9361592379a...
- Timo Sirainen tss@iki.fi:
Oh, imapc expunges were broken when imapc_features didn't have "modseq". https://github.com/dovecot/core/commit/de8fc9d21460bf0369d671e9ba9361592379a...
Fixed, thanks!
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
participants (2)
-
Ralf Hildebrandt
-
Timo Sirainen