[Dovecot] another assertion failure in current 1.1 hg (1.1.3 was working fine) - file message-address.c: line 43 (parse_local_part): assertion failed: (ctx->parser.data != ctx->parser.end)

Diego Liziero diegoliz at gmail.com
Wed Sep 17 01:18:21 EEST 2008


file message-address.c: line 43 (parse_local_part): assertion failed:
(ctx->parser.data != ctx->parser.end)

#0  0x001b3402 in __kernel_vsyscall ()
No symbol table info available.
#1  0x0043ed20 in raise () from /lib/libc.so.6
No symbol table info available.
#2  0x00440631 in abort () from /lib/libc.so.6
No symbol table info available.
#3  0x080f6968 in default_fatal_finish (type=LOG_TYPE_PANIC, status=0)
at failures.c:150
        backtrace = 0x90e9ed8 "/usr/libexec/dovecot/imap [0x80f6946]
-> /usr/libexec/dovecot/imap [0x80f7207] ->
/usr/libexec/dovecot/imap(i_fatal+0) [0x80f6ac0] ->
/usr/libexec/dovecot/imap [0x80eaee7] -> /usr/.
#4  0x080f7207 in i_internal_fatal_handler (type=LOG_TYPE_PANIC,
status=0, fmt=0x8122bf0 "file %s: line %d (%s): assertion failed:
(%s)", args=0xbfe92c54 "�+\022\b+") at failures.c:430
No locals.
#5  0x080f6ac0 in i_panic (format=0x8122bf0 "file %s: line %d (%s):
assertion failed: (%s)") at failures.c:197
        args = 0xbfe92c54 "�+\022\b+"
#6  0x080eaee7 in parse_local_part (ctx=0xbfe92d78) at message-address.c:43
        ret = 0
        __PRETTY_FUNCTION__ = "parse_local_part"
#7  0x080eb373 in parse_addr_spec (ctx=0xbfe92d78) at message-address.c:163
        ret = 24
        ret2 = -1
#8  0x080eb49d in parse_mailbox (ctx=0xbfe92d78) at message-address.c:200
        start = (const unsigned char *) 0x90fba9f ""
        ret = -1
#9  0x080eb503 in parse_mailbox_list (ctx=0xbfe92d78) at message-address.c:214
        ret = 151951304
#10 0x080eb5c9 in parse_group (ctx=0xbfe92d78) at message-address.c:246
        ret = 152025736
#11 0x080eb64c in parse_address (ctx=0xbfe92d78) at message-address.c:268
        start = (const unsigned char *) 0x90fba88 "undisclosed-recipients:"
        ret = 151951000
#12 0x080eb68b in parse_address_list (ctx=0xbfe92d78,
max_addresses=4294967294) at message-address.c:283
        ret = 0
#13 0x080eb78f in message_address_parse_real (pool=0x90e9500,
data=0x90fba88 "undisclosed-recipients:", size=23,
max_addresses=4294967295, fill_missing=true) at message-address.c:320
        ctx = {pool = 0x90e9500, parser = {data = 0x90fba9f "", end =
0x90fba9f "", last_comment = 0x90e9570}, first_addr = 0x90e97c8,
last_addr = 0x90e97c8, addr = {next = 0x0, name = 0x0, route = 0x0,
    mailbox = 0x0, domain = 0x0, invalid_syntax = false}, str =
0x90e9698, fill_missing = true}
        ret = 1
#14 0x080eb7e0 in message_address_parse (pool=0x90e9500,
data=0x90fba88 "undisclosed-recipients:", size=23,
max_addresses=4294967295, fill_missing=true) at message-address.c:331
        addr = (struct message_address *) 0x90e9500
#15 0x080ac097 in search_header_arg (arg=0x90ef6c0, ctx=0xbfe92f80) at
index-search.c:424
        addr = (struct message_address *) 0x90ff31c
        str = (string_t *) 0x17
        _data_stack_cur_id = 5
        msg_search_ctx = (struct message_search_context *) 0x91032f0
        block = {part = 0x0, hdr = 0xbfe92e38, data = 0x0, size = 0}
        hdr = {name = 0x811a0f0 "", name_len = 0, value = 0x90fba88
"undisclosed-recipients:", value_len = 23, full_value = 0x90fba88
"undisclosed-recipients:", full_value_len = 23, middle = 0x90fdd53 ":
",
  middle_len = 0, name_offset = 0, full_value_offset = 4, continues =
0, continued = 0, eoh = 0, no_newline = 0, crlf_newline = 0,
use_full_value = 0}
        ret = 0
#16 0x080b537a in search_arg_foreach (arg=0x90ef6c0,
callback=0x80abe09 <search_header_arg>, context=0xbfe92f80) at
mail-search.c:85
        subarg = (struct mail_search_arg *) 0x0
        __PRETTY_FUNCTION__ = "search_arg_foreach"
#17 0x080b53a4 in mail_search_args_foreach (args=0x90ef6c0,
callback=0x80abe09 <search_header_arg>, context=0xbfe92f80) at
mail-search.c:98
        result = 1
#18 0x080ac2f7 in search_header (hdr=0x90fec80, ctx=0xbfe92f80) at
index-search.c:491
No locals.
#19 0x080ed97e in message_parse_header (input=0x90fa8f8, hdr_size=0x0,
flags=MESSAGE_HEADER_PARSER_FLAG_CLEAN_ONELINE, callback=0x80ac22f
<search_header>, context=0xbfe92f80) at message-header-parser.c:389
        hdr_ctx = (struct message_header_parser_ctx *) 0x90fec80
        hdr = (struct message_header_line *) 0x90fec80
        ret = 1
        __PRETTY_FUNCTION__ = "message_parse_header"
#20 0x080ac691 in search_arg_match_text (args=0x90ef678,
ctx=0x90fb7a8) at index-search.c:580
        hdr_ctx = {index_context = 0x90fb7a8, args = 0x90ef678, hdr =
0x90fec80, parse_headers = 0, custom_header = 1, threading = 0}
        input = (struct istream *) 0x90fa8f8
        headers_ctx = (struct mailbox_header_lookup_ctx *) 0x90fb068
        headers = (const char * const *) 0x90e9458
        have_headers = true
        have_body = false
        __PRETTY_FUNCTION__ = "search_arg_match_text"
#21 0x080ad3e1 in search_match_next (ctx=0x90fb7a8) at index-search.c:967
        arg = (struct mail_search_arg *) 0x90fb7a8
        ret = -1
#22 0x080ad703 in index_storage_search_next_nonblock (_ctx=0x90fb7a8,
mail=0x90f8f68, tryagain_r=0xbfe93083) at index-search.c:1042
        _data_stack_cur_id = 4
        ctx = (struct index_search_context *) 0x90fb7a8
        box = (struct mailbox *) 0x90f7c80
        count = 6
        ret = 1
#23 0x080b6e1d in mailbox_search_next_nonblock (ctx=0x90fb7a8,
mail=0x90f8f68, tryagain_r=0xbfe93083) at mail-storage.c:653
No locals.
#24 0x0805f60e in cmd_search_more (cmd=0x90ef600) at cmd-search.c:83
        ctx = (struct imap_search_context *) 0x90ef738
        end_time = {tv_sec = 151975096, tv_usec = 1}
        tryagain = false
        ret = 135224202
#25 0x0805f78e in cmd_search_more_callback (cmd=0x90ef600) at cmd-search.c:132
        client = (struct client *) 0x90ef368
        finished = false
#26 0x08100310 in io_loop_handle_timeouts_real (ioloop=0x90ed9b0) at
ioloop.c:298
        timeout = (struct timeout *) 0x90fecd8
        item = (struct priorityq_item *) 0x90fecd8
        tv = {tv_sec = 0, tv_usec = 0}
        tv_call = {tv_sec = 1221553327, tv_usec = 767240}
        t_id = 3
#27 0x0810036a in io_loop_handle_timeouts (ioloop=0x90ed9b0) at ioloop.c:309
        _data_stack_cur_id = 2
#28 0x0810102c in io_loop_handler_run (ioloop=0x90ed9b0) at ioloop-epoll.c:175
        ctx = (struct ioloop_handler_context *) 0x90edaa8
        events = (struct epoll_event *) 0x90edae8
        event = (const struct epoll_event *) 0x90edae8
        list = (struct io_list *) 0x90ef568
        io = (struct io_file *) 0x0
        tv = {tv_sec = 0, tv_usec = 0}
        events_count = 4
        t_id = 2
        msecs = 0
        ret = 0
        i = 0
        j = 3
        call = true
#29 0x081003ac in io_loop_run (ioloop=0x90ed9b0) at ioloop.c:320
No locals.
#30 0x0806debd in main (argc=1, argv=0xbfe93234, envp=0xbfe9323c) at main.c:293
No locals.


More information about the dovecot mailing list