[Dovecot] v2.2.13.rc1 released - signal 11, Segmentation fault. in mail_cache_header_fields_read ()
Maciej Uhlig
maciej.uhlig at us.edu.pl
Thu May 15 08:59:38 UTC 2014
Timo Sirainen - 2014-05-09 15:27:
>
> I thought this was fixed already, but I guess not. It would be helpful if you could either
>
> a) Enable debug symbols so the backtrace would show exactly where it crashes
Here you are:
Core was generated by `dovecot/imap postlogin'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f636c1e44c5 in mail_cache_header_fields_read (cache=0x65fb00)
at mail-cache-fields.c:370
370 for (p = names; p != end && *p != '\0'; p++) ;
Missing separate debuginfos, use: debuginfo-install
glibc-2.12-1.132.el6.x86_64
(gdb) bt full
#0 0x00007f636c1e44c5 in mail_cache_header_fields_read (cache=0x65fb00)
at mail-cache-fields.c:370
field_hdr = 0x67c680
field = {name = 0x0, idx = 0, type =
MAIL_CACHE_FIELD_FIXED_SIZE, field_size = 0,
decision = MAIL_CACHE_DECISION_NO, last_used = 0}
last_used = 0x67c68c
sizes = 0xc67c68c
types = 0x1867c68c <Address 0x1867c68c out of bounds>
decisions = 0x1b67c68c <Address 0x1b67c68c out of bounds>
p = 0x1e67c68c <Address 0x1e67c68c out of bounds>
names = <value optimized out>
end = 0x5267c680 <Address 0x5267c680 out of bounds>
orig_key = 0x65a5d0 "mime.parts"
fidx = <value optimized out>
new_fields_count = <value optimized out>
dec = <value optimized out>
max_drop_time = 1396994400
offset = 336
i = <value optimized out>
__FUNCTION__ = "mail_cache_header_fields_read"
#1 0x00007f636c1e221a in mail_cache_open_and_verify (cache=0x65fb00) at
mail-cache.c:497
ret = 1
#2 0x00007f636c1e3e9d in mail_cache_register_get_list (cache=0x65fb00,
pool=0x673890, count_r=0x7fff745e1818)
at mail-cache-fields.c:194
list = <value optimized out>
i = <value optimized out>
#3 0x00007f636c1d8c24 in get_metadata_cache_fields (box=0x65cf10,
items=MAILBOX_METADATA_CACHE_FIELDS,
---Type <return> to continue, or q <return> to quit---
metadata_r=0x7fff745e18d0) at index-status.c:206
cache_fields = <value optimized out>
i = <value optimized out>
count = <value optimized out>
fields = <value optimized out>
dec = <value optimized out>
cf = <value optimized out>
#4 index_mailbox_get_metadata (box=0x65cf10,
items=MAILBOX_METADATA_CACHE_FIELDS, metadata_r=0x7fff745e18d0)
at index-status.c:392
No locals.
#5 0x00007f636c174520 in maildir_mailbox_get_metadata (box=<value
optimized out>,
items=MAILBOX_METADATA_CACHE_FIELDS, metadata_r=0x7fff745e18d0) at
maildir-storage.c:548
mbox = 0x65cf10
#6 0x00007f636c1ab33e in mailbox_get_metadata (box=0x65cf10,
items=MAILBOX_METADATA_CACHE_FIELDS,
metadata_r=0x7fff745e18d0) at mail-storage.c:1553
__FUNCTION__ = "mailbox_get_metadata"
#7 0x00007f636c1d97d7 in index_copy_cache_fields (ctx=0x66d470,
src_mail=0x668c50, dest_seq=4)
at index-storage.c:859
src_metadata = {guid = '\000' <repeats 15 times>, virtual_size =
0, cache_fields = 0x6732f8,
precache_fields = 0, backend_ns_prefix = 0x0, backend_ns_type = 0}
dest_metadata = {guid = '\000' <repeats 15 times>, virtual_size
= 0, cache_fields = 0x0,
precache_fields = 0, backend_ns_prefix = 0x0, backend_ns_type = 0}
field = <value optimized out>
buf = <value optimized out>
_data_stack_cur_id = 5
#8 0x00007f636c172daa in maildir_save_add (_ctx=0x66d470,
---Type <return> to continue, or q <return> to quit---
tmp_fname=0x6334b0 "1400137850.M128554P51577.dzeta.us.edu.pl",
src_mail=0x668c50) at maildir-save.c:222
ctx = 0x66d470
mdata = 0x66d480
mf = 0x66d6a8
input = <value optimized out>
keyword_count = 0
__FUNCTION__ = "maildir_save_add"
#9 0x00007f636c16f12e in maildir_copy_hardlink (ctx=0x66d470,
mail=0x668c50) at maildir-copy.c:108
dest_mbox = 0x65cf10
dest_fname = 0x6334b0 "1400137850.M128554P51577.dzeta.us.edu.pl"
size = <value optimized out>
old_abort = <value optimized out>
mf = <value optimized out>
do_ctx = {
dest_path = 0x6334e0
"/pracmail/us.edu.pl/malgorzata.gornik-durose/mail/.Podr&APMBfA-e/tmp/1400137850.M128554P51577.dzeta.us.edu.pl",
success = 1}
guid = <value optimized out>
src_mbox = <value optimized out>
path = 0x66e480 "\020\317e"
vsize = <value optimized out>
#10 maildir_copy (ctx=0x66d470, mail=0x668c50) at maildir-copy.c:137
_data_stack_cur_id = 4
_t = <value optimized out>
mbox = <value optimized out>
__FUNCTION__ = "maildir_copy"
#11 0x00007f636b825521 in notify_copy (ctx=0x66d470, mail=0x668c50) at
notify-storage.c:107
---Type <return> to continue, or q <return> to quit---
lt = 0x660020
lbox = 0x65d6c8
ret = <value optimized out>
#12 0x00007f636bc35363 in quota_copy (ctx=0x66d470, mail=0x668c50) at
quota-storage.c:220
t = 0x665e60
qt = 0x667350
qbox = 0x65d530
#13 0x00007f636c1aca5d in mailbox_copy (_ctx=<value optimized out>,
mail=0x668c50) at mail-storage.c:2149
ctx = 0x66d470
t = 0x665e60
keywords = 0x0
pvt_flags = 0
backend_mail = 0x668c50
ret = <value optimized out>
__FUNCTION__ = "mailbox_copy"
#14 0x00007f636c1acbcd in mailbox_move (_ctx=<value optimized out>,
mail=0x668c50) at mail-storage.c:2170
ctx = 0x66d470
#15 0x000000000040c667 in fetch_and_copy (cmd=0x6526f0, move=true) at
cmd-copy.c:67
search_ctx = 0x6689b0
src_trans = 0x6673c0
srcset_ctx = {str = 0x633348, first_uid = 0, last_uid = 4294967295}
ret = 1
save_ctx = 0x0
mail = 0x668c50
copy_count = 1
src_uidset = 0x633348
---Type <return> to continue, or q <return> to quit---
#16 cmd_copy_full (cmd=0x6526f0, move=true) at cmd-copy.c:123
client = 0x651ee0
dest_storage = <value optimized out>
destbox = 0x65cf10
t = 0x665e60
src_trans = <value optimized out>
search_args = 0x65bf00
messageset = 0x63ec30 "21478"
mailbox = 0x63ec38 "Podr&APMBfA-e"
src_uidset = <value optimized out>
sync_flags = 0
imap_flags = 0
changes = {pool = 0x0, uid_validity = 1810758898, saved_uids =
{arr = {buffer = 0x4,
element_size = 222429762624}, v = 0x4, v_modifiable =
0x4}, ignored_modseq_changes = 0,
changed = false, no_read_perm = false}
copy_count = <value optimized out>
msg = <value optimized out>
ret = <value optimized out>
__FUNCTION__ = "cmd_copy_full"
#17 0x0000000000418b0d in command_exec (cmd=0x6526f0) at imap-commands.c:158
hook = 0x63c110
ret = <value optimized out>
#18 0x0000000000417ae4 in client_command_input (cmd=0x6526f0) at
imap-client.c:778
client = 0x651ee0
command = <value optimized out>
__FUNCTION__ = "client_command_input"
---Type <return> to continue, or q <return> to quit---
#19 0x0000000000417c25 in client_command_input (cmd=0x6526f0) at
imap-client.c:839
client = 0x651ee0
command = <value optimized out>
__FUNCTION__ = "client_command_input"
#20 0x0000000000418095 in client_handle_next_command (client=0x651ee0)
at imap-client.c:877
No locals.
#21 client_handle_input (client=0x651ee0) at imap-client.c:889
_data_stack_cur_id = 3
ret = false
remove_io = false
handled_commands = false
__FUNCTION__ = "client_handle_input"
#22 0x000000000041896f in client_input (client=0x651ee0) at
imap-client.c:931
cmd = <value optimized out>
output = 0x64bad0
bytes = 32
__FUNCTION__ = "client_input"
#23 0x00007f636becb74d in io_loop_call_io (io=0x64bba0) at ioloop.c:441
ioloop = 0x63b750
t_id = 2
__FUNCTION__ = "io_loop_call_io"
#24 0x00007f636beccb15 in io_loop_handler_run_internal (ioloop=<value
optimized out>) at ioloop-epoll.c:220
ctx = 0x63c3f0
events = <value optimized out>
event = 0x63d260
list = 0x64bc00
---Type <return> to continue, or q <return> to quit---
io = <value optimized out>
tv = {tv_sec = 1799, tv_usec = 999456}
msecs = <value optimized out>
ret = 1
i = <value optimized out>
j = 0
call = <value optimized out>
__FUNCTION__ = "io_loop_handler_run_internal"
#25 0x00007f636becb7d9 in io_loop_handler_run (ioloop=0x63b750) at
ioloop.c:488
No locals.
#26 0x00007f636becb868 in io_loop_run (ioloop=0x63b750) at ioloop.c:465
__FUNCTION__ = "io_loop_run"
#27 0x00007f636be74a63 in master_service_run (service=0x63b5e0,
callback=<value optimized out>)
at master-service.c:566
No locals.
#28 0x00000000004227e7 in main (argc=2, argv=0x63b390) at main.c:400
set_roots = {0x42b300, 0x0}
login_set = {auth_socket_path = 0x633050 "\210\060c",
postlogin_socket_path = 0x633088 "",
postlogin_timeout_secs = 60, callback = 0x422980
<login_client_connected>,
failure_callback = 0x422cf0 <login_client_failed>,
request_auth_token = 1}
service_flags = <value optimized out>
storage_service_flags = <value optimized out>
username = <value optimized out>
c = <value optimized out>
(gdb)
Thanks.
MU
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3354 bytes
Desc: Kryptograficzna sygnatura S/MIME
URL: <http://dovecot.org/pipermail/dovecot/attachments/20140515/a01cc4d0/attachment-0001.p7s>
More information about the dovecot
mailing list