[Dovecot] Backtrace:dovecot/imap

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Wed Jan 12 22:53:35 EET 2011


This may be identical to the one I posted previously.

>From the log:

Jan 12 15:25:55 postamt dovecot: imap(mfxxxch): Panic: file squat-trie.c: line 876 (squat_build_word): assertion failed: (i + bytelen <= size)

Jan 12 15:25:55 postamt dovecot: imap(mfxxxch): Error: Raw backtrace:
/usr/dovecot-2/lib/dovecot/libdovecot.so.0(+0x3b861) [0xb7721861] ->
/usr/dovecot-2/lib/dovecot/libdovecot.so.0(+0x3b8cf) [0xb77218cf] ->
/usr/dovecot-2/lib/dovecot/libdovecot.so.0(i_fatal+0) [0xb76f869e] ->
/usr/dovecot-2/lib/dovecot/lib21_fts_squat_plugin.so(+0x55ca) [0xb75105ca] ->
/usr/dovecot-2/lib/dovecot/lib21_fts_squat_plugin.so(squat_trie_build_more+0x126)[0xb7510e46] ->
/usr/dovecot-2/lib/dovecot/lib21_fts_squat_plugin.so(+0x2b2c)[0xb750db2c] ->
/usr/dovecot-2/lib/dovecot/lib20_fts_plugin.so(fts_backend_build_more+0x1f)[0xb755658f] ->
/usr/dovecot-2/lib/dovecot/lib20_fts_plugin.so(+0x576c) [0xb755976c]->
/usr/dovecot-2/lib/dovecot/libdovecot-storage.so.0(mailbox_search_next_nonblock+0x38)[0xb777f9b8] -> 
dovecot/imap [mfxxxch 141.42.206.38 UID]() [0x805cbb6] -> 
dovecot/imap [mfxxxch 141.42.206.38 UID]() [0x805cf84] ->
/usr/dovecot-2/lib/dovecot/libdovecot.so.0(io_loop_handle_timeouts+0xd7)[0xb772eea7] -> /usr/dovecot-2/lib/d
Jan 12 15:25:59 postamt dovecot: master: Error: service(imap): child 7414 killed with signal 6 (core dumped)

GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/dovecot-2/libexec/dovecot/imap...done.
Reading symbols from /usr/dovecot-2/lib/dovecot/libdovecot-storage.so.0...done.
Loaded symbols for /usr/dovecot-2/lib/dovecot/libdovecot-storage.so.0
Reading symbols from /usr/dovecot-2/lib/dovecot/libdovecot.so.0...done.
Loaded symbols for /usr/dovecot-2/lib/dovecot/libdovecot.so.0
Reading symbols from /lib/i686/cmov/libc.so.6...Reading symbols from /usr/lib/debug/lib/i686/cmov/libc-2.11.2.so...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libc.so.6
Reading symbols from /lib/i686/cmov/libdl.so.2...Reading symbols from /usr/lib/debug/lib/i686/cmov/libdl-2.11.2.so...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libdl.so.2
Reading symbols from /lib/i686/cmov/librt.so.1...Reading symbols from /usr/lib/debug/lib/i686/cmov/librt-2.11.2.so...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/librt.so.1
Reading symbols from /lib/ld-linux.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.11.2.so...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/i686/cmov/libpthread.so.0...Reading symbols from /usr/lib/debug/lib/i686/cmov/libpthread-2.11.2.so...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libpthread.so.0
Reading symbols from /usr/dovecot-2/lib/dovecot/lib10_quota_plugin.so...done.
Loaded symbols for /usr/dovecot-2/lib/dovecot/lib10_quota_plugin.so
Reading symbols from /usr/dovecot-2/lib/dovecot/lib11_imap_quota_plugin.so...done.
Loaded symbols for /usr/dovecot-2/lib/dovecot/lib11_imap_quota_plugin.so
Reading symbols from /usr/dovecot-2/lib/dovecot/lib11_trash_plugin.so...done.
Loaded symbols for /usr/dovecot-2/lib/dovecot/lib11_trash_plugin.so
Reading symbols from /usr/dovecot-2/lib/dovecot/lib15_notify_plugin.so...done.
Loaded symbols for /usr/dovecot-2/lib/dovecot/lib15_notify_plugin.so
Reading symbols from /usr/dovecot-2/lib/dovecot/lib20_fts_plugin.so...done.
Loaded symbols for /usr/dovecot-2/lib/dovecot/lib20_fts_plugin.so
Reading symbols from /usr/dovecot-2/lib/dovecot/lib20_mail_log_plugin.so...done.
Loaded symbols for /usr/dovecot-2/lib/dovecot/lib20_mail_log_plugin.so
Reading symbols from /usr/dovecot-2/lib/dovecot/lib20_zlib_plugin.so...done.
Loaded symbols for /usr/dovecot-2/lib/dovecot/lib20_zlib_plugin.so
Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libbz2.so.1.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libbz2.so.1.0
Reading symbols from /usr/dovecot-2/lib/dovecot/lib21_fts_squat_plugin.so...done.
Loaded symbols for /usr/dovecot-2/lib/dovecot/lib21_fts_squat_plugin.so
Reading symbols from /usr/lib/gconv/ISO8859-1.so...Reading symbols from /usr/lib/debug/usr/lib/gconv/ISO8859-1.so...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Core was generated by `dovecot/imap'.
Program terminated with signal 6, Aborted.
#0  0xb781c430 in __kernel_vsyscall ()
#0  0xb781c430 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb75bd751 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        resultvar = <value optimized out>
        pid = -1217572876
        selftid = 7414
#2  0xb75c0b82 in *__GI_abort () at abort.c:92
        act = {__sigaction_handler = {sa_handler = 0xbf9bc380, 
            sa_sigaction = 0xbf9bc380}, sa_mask = {__val = {3078733232, 
              3214656340, 3078775202, 3214656324, 3077479936, 3214656312, 
              3078855252, 0, 3077414184, 1, 0, 1, 3078732792, 37, 3214656232, 
              3077705632, 3077700459, 3077919976, 3214656316, 212213488, 0, 
              3214656384, 3214656312, 3214656324, 3077705325, 3078732792, 0, 
              1393, 3214656344, 3077505783, 3214656316, 10}}, 
          sa_flags = -1080310860, sa_restorer = 0xb77569cc <pid.3441>}
        sigs = {__val = {32, 0 <repeats 31 times>}}
#3  0xb7721875 in default_fatal_finish (type=<value optimized out>, 
    status=<value optimized out>) at failures.c:187
        backtrace = 0xca616e0 "/usr/dovecot-2/lib/dovecot/libdovecot.so.0(+0x3b861) [0xb7721861] -> /usr/dovecot-2/lib/dovecot/libdovecot.so.0(+0x3b8cf) [0xb77218cf] -> /usr/dovecot-2/lib/dovecot/libdovecot.so.0(i_fatal+0) [0xb76f8"...
#4  0xb77218cf in i_internal_fatal_handler (ctx=0xbf9bc424, 
    format=0xb7515fd4 "file %s: line %d (%s): assertion failed: (%s)", 
    args=0xbf9bc444 "UaQ\267l\003") at failures.c:645
        status = 0
#5  0xb76f869e in i_panic (
    format=0xb7515fd4 "file %s: line %d (%s): assertion failed: (%s)")
    at failures.c:259
        ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0}
        args = 0xbf9bc444 "UaQ\267l\003"
#6  0xb75105ca in squat_build_word (ctx=0xa08cee8, uid=52317, 
    data=0xca44741 "\201", char_lengths=0xca271e1 "\002\003", size=1)
    at squat-trie.c:876
        trie = 0xa0a1988
        i = <value optimized out>
        j = <value optimized out>
        bytelen = <value optimized out>
        __FUNCTION__ = "squat_build_word"
#7  0xb7510e46 in squat_trie_build_more_real (ctx=0xa08cee8, uid=26158, 
    type=SQUAT_INDEX_TYPE_HEADER, 
    input=0xc9c8ec8 "\037\357\277\275\b\b\357\277\275K2,S\n0\357\277\275\067\001\357\277\275W\n\357\277\275\004\304\273\357\277\275I\016\357\277\275\005\004\rI\357\277\275[\357\277\275&@\357\277\275TH^\357\277\275\070\357\277\275\\\003\357\277\275\177'/{M`\n?\357\277\275\062\357\277\275I\357\277\275AXS\f\357\277\275\035\357\277\275Q\357\277\275\061\357\277\275\330\267\357\277\275 P\357\277\275\017\357\277\275.0\357\277\275D\b\357\277\275\327\260\357\277\275Z\357\277\275D\357\277\275\037\357\277\275^O\031\357\277\275U\037\362\232\273\267\357\277\275\017\063\001B}\357\277\275\f\357\277\275W\357\277\275T\032`\357\277\275\037\357\277\275,PF\357\277\275/\tP\357"..., size=120157) at squat-trie.c:934
        trie = <value optimized out>
        data = 0xca44150 ""
        char_lengths = 0xca26bf0 "\001\003\001\001\001\001\003\001\001\001\001\001\001\001\001\003\001\001\001\001\003\001\001\001\001\003\001\001\001\002\001\003\001\001\001\001\003\001\001\001\001\001\001\003\001\001\001\003\001\001\001\001\003\001\001\001\001\001\003\001\001\001\003\001\001\001\001\003\001\001\001\001\001\001\001\001\001\001\003\001\001\001\003\001\001\001\003\001\001\001\001\001\001\003\001\001\001\003\001\001\001\003\001\001\001\003\001\001\002\001\003\001\001\001\001\003\001\001\001\003\001\001\001\001\003\001\001\001\001\003\001\001\002\001\003\001\001\001\003\001\001\001\003\001\001\001\003\001\001\001\001\001\003\001\001\001\001\004\001\001\001\003\001\001\001\001\001\001\001\003\001\001\001\003\001\001\001\003\001\001\001\001\001\003\001\001\001\003\001\001\001\001\001\003\001\001\001\001\001\003"...
        i = <value optimized out>
        multibyte_chars = true
        ret = 0
        start = <value optimized out>
#8  squat_trie_build_more (ctx=0xa08cee8, uid=26158, 
    type=SQUAT_INDEX_TYPE_HEADER, 
    input=0xc9c8ec8 "\037\357\277\275\b\b\357\277\275K2,S\n0\357\277\275\067\001\357\277\275W\n\357\277\275\004\304\273\357\277\275I\016\357\277\275\005\004\rI\357\277\275[\357\277\275&@\357\277\275TH^\357\277\275\070\357\277\275\\\003\357\277\275\177'/{M`\n?\357\277\275\062\357\277\275I\357\277\275AXS\f\357\277\275\035\357\277\275Q\357\277\275\061\357\277\275\330\267\357\277\275 P\357\277\275\017\357\277\275.0\357\277\275D\b\357\277\275\327\260\357\277\275Z\357\277\275D\357\277\275\037\357\277\275^O\031\357\277\275U\037\362\232\273\267\357\277\275\017\063\001B}\357\277\275\f\357\277\275W\357\277\275T\032`\357\277\275\037\357\277\275,PF\357\277\275/\tP\357"..., size=120157) at squat-trie.c:963
        _data_stack_cur_id = 5
        ret = 1523
#9  0xb750db2c in fts_backend_squat_build_more (_ctx=0xa08cf08, 
    data=0xc9c8ec8 "\037\357\277\275\b\b\357\277\275K2,S\n0\357\277\275\067\001\357\277\275W\n\357\277\275\004\304\273\357\277\275I\016\357\277\275\005\004\rI\357\277\275[\357\277\275&@\357\277\275TH^\357\277\275\070\357\277\275\\\003\357\277\275\177'/{M`\n?\357\277\275\062\357\277\275I\357\277\275AXS\f\357\277\275\035\357\277\275Q\357\277\275\061\357\277\275\330\267\357\277\275 P\357\277\275\017\357\277\275.0\357\277\275D\b\357\277\275\327\260\357\277\275Z\357\277\275D\357\277\275\037\357\277\275^O\031\357\277\275U\037\362\232\273\267\357\277\275\017\063\001B}\357\277\275\f\357\277\275W\357\277\275T\032`\357\277\275\037\357\277\275,PF\357\277\275/\tP\357"..., size=120157) at fts-backend-squat.c:166
        ctx = 0xa08cf08
#10 0xb755658f in fts_backend_build_more (ctx=0xa08cf08, 
    data=0xc9c8ec8 "\037\357\277\275\b\b\357\277\275K2,S\n0\357\277\275\067\001\357\277\275W\n\357\277\275\004\304\273\357\277\275I\016\357\277\275\005\004\rI\357\277\275[\357\277\275&@\357\277\275TH^\357\277\275\070\357\277\275\\\003\357\277\275\177'/{M`\n?\357\277\275\062\357\277\275I\357\277\275AXS\f\357\277\275\035\357\277\275Q\357\277\275\061\357\277\275\330\267\357\277\275 P\357\277\275\017\357\277\275.0\357\277\275D\b\357\277\275\327\260\357\277\275Z\357\277\275D\357\277\275\037\357\277\275^O\031\357\277\275U\037\362\232\273\267\357\277\275\017\063\001B}\357\277\275\f\357\277\275W\357\277\275T\032`\357\277\275\037\357\277\275,PF\357\277\275/\tP\357"..., size=120157) at fts-api.c:124
No locals.
#11 0xb755976c in fts_build_mail_flush_headers (ctx=0xa08cc00, mail=0xa092dc8, 
    tryagain_r=0xbf9bc6ff) at fts-storage.c:83
No locals.
#12 fts_build_mail (ctx=0xa08cc00, mail=0xa092dc8, tryagain_r=0xbf9bc6ff)
    at fts-storage.c:240
        decoder_flags = <value optimized out>
        parser = 0x0
        decoder = 0x0
        raw_block = {part = 0xa0440b0, hdr = 0x0, data = 0x0, size = 0}
        prev_part = 0xa0440b0
        skip_body = false
        block = {part = 0xa0440b0, hdr = 0x0, 
          data = 0xc9b9e90 "\031\357\277\275\067S\357\277\275^\fP\357\277\275B\357\277\275Q\357\277\275]\020\357\277\275=Z\357\277\275NL]}\357\277\275\023\357\277\275!U\357\277\275WV\357\277\275$\357\277\275I\357\277\275\020Z$\357\277\275J\357\277\275A\357\277\275S6\357\277\275T\357\277\275\031#\357\277\275@\357\277\275\006\357\277\275\070\357\277\275W6`\357\277\275A\357\277\275\r6\357\277\275S\034\357\277\275\017\357\277\275\v\357\277\275\n\357\277\275\024\357\277\275\017\357\277\275^\357\277\275{\357\277\275\n\357\277\275-\357\277\275\322\256PV\021\357\277\275\001T\357\277\275O\357\277\275~W\357\277\275JQ!*\357\277\275\002*YLK9\310\224\357\277\275Z\003"..., size = 207}
        ret = <value optimized out>
        input = 0xc7fb3c8
        parts = 0xa0440b0
        body_part = true
#13 fts_build_more (ctx=0xa08cc00, mail=0xa092dc8, tryagain_r=0xbf9bc6ff)
    at fts-storage.c:625
        _data_stack_cur_id = 4
        count = 20
        ret = 168349528
#14 fts_mailbox_search_next_nonblock (ctx=0xa08cc00, mail=0xa092dc8, 
    tryagain_r=0xbf9bc6ff) at fts-storage.c:728
        fbox = 0xa08b498
        fctx = 0xa08ccd8
        ret = <value optimized out>
#15 0xb777f9b8 in mailbox_search_next_nonblock (ctx=0xa08cc00, mail=0xa092dc8, 
    tryagain_r=0xbf9bc6ff) at mail-storage.c:1182
        box = <value optimized out>
#16 0x0805cbb6 in cmd_search_more (cmd=0xa06e048) at imap-search.c:347
        ctx = 0xa06e108
        opts = SEARCH_RETURN_ALL
        sync_flags = <value optimized out>
        end_time = {tv_sec = 171970592, tv_usec = -1080309992}
        range = <value optimized out>
        count = <value optimized out>
        id = <value optimized out>
        id_min = 0
        id_max = 0
        ok_reply = <value optimized out>
        time_msecs = <value optimized out>
        tryagain = <value optimized out>
        minmax = false
        lost_data = <value optimized out>
        __FUNCTION__ = "cmd_search_more"
#17 0x0805cf84 in cmd_search_more_callback (cmd=0xa06e048) at imap-search.c:430
        client = 0xa06dbe0
        finished = <value optimized out>
#18 0xb772eea7 in io_loop_handle_timeouts_real (ioloop=0xa04c368)
    at ioloop.c:353
        timeout = 0xa401020
        item = 0xa401020
        tv = {tv_sec = 0, tv_usec = 0}
        tv_call = {tv_sec = 1294842354, tv_usec = 702529}
        t_id = 3
#19 io_loop_handle_timeouts (ioloop=0xa04c368) at ioloop.c:368
        _data_stack_cur_id = 2
#20 0xb772ff64 in io_loop_handler_run (ioloop=0xa04c368) at ioloop-epoll.c:186
        ctx = 0xa04c490
        events = <value optimized out>
        event = <value optimized out>
        list = <value optimized out>
        io = <value optimized out>
        tv = {tv_sec = 0, tv_usec = 0}
        events_count = 6
        msecs = 0
        ret = 0
        i = <value optimized out>
        j = <value optimized out>
        call = <value optimized out>
#21 0xb772ed00 in io_loop_run (ioloop=0xa04c368) at ioloop.c:404
No locals.
#22 0xb771a8ea in master_service_run (service=0xa04c2b8, 
    callback=0x805fc20 <client_connected>) at master-service.c:484
No locals.
#23 0x08060365 in main (argc=1, argv=0xa04c1c0) at main.c:375
        set_roots = {0x8062ce0, 0x0}
        service_flags = <value optimized out>
        storage_service_flags = <value optimized out>
        postlogin_socket_path = <value optimized out>
        username = <value optimized out>
        c = <value optimized out>

----- 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 at charite.de | http://www.charite.de
	    


More information about the dovecot mailing list