Kernel panic in dovecot-ee-lmtp on Debian 8

Tobi tobster at brain-force.ch
Tue Apr 26 07:24:28 UTC 2016



Am 25.04.2016 um 18:01 schrieb Timo Sirainen:
> 
> Can you get a core dump and gdb backtrace? See http://dovecot.org/bugreport.html#coredumps
>
I tried to send the mail yesterday with the backtrace and the coredump.
But it was too big for this list :-)
So here the backtrace attached and the coredump as tar.gz on my webpage:
https://brain-force.ch/wp-content/uploads/2016/04/core.dump_.tar.gz
Hopefully it helps

> 
> Looks like somehow caused by sieve extprograms.
> 
the only external script that I have running on my dovecot is gpgit
(https://gitlab.com/mikecardwell/gpgit) which I implemented like

plugin {
    sieve_plugins = sieve_extprograms
    sieve_extensions = +vnd.dovecot.filter
    sieve_filter_bin_dir = /etc/dovecot/sieve-filters
}

and
ln -s /path/to/gpgit/gpgit.pl /etc/dovecot/sieve-filters/gpgit

Best Regards

tobi
-------------- next part --------------
(gdb) bt full
#0  0x00007f44c7dc0067 in raise () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1  0x00007f44c7dc1448 in abort () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#2  0x00007f44c81bbde6 in ?? () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#3  0x00007f44c81bbedc in ?? () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#4  0x00007f44c81605be in i_panic () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#5  0x00007f44c81d0fc1 in io_loop_handle_remove () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#6  0x00007f44c81cf4af in ?? () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#7  0x00007f44c81dbeda in ?? () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#8  0x00007f44c81da566 in ?? () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#9  0x00007f44c81da6ee in o_stream_destroy () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#10 0x00007f44c6cd044b in program_client_close_output (pclient=pclient at entry=0x1fe7f70) at program-client.c:54
        ret = 1
#11 0x00007f44c6cd0a14 in program_client_program_output (pclient=0x1fe7f70) at program-client.c:215
        input = <optimized out>
        output = 0x1fd5330
        data = <optimized out>
        size = 33378920
        ret = <optimized out>
#12 0x00007f44c81dcd88 in ?? () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#13 0x00007f44c81cfc6c in io_loop_call_io () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#14 0x00007f44c81d10d1 in io_loop_handler_run_internal () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#15 0x00007f44c81cfcf5 in io_loop_handler_run () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#16 0x00007f44c81cfe98 in io_loop_run () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#17 0x00007f44c6cd1308 in program_client_run (pclient=0x1fe7f70) at program-client.c:510
        ret = 0
#18 0x00007f44c4d1b5b8 in cmd_filter_operation_execute (renv=0x1fe5548, address=0x1fe3593) at cmd-filter.c:190
        mail = 0x1fa1300
        this_ext = 0x1fa1300
        is_test = 0
        args_list = 0x1efafd0
        error = SIEVE_ERROR_NONE
        pname = 0x1efaf48
        program_name = 0x1fe3593 "gpgit"
        args = 0x1efb068
        newmsg = 0x0
        sprog = 0x1fd36d0
        ret = 1
#19 0x00007f44c6c902ac in sieve_interpreter_operation_execute (interp=0x1fe54f0) at sieve-interpreter.c:870
        _data_stack_cur_id = 4
        op = 0x7f44c4f1fa40 <cmd_filter_operation>
        result = 1
        oprtn = 0x1fe55d8
        address = 0x1fe5590
#20 sieve_interpreter_continue (interp=interp at entry=0x1fe54f0, interrupted=interrupted at entry=0x0) at sieve-interpreter.c:908
        renv = 0x1fe5548
        address = 0x1fe5590
        ret = 1
#21 0x00007f44c6c9049a in sieve_interpreter_start (interp=interp at entry=0x1fe54f0, result=<optimized out>, interrupted=interrupted at entry=0x0) at sieve-interpreter.c:939
        ext_count = <optimized out>
        i = <optimized out>
---Type <return> to continue, or q <return> to quit---
#22 0x00007f44c6c904cb in sieve_interpreter_run (interp=0x1fe54f0, result=0x1fe6500) at sieve-interpreter.c:950
        ret = 0
#23 0x00007f44c6ca39e0 in sieve_run (sbin=0x1fdf4d0, result=result at entry=0x7ffde7386f80, msgdata=0x7ffde7387060, senv=0x7ffde7387140, ehandler=<optimized out>, flags=<optimized out>) at sieve.c:343
        interp = 0x1fe54f0
        ret = 0
#24 0x00007f44c6ca4567 in sieve_execute (sbin=<optimized out>, msgdata=<optimized out>, senv=<optimized out>, exec_ehandler=<optimized out>, action_ehandler=0x1fd54f0, flags=<optimized out>, keep=0x0)
    at sieve.c:552
        result = 0x1fe6500
        ret = <optimized out>
#25 0x00007f44c6f09b6b in lda_sieve_singlescript_execute (srctx=<optimized out>) at lda-sieve-plugin.c:449
        action_ehandler = 0x1fd54f0
        sbin = 0x1fdf4d0
        mdctx = 0x7ffde73872d0
        script = 0x1fd31f0
        cpflags = SIEVE_COMPILE_FLAG_NOGLOBAL
        error = SIEVE_ERROR_NONE
#26 lda_sieve_execute (storage_r=<optimized out>, srctx=<optimized out>) at lda-sieve-plugin.c:865
        msgdata = {mail = 0x1fa1300, return_path = 0x1f36fd8 "Neuigkeiten at PCP.CH", orig_envelope_to = 0x1f37260 "tobster at brain-force.ch", final_envelope_to = 0x1f37260 "tobster at brain-force.ch", 
          auth_user = 0x1fa5c18 "tobster at brain-force.ch", id = 0x1fa1c80 "<1724304819.2560055.1461552436159.JavaMail.WEB03$@10.100.8.5>"}
        estatus = {last_storage = 0x0, message_saved = 0, message_forwarded = 0, tried_default_save = 0, keep_original = 0, store_failed = 0}
        mdctx = 0x7ffde73872d0
        svinst = 0x0
        scriptenv = {user = 0x1fa5b20, default_mailbox = 0x40986a "INBOX", postmaster_address = 0x1f355f0 "postmaster at brain-force.ch", mailbox_autocreate = false, mailbox_autosubscribe = false, 
          script_context = 0x7ffde73872d0, smtp_start = 0x7f44c6f08740 <lda_sieve_smtp_start>, smtp_add_rcpt = 0x7f44c6f08730 <lda_sieve_smtp_add_rcpt>, smtp_send = 0x7f44c6f08720 <lda_sieve_smtp_send>, 
          smtp_finish = 0x7f44c6f08700 <lda_sieve_smtp_finish>, duplicate_check = 0x7f44c6f086c0 <lda_sieve_duplicate_check>, duplicate_mark = 0x7f44c6f086e0 <lda_sieve_duplicate_mark>, 
          duplicate_flush = 0x7f44c6f086b0 <lda_sieve_duplicate_flush>, reject_mail = 0x7f44c6f086a0 <lda_sieve_reject_mail>, exec_status = 0x7ffde7387050, trace_stream = 0x0, trace_config = {
            level = SIEVE_TRLVL_NONE, flags = 0}}
#27 lda_sieve_deliver_mail (mdctx=0x1fd31f0, storage_r=0x1b83) at lda-sieve-plugin.c:926
        _data_stack_cur_id = 3
        srctx = {svinst = 0x1fcf4c0, mdctx = 0x7ffde73872d0, home_dir = 0x1fa7d30 "/home/vmail/brain-force.ch/tobster", scripts = 0x1efae68, script_count = 1, user_script = 0x1fd31f0, 
          main_script = 0x1fd31f0, msgdata = 0x7ffde7387060, scriptenv = 0x7ffde7387140, user_ehandler = 0x1fd29d0, master_ehandler = 0x1fd28c0, action_ehandler = 0x0, 
          userlog = 0x1efaee8 "/home/vmail/brain-force.ch/tobster/.dovecot.sieve.log"}
        svenv = {hostname = 0x1f98ce0 "mbox1.brain-force.ch", domainname = 0x0, base_dir = 0x1fa6f00 "/var/run/dovecot/", username = 0x1fa5c18 "tobster at brain-force.ch", 
          home_dir = 0x1fa7d30 "/home/vmail/brain-force.ch/tobster", temp_dir = 0x1fa7ff0 "/tmp", flags = SIEVE_FLAG_HOME_RELATIVE, location = SIEVE_ENV_LOCATION_MDA, 
          delivery_phase = SIEVE_DELIVERY_PHASE_DURING}
        i = 0
        ret = 1
#28 0x00007f44c877b849 in mail_deliver () from /usr/lib/dovecot/libdovecot-lda.so.0
No symbol table info available.
#29 0x00000000004064b3 in ?? ()
No symbol table info available.
#30 0x0000000000406cb4 in ?? ()
No symbol table info available.
#31 0x00007f44c81cfc6c in io_loop_call_io () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#32 0x00007f44c81d10d1 in io_loop_handler_run_internal () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#33 0x00007f44c81cfcf5 in io_loop_handler_run () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#34 0x00007f44c81cfe98 in io_loop_run () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#35 0x00007f44c81660e3 in master_service_run () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#36 0x0000000000404cb5 in main ()
No symbol table info available.



More information about the dovecot mailing list