Re: Latest HG Changes (fac92b5) affect Sieve-Plugin/LMTP

2016-10-15 Thread Stephan Bosch
Op 10/15/2016 om 1:32 PM schreef Thomas Leuxner:
>> This should fix it:
>>
>> https://github.com/dovecot/pigeonhole/commit/63f9b42f20cf0bd26b981be8a08f01b48e23517f
> 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.


Re: Latest HG Changes (fac92b5) affect Sieve-Plugin/LMTP

2016-10-15 Thread Thomas Leuxner

> This should fix it:
> 
> https://github.com/dovecot/pigeonhole/commit/63f9b42f20cf0bd26b981be8a08f01b48e23517f

Confirmed fixed. Can you please push to 2.2 so builds pick up there?

Thanks
Thomas

Re: Latest HG Changes (fac92b5) affect Sieve-Plugin/LMTP

2016-10-15 Thread 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(t...@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(t...@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 t...@leuxner.net](+0x724e) [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 t...@leuxner.net](main+0x1a2) [0x7fd1629ba382] -> 
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fd161ba4b45] -> 
> dovecot/lmtp [DATA t...@leuxner.net](+0x5430) [0x7fd1629ba430]
> Oct 15 09:50:15 nihlus dovecot: lmtp(t...@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/63f9b42f20cf0bd26b981be8a08f01b48e23517f


Regards,

Stephan.


Re: Latest HG Changes (fac92b5) affect Sieve-Plugin/LMTP

2016-10-15 Thread Stephan Bosch
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(t...@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(t...@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 t...@leuxner.net](+0x724e) [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 t...@leuxner.net](main+0x1a2) [0x7fd1629ba382] -> 
>> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fd161ba4b45] -> 
>> dovecot/lmtp [DATA t...@leuxner.net](+0x5430) [0x7fd1629ba430]
>> Oct 15 09:50:15 nihlus dovecot: lmtp(t...@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.


Re: Latest HG Changes (fac92b5) affect Sieve-Plugin/LMTP

2016-10-15 Thread 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(t...@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(t...@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 t...@leuxner.net](+0x724e) [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 t...@leuxner.net](main+0x1a2) [0x7fd1629ba382] -> 
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fd161ba4b45] -> 
> dovecot/lmtp [DATA t...@leuxner.net](+0x5430) [0x7fd1629ba430]
> Oct 15 09:50:15 nihlus dovecot: lmtp(t...@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.


Re: Latest HG Changes (fac92b5) affect Sieve-Plugin/LMTP

2016-10-15 Thread Thomas Leuxner
> I hope you mean git since hg is no longer maintained. 
> 
> Aki

Apologies. Latest and greatest in GIT.


Re: Latest HG Changes (fac92b5) affect Sieve-Plugin/LMTP

2016-10-15 Thread Aki Tuomi

> On October 15, 2016 at 10:55 AM Thomas Leuxner  wrote:
> 
> 
> # 2.2.devel (c73322f): l/etc/dovecot/dovecot.conf
> # Pigeonhole version 0.4.devel (fac92b5)
> # OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.6 

I hope you mean git since hg is no longer maintained. 

Aki


Re: Latest HG Changes (fac92b5) affect Sieve-Plugin/LMTP

2016-10-15 Thread Thomas Leuxner
> Oct 15 09:50:15 nihlus dovecot: lmtp(t...@leuxner.net): Fatal: master: 
> service(lmtp): child 11447 killed with signal 6 (core not dumped)

#0  0x7fdc0b5d7067 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56
resultvar = 0
pid = 22091
selftid = 22091
#1  0x7fdc0b5d8448 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 }}
#2  0x7fdc0b9e08a6 in default_fatal_finish (type=, 
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  0x7fdc0b9e099c in i_internal_fatal_handler (ctx=0x7fffd443f470, 
format=, args=) at failures.c:670
status = 0
#4  0x7fdc0b97a6de 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  0x7fdc09817af8 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 = 
i = 
ret = 
svinst = 0x7fdc0e133240
action_ehandler = 0x0
more = true
exec_ehandler = 
debug = false
user_script = 
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 
"t...@leuxner.net", orig_envelope_to = 0x7fdc0e06e2c8 "t...@leuxner.net", 
final_envelope_to = 0x7fdc0e06e2c8 "t...@leuxner.net",
  auth_user = 0x7fdc0e0cb200 "t...@leuxner.net", id = 0x7fdc0e0c6e60 
""}
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 = 
ret = 
mdctx = 0x7fffd443f8b0
svinst = 
scriptenv = {user = 0x7fdc0e0cb100, default_mailbox = 0x7fdc0c3de258 
"INBOX", postmaster_address = 0x7fdc0e06cf38 "postmas...@leuxner.net", 
mailbox_autocreate = false, mailbox_autosubscribe = false,
  script_context = 0x7fffd443f8b0, smtp_start = 0x7fdc098168c0 
, smtp_add_rcpt = 0x7fdc098168b0 
, smtp_send = 0x7fdc098168a0 ,
  smtp_finish = 0x7fdc09816880 , duplicate_check 
= 0x7fdc09816840 , duplicate_mark = 0x7fdc09816860 
,
  duplicate_flush = 0x7fdc09816830 , 
reject_mail = 0x7fdc09816820 , exec_status = 
0x7fffd443f610, trace_log = 0x0, trace_config = {level = SIEVE_TRLVL_NONE, 
flags = 0}}
trace_log = 0x0
#7  lda_sieve_deliver_mail (mdctx=, 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 = 
svenv = {hostname = 0x7fdc0e0aa700 "spectre.leuxner.net", domainname = 
0x0, base_dir = 0x7fdc0e0cc2b8 "/var/run/dovecot", username = 0x7fdc0e0cb200 
"t...@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 = 
ret = 0
#8  0x7fdc0bfaab39 in mail_deliver (ctx=ctx@entry=0x7fffd443f8b0, 
storage_r=storage_r@entry=0x7fffd443f888) at mail-deliver.c:478
ret = 
#9  0x7fdc0c3db24e in client_deliver (session=0x7fdc0e0cacf0, 
src_mail=0x7fdc0e0c64d0, rcpt=0x7fdc0e06e288, client=0x7fdc0e06caf0) at 
commands.c:890
set_parser = 
line = 
   

Latest HG Changes (fac92b5) affect Sieve-Plugin/LMTP

2016-10-15 Thread 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(t...@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(t...@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 t...@leuxner.net](+0x724e) [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 t...@leuxner.net](main+0x1a2) 
[0x7fd1629ba382] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) 
[0x7fd161ba4b45] -> dovecot/lmtp [DATA t...@leuxner.net](+0x5430) 
[0x7fd1629ba430]
Oct 15 09:50:15 nihlus dovecot: lmtp(t...@leuxner.net): Fatal: master: 
service(lmtp): child 11447 killed with signal 6 (core not dumped)