Latest HG Changes (fac92b5) affect Sieve-Plugin/LMTP
# 2.2.devel (c73322f): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.devel (fac92b5) # OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.6
==> /var/log/dovecot/dovecot.log <== Oct 15 09:50:15 nihlus dovecot: lmtp(11447): Connect from local Oct 15 09:50:15 nihlus dovecot: lmtp(tlx@leuxner.net): Panic: file lda-sieve-plugin.c: line 447 (lda_sieve_execute_scripts): assertion failed: (script != NULL) Oct 15 09:50:15 nihlus dovecot: lmtp(tlx@leuxner.net): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x938ae) [0x7fd161fc18ae] -> /usr/lib/dovecot/libdovecot.so.0(+0x9399c) [0x7fd161fc199c] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fd161f5b6de] -> /usr/lib/dovecot/modules/lib90_sieve_plugin.so(+0x3af8) [0x7fd15fdf8af8] -> /usr/lib/dovecot/libdovecot-lda.so.0(mail_deliver+0x49) [0x7fd16258bb39] -> dovecot/lmtp DATA tlx@leuxner.net [0x7fd1629bc24e] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x4c) [0x7fd161fd5e4c] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x10a) [0x7fd161fd730a] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x25) [0x7fd161fd5ed5] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7fd161fd6078] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7fd161f61be3] -> dovecot/lmtp DATA tlx@leuxner.net [0x7fd1629ba382] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fd161ba4b45] -> dovecot/lmtp DATA tlx@leuxner.net [0x7fd1629ba430] Oct 15 09:50:15 nihlus dovecot: lmtp(tlx@leuxner.net): Fatal: master: service(lmtp): child 11447 killed with signal 6 (core not dumped)
Oct 15 09:50:15 nihlus dovecot: lmtp(tlx@leuxner.net): Fatal: master: service(lmtp): child 11447 killed with signal 6 (core not dumped)
#0 0x00007fdc0b5d7067 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 resultvar = 0 pid = 22091 selftid = 22091 #1 0x00007fdc0b5d8448 in __GI_abort () at abort.c:89 save_stage = 2 act = {__sigaction_handler = {sa_handler = 0x3ed, sa_sigaction = 0x3ed}, sa_mask = {__val = {520, 140736754611104, 140583104653368, 513, 140583064431555, 140583029016568, 140583104653368, 513, 140583064421862, 140736754611344, 140583064603266, 140583104653368, 140736754611232, 0, 140583064603369, 140583104653368}}, sa_flags = 194885514, sa_restorer = 0x7fffd443f401} sigs = {__val = {32, 0 <repeats 15 times>}} #2 0x00007fdc0b9e08a6 in default_fatal_finish (type=<optimized out>, status=status@entry=0) at failures.c:201 backtrace = 0x7fdc0e03a870 "/usr/lib/dovecot/libdovecot.so.0(+0x938ae) [0x7fdc0b9e08ae] -> /usr/lib/dovecot/libdovecot.so.0(+0x9399c) [0x7fdc0b9e099c] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fdc0b97a6de] -> /usr/lib/d"... #3 0x00007fdc0b9e099c in i_internal_fatal_handler (ctx=0x7fffd443f470, format=<optimized out>, args=<optimized out>) at failures.c:670 status = 0 #4 0x00007fdc0b97a6de in i_panic (format=format@entry=0x7fdc098187f8 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:275 ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0, timestamp_usecs = 0} args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fffd443f570, reg_save_area = 0x7fffd443f4b0}} #5 0x00007fdc09817af8 in lda_sieve_execute_scripts (srctx=0x7fffd443f690) at lda-sieve-plugin.c:447 sbin = 0x0 script = 0x0 cpflags = (unknown: 0) exflags = (unknown: 0) discard_script = <optimized out> i = <optimized out> ret = <optimized out> svinst = 0x7fdc0e133240 action_ehandler = 0x0 more = true exec_ehandler = <optimized out> debug = false user_script = <optimized out> mdctx = 0x7fffd443f8b0 mscript = 0x7fdc0e135d18 last_script = 0x0 compile_error = false error = SIEVE_ERROR_NONE #6 lda_sieve_execute (storage_r=0x7fffd443f888, srctx=0x7fffd443f690) at lda-sieve-plugin.c:821 msgdata = {mail = 0x7fdc0e0c64d0, return_path = 0x7fdc0e06e038 "tlx@leuxner.net", orig_envelope_to = 0x7fdc0e06e2c8 "tlx@leuxner.net", final_envelope_to = 0x7fdc0e06e2c8 "tlx@leuxner.net", auth_user = 0x7fdc0e0cb200 "tlx@leuxner.net", id = 0x7fdc0e0c6e60 "<DC8C3112-32D5-4B64-989F-D0E6B15E5123@leuxner.net>"} estatus = {last_storage = 0x0, message_saved = 0, message_forwarded = 0, tried_default_save = 0, keep_original = 0, store_failed = 0} trace_config = {level = SIEVE_TRLVL_NONE, flags = 0} debug = <optimized out> ret = <optimized out> mdctx = 0x7fffd443f8b0 svinst = <optimized out> scriptenv = {user = 0x7fdc0e0cb100, default_mailbox = 0x7fdc0c3de258 "INBOX", postmaster_address = 0x7fdc0e06cf38 "postmaster@leuxner.net", mailbox_autocreate = false, mailbox_autosubscribe = false, script_context = 0x7fffd443f8b0, smtp_start = 0x7fdc098168c0 <lda_sieve_smtp_start>, smtp_add_rcpt = 0x7fdc098168b0 <lda_sieve_smtp_add_rcpt>, smtp_send = 0x7fdc098168a0 <lda_sieve_smtp_send>, smtp_finish = 0x7fdc09816880 <lda_sieve_smtp_finish>, duplicate_check = 0x7fdc09816840 <lda_sieve_duplicate_check>, duplicate_mark = 0x7fdc09816860 <lda_sieve_duplicate_mark>, duplicate_flush = 0x7fdc09816830 <lda_sieve_duplicate_flush>, reject_mail = 0x7fdc09816820 <lda_sieve_reject_mail>, exec_status = 0x7fffd443f610, trace_log = 0x0, trace_config = {level = SIEVE_TRLVL_NONE, flags = 0}} trace_log = 0x0 #7 lda_sieve_deliver_mail (mdctx=<optimized out>, storage_r=0x7fffd443f888) at lda-sieve-plugin.c:883 _data_stack_cur_id = 3 srctx = {svinst = 0x7fdc0e133240, mdctx = 0x7fffd443f8b0, home_dir = 0x7fdc0e0cceb8 "/var/vmail/domains/leuxner.net/tlx", scripts = 0x7fdc0e03a750, script_count = 1, user_script = 0x7fdc0e128630, main_script = 0x7fdc0e128630, discard_script = 0x0, msgdata = 0x7fffd443f620, scriptenv = 0x7fffd443f700, user_ehandler = 0x7fdc0e132d40, master_ehandler = 0x7fdc0e11b590, action_ehandler = 0x0, userlog = 0x7fdc0e03a7d8 "/var/vmail/domains/leuxner.net/tlx/.dovecot.sieve.log"} debug = <optimized out> svenv = {hostname = 0x7fdc0e0aa700 "spectre.leuxner.net", domainname = 0x0, base_dir = 0x7fdc0e0cc2b8 "/var/run/dovecot", username = 0x7fdc0e0cb200 "tlx@leuxner.net", home_dir = 0x7fdc0e0cceb8 "/var/vmail/domains/leuxner.net/tlx", temp_dir = 0x7fdc0e0cd170 "/tmp", flags = SIEVE_FLAG_HOME_RELATIVE, location = SIEVE_ENV_LOCATION_MDA, delivery_phase = SIEVE_DELIVERY_PHASE_DURING} i = <optimized out> ret = 0 #8 0x00007fdc0bfaab39 in mail_deliver (ctx=ctx@entry=0x7fffd443f8b0, storage_r=storage_r@entry=0x7fffd443f888) at mail-deliver.c:478 ret = <optimized out> #9 0x00007fdc0c3db24e in client_deliver (session=0x7fdc0e0cacf0, src_mail=0x7fdc0e0c64d0, rcpt=0x7fdc0e06e288, client=0x7fdc0e06caf0) at commands.c:890 set_parser = <optimized out> line = <optimized out> str = <optimized out> mail_error = 235329232 ret = <optimized out> input = <optimized out> ns = <optimized out> delivery_time_started = {tv_sec = 1476519591, tv_usec = 878671} sets = <optimized out> storage = 0x0 mail_set = <optimized out> username = <optimized out> dctx = {pool = 0x7fdc0e0cacd0, set = 0x7fdc0e0aa6a0, session = 0x7fdc0e0cacf0, timeout_secs = 30, session_time_msecs = 15, delivery_time_started = {tv_sec = 1476519591, tv_usec = 878671}, dup_ctx = 0x7fdc0e119bb0, session_id = 0x7fdc0e06e020 "QqxoM6fmAVhLVgAAgUOSbA", src_mail = 0x7fdc0e0c64d0, src_envelope_sender = 0x7fdc0e06e038 "tlx@leuxner.net", dest_user = 0x7fdc0e0cb100, dest_addr = 0x7fdc0e06e2c8 "tlx@leuxner.net", final_dest_addr = 0x7fdc0e06e2c8 "tlx@leuxner.net", dest_mailbox_name = 0x7fdc0c3de258 "INBOX", dest_mail = 0x0, var_expand_table = 0x0, tempfail_error = 0x0, tried_default_save = false, saved_mail = false, save_dest_mail = false, mailbox_full = false, dsn = false} lda_set = <optimized out> error = <optimized out> #10 client_deliver_next (session=0x7fdc0e0cacf0, src_mail=0x7fdc0e0c64d0, client=0x7fdc0e06caf0) at commands.c:930 count = <optimized out> #11 client_input_data_write_local (input=<optimized out>, client=0x7fdc0e06caf0) at commands.c:1026 src_mail = 0x7fdc0e0c64d0 first_uid = 4294967295 session = 0x7fdc0e0cacf0 old_uid = 0 #12 client_input_data_write (client=0x7fdc0e06caf0) at commands.c:1161 input = 0x7fdc0e0892d0 #13 client_input_data_handle (client=0x7fdc0e06caf0) at commands.c:1256 data = <optimized out> size = 1453 ret = <optimized out> #14 0x00007fdc0b9f4e4c in io_loop_call_io (io=0x7fdc0e06d6d0) at ioloop.c:584 ioloop = 0x7fdc0e040740 t_id = 2 __FUNCTION__ = "io_loop_call_io" #15 0x00007fdc0b9f630a in io_loop_handler_run_internal (ioloop=ioloop@entry=0x7fdc0e040740) at ioloop-epoll.c:222 ctx = 0x7fdc0e046360 io = <optimized out> tv = {tv_sec = 299, tv_usec = 983781} events_count = <optimized out> msecs = <optimized out> ret = 1 i = 0 j = <optimized out> call = <optimized out> __FUNCTION__ = "io_loop_handler_run_internal" #16 0x00007fdc0b9f4ed5 in io_loop_handler_run (ioloop=ioloop@entry=0x7fdc0e040740) at ioloop.c:632 No locals. #17 0x00007fdc0b9f5078 in io_loop_run (ioloop=0x7fdc0e040740) at ioloop.c:608 __FUNCTION__ = "io_loop_run" #18 0x00007fdc0b980be3 in master_service_run (service=0x7fdc0e0405e0, callback=<optimized out>) at master-service.c:641 No locals. #19 0x00007fdc0c3d9382 in main (argc=1, argv=0x7fdc0e040390) at main.c:125 set_roots = {0x7fdc0c1af400 <lda_setting_parser_info>, 0x7fdc0c5e0580 <lmtp_setting_parser_info>, 0x0} service_flags = <optimized out> storage_service_flags = <optimized out> c = <optimized out>
# doveconf -d | grep discard # doveconf -a | grep discard sieve_discard = ~/.dovecot.sieve
When set the crash disappears.
Op 10/15/2016 om 9:55 AM schreef Thomas Leuxner:
# 2.2.devel (c73322f): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.devel (fac92b5) # OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.6
==> /var/log/dovecot/dovecot.log <== Oct 15 09:50:15 nihlus dovecot: lmtp(11447): Connect from local Oct 15 09:50:15 nihlus dovecot: lmtp(tlx@leuxner.net): Panic: file lda-sieve-plugin.c: line 447 (lda_sieve_execute_scripts): assertion failed: (script != NULL) Oct 15 09:50:15 nihlus dovecot: lmtp(tlx@leuxner.net): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x938ae) [0x7fd161fc18ae] -> /usr/lib/dovecot/libdovecot.so.0(+0x9399c) [0x7fd161fc199c] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fd161f5b6de] -> /usr/lib/dovecot/modules/lib90_sieve_plugin.so(+0x3af8) [0x7fd15fdf8af8] -> /usr/lib/dovecot/libdovecot-lda.so.0(mail_deliver+0x49) [0x7fd16258bb39] -> dovecot/lmtp DATA tlx@leuxner.net [0x7fd1629bc24e] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x4c) [0x7fd161fd5e4c] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x10a) [0x7fd161fd730a] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x25) [0x7fd161fd5ed5] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7fd161fd6078] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7fd161f61be3] -> dovecot/lmtp DATA tlx@leuxner.net [0x7fd1629ba382] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fd161ba4b45] -> dovecot/lmtp DATA tlx@leuxner.net [0x7fd1629ba430] Oct 15 09:50:15 nihlus dovecot: lmtp(tlx@leuxner.net): Fatal: master: service(lmtp): child 11447 killed with signal 6 (core not dumped)
Can you show us your configuration (dovecot -n
)?
Regards,
Stephan.
Op 10/15/2016 om 11:23 AM schreef Stephan Bosch:
Op 10/15/2016 om 9:55 AM schreef Thomas Leuxner:
# 2.2.devel (c73322f): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.devel (fac92b5) # OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.6
==> /var/log/dovecot/dovecot.log <== Oct 15 09:50:15 nihlus dovecot: lmtp(11447): Connect from local Oct 15 09:50:15 nihlus dovecot: lmtp(tlx@leuxner.net): Panic: file lda-sieve-plugin.c: line 447 (lda_sieve_execute_scripts): assertion failed: (script != NULL) Oct 15 09:50:15 nihlus dovecot: lmtp(tlx@leuxner.net): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x938ae) [0x7fd161fc18ae] -> /usr/lib/dovecot/libdovecot.so.0(+0x9399c) [0x7fd161fc199c] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fd161f5b6de] -> /usr/lib/dovecot/modules/lib90_sieve_plugin.so(+0x3af8) [0x7fd15fdf8af8] -> /usr/lib/dovecot/libdovecot-lda.so.0(mail_deliver+0x49) [0x7fd16258bb39] -> dovecot/lmtp DATA tlx@leuxner.net [0x7fd1629bc24e] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x4c) [0x7fd161fd5e4c] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x10a) [0x7fd161fd730a] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x25) [0x7fd161fd5ed5] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7fd161fd6078] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7fd161f61be3] -> dovecot/lmtp DATA tlx@leuxner.net [0x7fd1629ba382] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fd161ba4b45] -> dovecot/lmtp DATA tlx@leuxner.net [0x7fd1629ba430] Oct 15 09:50:15 nihlus dovecot: lmtp(tlx@leuxner.net): Fatal: master: service(lmtp): child 11447 killed with signal 6 (core not dumped)
Can you show us your configuration (
dovecot -n
)?
Ah, never mind. Found it already. Fixing...
Regards,
Stephan.
Op 10/15/2016 om 9:55 AM schreef Thomas Leuxner:
# 2.2.devel (c73322f): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.devel (fac92b5) # OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.6
==> /var/log/dovecot/dovecot.log <== Oct 15 09:50:15 nihlus dovecot: lmtp(11447): Connect from local Oct 15 09:50:15 nihlus dovecot: lmtp(tlx@leuxner.net): Panic: file lda-sieve-plugin.c: line 447 (lda_sieve_execute_scripts): assertion failed: (script != NULL) Oct 15 09:50:15 nihlus dovecot: lmtp(tlx@leuxner.net): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x938ae) [0x7fd161fc18ae] -> /usr/lib/dovecot/libdovecot.so.0(+0x9399c) [0x7fd161fc199c] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fd161f5b6de] -> /usr/lib/dovecot/modules/lib90_sieve_plugin.so(+0x3af8) [0x7fd15fdf8af8] -> /usr/lib/dovecot/libdovecot-lda.so.0(mail_deliver+0x49) [0x7fd16258bb39] -> dovecot/lmtp DATA tlx@leuxner.net [0x7fd1629bc24e] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x4c) [0x7fd161fd5e4c] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x10a) [0x7fd161fd730a] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x25) [0x7fd161fd5ed5] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7fd161fd6078] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7fd161f61be3] -> dovecot/lmtp DATA tlx@leuxner.net [0x7fd1629ba382] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fd161ba4b45] -> dovecot/lmtp DATA tlx@leuxner.net [0x7fd1629ba430] Oct 15 09:50:15 nihlus dovecot: lmtp(tlx@leuxner.net): Fatal: master: service(lmtp): child 11447 killed with signal 6 (core not dumped)
This should fix it:
https://github.com/dovecot/pigeonhole/commit/63f9b42f20cf0bd26b981be8a08f01b...
Regards,
Stephan.
This should fix it:
https://github.com/dovecot/pigeonhole/commit/63f9b42f20cf0bd26b981be8a08f01b...
Confirmed fixed. Can you please push to 2.2 so builds pick up there?
Thanks Thomas
Op 10/15/2016 om 1:32 PM schreef Thomas Leuxner:
This should fix it:
https://github.com/dovecot/pigeonhole/commit/63f9b42f20cf0bd26b981be8a08f01b... Confirmed fixed. Can you please push to 2.2 so builds pick up there?
It already is. In fact, that link points to the master-0.4 branch.
Regards,
Stephan.
participants (3)
-
Aki Tuomi
-
Stephan Bosch
-
Thomas Leuxner