Re: dovecot-2.3 (-git) Warning and Fatal Compile Error
On 30.10.2017 09:10, Aki Tuomi wrote: > > > On 30.10.2017 00:23, Reuben Farrelly wrote: >> Hi Aki, >> >> On 30/10/2017 12:43 AM, Aki Tuomi wrote: On October 29, 2017 at 1:55 PM Reuben Farrelly wrote: Hi again, Chasing down one last problem which seems to have been missed from my last email: On 20/10/2017 9:22 PM, Stephan Bosch wrote: > > Op 20-10-2017 om 4:23 schreef Reuben Farrelly: >> On 18/10/2017 11:40 PM, Timo Sirainen wrote: >>> On 18 Oct 2017, at 6.34, Reuben Farrelly >>> wrote: This problem below is still present in 2.3 -git, as of version 2.3.devel (6fc40674e) >>> Secondly, this ssl_dh messages is always printed from doveconf: >>> >>> doveconf: Warning: please set ssl_dh=>> doveconf: Warning: You can generate it with: dd >>> if=/var/lib/dovecot/ssl-parameters.dat bs=1 skip=88 | openssl dh >>> -inform der > /etc/dovecot/dh.pem >>> >>> Yet the file is there: >>> >>> thunderstorm conf.d # ls -la /etc/dovecot/dh.pem >>> -rw-r--r-- 1 root root 769 Oct 19 21:55 /etc/dovecot/dh.pem >>> >>> And the config is there as well: >>> >>> thunderstorm dovecot # doveconf -P | grep ssl_dh >>> ssl_dh = >> doveconf: Warning: please set ssl_dh=>> doveconf: Warning: You can generate it with: dd >>> if=/var/lib/dovecot/ssl-parameters.dat bs=1 skip=88 | openssl dh >>> -inform der > /etc/dovecot/dh.pem >>> ssl_dh = -BEGIN DH PARAMETERS- >>> ssl_dh = -BEGIN DH PARAMETERS- >>> ssl_dh = -BEGIN DH PARAMETERS- >>> ssl_dh = -BEGIN DH PARAMETERS- >>> ssl_dh = -BEGIN DH PARAMETERS- >>> ssl_dh = -BEGIN DH PARAMETERS- >>> ssl_dh = -BEGIN DH PARAMETERS- >>> ssl_dh = -BEGIN DH PARAMETERS- >>> thunderstorm dovecot # >>> >>> It appears that this warning is being triggered by the presence of >>> the ssl-parameters.dat file because when I remove it the warning >>> goes away. Perhaps the warning could be made a bit more specific >>> about this file being removed if it is not required because at the >>> moment the warning message is not related to the trigger. >>> >>> Thanks, >>> Reuben Thanks, Reuben >>> It is triggered when there is ssl-parameters.dat file *AND* there is >>> no ssl_dh=< explicitly set in config file. >>> >>> Aki >> >> I have this already in my 10-ssl.conf file: >> >> lightning dovecot # /etc/init.d/dovecot reload >> doveconf: Warning: please set ssl_dh=> doveconf: Warning: You can generate it with: dd >> if=/var/lib/dovecot/ssl-parameters.dat bs=1 skip=88 | openssl dh >> -inform der > /etc/dovecot/dh.pem >> * Reloading dovecot configs and restarting auth/login processes >> ... [ ok ] >> lightning dovecot # >> >> However: >> >> lightning dovecot # grep ssl_dh conf.d/10-ssl.conf >> # gives on startup when ssl_dh is unset. >> ssl_dh=> lightning dovecot # >> >> and the file is there: >> >> lightning dovecot # ls -la /etc/dovecot/dh.pem >> -rw-r--r-- 1 root root 769 Oct 19 19:06 /etc/dovecot/dh.pem >> lightning dovecot # >> >> So it is actually configured and yet the warning still is present. >> >> Reuben > > Hi! > > I gave this a try, and I was not able to repeat this issue. Perhaps you > are still missing ssl_dh somewhere? > > Aki > Hello Just a guess, but at this point I would recommend reviewing the output of "doveconf -n" to make sure the appropriate settings are present. br, Teemu
Re: dovecot-2.3 (-git) Warning and Fatal Compile Error
On 30.10.2017 00:23, Reuben Farrelly wrote: > Hi Aki, > > On 30/10/2017 12:43 AM, Aki Tuomi wrote: >>> On October 29, 2017 at 1:55 PM Reuben Farrelly >>> wrote: >>> >>> >>> Hi again, >>> >>> Chasing down one last problem which seems to have been missed from my >>> last email: >>> >>> On 20/10/2017 9:22 PM, Stephan Bosch wrote: Op 20-10-2017 om 4:23 schreef Reuben Farrelly: > On 18/10/2017 11:40 PM, Timo Sirainen wrote: >> On 18 Oct 2017, at 6.34, Reuben Farrelly >> wrote: >>> This problem below is still present in 2.3 -git, as of version >>> 2.3.devel >>> (6fc40674e) >>> >> Secondly, this ssl_dh messages is always printed from doveconf: >> >> doveconf: Warning: please set ssl_dh=> doveconf: Warning: You can generate it with: dd >> if=/var/lib/dovecot/ssl-parameters.dat bs=1 skip=88 | openssl dh >> -inform der > /etc/dovecot/dh.pem >> >> Yet the file is there: >> >> thunderstorm conf.d # ls -la /etc/dovecot/dh.pem >> -rw-r--r-- 1 root root 769 Oct 19 21:55 /etc/dovecot/dh.pem >> >> And the config is there as well: >> >> thunderstorm dovecot # doveconf -P | grep ssl_dh >> ssl_dh = > doveconf: Warning: please set ssl_dh=> doveconf: Warning: You can generate it with: dd >> if=/var/lib/dovecot/ssl-parameters.dat bs=1 skip=88 | openssl dh >> -inform der > /etc/dovecot/dh.pem >> ssl_dh = -BEGIN DH PARAMETERS- >> ssl_dh = -BEGIN DH PARAMETERS- >> ssl_dh = -BEGIN DH PARAMETERS- >> ssl_dh = -BEGIN DH PARAMETERS- >> ssl_dh = -BEGIN DH PARAMETERS- >> ssl_dh = -BEGIN DH PARAMETERS- >> ssl_dh = -BEGIN DH PARAMETERS- >> ssl_dh = -BEGIN DH PARAMETERS- >> thunderstorm dovecot # >> >> It appears that this warning is being triggered by the presence of >> the ssl-parameters.dat file because when I remove it the warning >> goes away. Perhaps the warning could be made a bit more specific >> about this file being removed if it is not required because at the >> moment the warning message is not related to the trigger. >> >> Thanks, >> Reuben >>> Thanks, >>> Reuben >> It is triggered when there is ssl-parameters.dat file *AND* there is >> no ssl_dh=< explicitly set in config file. >> >> Aki > > I have this already in my 10-ssl.conf file: > > lightning dovecot # /etc/init.d/dovecot reload > doveconf: Warning: please set ssl_dh= doveconf: Warning: You can generate it with: dd > if=/var/lib/dovecot/ssl-parameters.dat bs=1 skip=88 | openssl dh > -inform der > /etc/dovecot/dh.pem > * Reloading dovecot configs and restarting auth/login processes > ... [ ok ] > lightning dovecot # > > However: > > lightning dovecot # grep ssl_dh conf.d/10-ssl.conf > # gives on startup when ssl_dh is unset. > ssl_dh= lightning dovecot # > > and the file is there: > > lightning dovecot # ls -la /etc/dovecot/dh.pem > -rw-r--r-- 1 root root 769 Oct 19 19:06 /etc/dovecot/dh.pem > lightning dovecot # > > So it is actually configured and yet the warning still is present. > > Reuben Hi! I gave this a try, and I was not able to repeat this issue. Perhaps you are still missing ssl_dh somewhere? Aki
Re: dovecot-2.3 (-git) Warning and Fatal Compile Error
Hi Aki, On 30/10/2017 12:43 AM, Aki Tuomi wrote: On October 29, 2017 at 1:55 PM Reuben Farrelly wrote: Hi again, Chasing down one last problem which seems to have been missed from my last email: On 20/10/2017 9:22 PM, Stephan Bosch wrote: Op 20-10-2017 om 4:23 schreef Reuben Farrelly: On 18/10/2017 11:40 PM, Timo Sirainen wrote: On 18 Oct 2017, at 6.34, Reuben Farrelly wrote: This problem below is still present in 2.3 -git, as of version 2.3.devel (6fc40674e) Secondly, this ssl_dh messages is always printed from doveconf: doveconf: Warning: please set ssl_dh= /etc/dovecot/dh.pem Yet the file is there: thunderstorm conf.d # ls -la /etc/dovecot/dh.pem -rw-r--r-- 1 root root 769 Oct 19 21:55 /etc/dovecot/dh.pem And the config is there as well: thunderstorm dovecot # doveconf -P | grep ssl_dh ssl_dh = /etc/dovecot/dh.pem ssl_dh = -BEGIN DH PARAMETERS- ssl_dh = -BEGIN DH PARAMETERS- ssl_dh = -BEGIN DH PARAMETERS- ssl_dh = -BEGIN DH PARAMETERS- ssl_dh = -BEGIN DH PARAMETERS- ssl_dh = -BEGIN DH PARAMETERS- ssl_dh = -BEGIN DH PARAMETERS- ssl_dh = -BEGIN DH PARAMETERS- thunderstorm dovecot # It appears that this warning is being triggered by the presence of the ssl-parameters.dat file because when I remove it the warning goes away. Perhaps the warning could be made a bit more specific about this file being removed if it is not required because at the moment the warning message is not related to the trigger. Thanks, Reuben Thanks, Reuben It is triggered when there is ssl-parameters.dat file *AND* there is no ssl_dh=< explicitly set in config file. Aki I have this already in my 10-ssl.conf file: lightning dovecot # /etc/init.d/dovecot reload doveconf: Warning: please set ssl_dh=doveconf: Warning: You can generate it with: dd if=/var/lib/dovecot/ssl-parameters.dat bs=1 skip=88 | openssl dh -inform der > /etc/dovecot/dh.pem * Reloading dovecot configs and restarting auth/login processes ... [ ok ] lightning dovecot # However: lightning dovecot # grep ssl_dh conf.d/10-ssl.conf # gives on startup when ssl_dh is unset. ssl_dh=
Re: dovecot-2.3 (-git) Warning and Fatal Compile Error
> On October 29, 2017 at 1:55 PM Reuben Farrelly > wrote: > > > Hi again, > > Chasing down one last problem which seems to have been missed from my > last email: > > On 20/10/2017 9:22 PM, Stephan Bosch wrote: > > > > > > Op 20-10-2017 om 4:23 schreef Reuben Farrelly: > >> On 18/10/2017 11:40 PM, Timo Sirainen wrote: > >>> On 18 Oct 2017, at 6.34, Reuben Farrelly > >>> wrote: > > This problem below is still present in 2.3 -git, as of version 2.3.devel > (6fc40674e) > > >>> Secondly, this ssl_dh messages is always printed from doveconf: > >>> > >>> doveconf: Warning: please set ssl_dh= >>> doveconf: Warning: You can generate it with: dd > >>> if=/var/lib/dovecot/ssl-parameters.dat bs=1 skip=88 | openssl dh > >>> -inform der > /etc/dovecot/dh.pem > >>> > >>> Yet the file is there: > >>> > >>> thunderstorm conf.d # ls -la /etc/dovecot/dh.pem > >>> -rw-r--r-- 1 root root 769 Oct 19 21:55 /etc/dovecot/dh.pem > >>> > >>> And the config is there as well: > >>> > >>> thunderstorm dovecot # doveconf -P | grep ssl_dh > >>> ssl_dh = >>> doveconf: Warning: please set ssl_dh= >>> doveconf: Warning: You can generate it with: dd > >>> if=/var/lib/dovecot/ssl-parameters.dat bs=1 skip=88 | openssl dh > >>> -inform der > /etc/dovecot/dh.pem > >>> ssl_dh = -BEGIN DH PARAMETERS- > >>> ssl_dh = -BEGIN DH PARAMETERS- > >>> ssl_dh = -BEGIN DH PARAMETERS- > >>> ssl_dh = -BEGIN DH PARAMETERS- > >>> ssl_dh = -BEGIN DH PARAMETERS- > >>> ssl_dh = -BEGIN DH PARAMETERS- > >>> ssl_dh = -BEGIN DH PARAMETERS- > >>> ssl_dh = -BEGIN DH PARAMETERS- > >>> thunderstorm dovecot # > >>> > >>> It appears that this warning is being triggered by the presence of > >>> the ssl-parameters.dat file because when I remove it the warning > >>> goes away. Perhaps the warning could be made a bit more specific > >>> about this file being removed if it is not required because at the > >>> moment the warning message is not related to the trigger. > >>> > >>> Thanks, > >>> Reuben > > > > Thanks, > Reuben It is triggered when there is ssl-parameters.dat file *AND* there is no ssl_dh=< explicitly set in config file. Aki
Re: dovecot-2.3 (-git) Warning and Fatal Compile Error
Hi again, Chasing down one last problem which seems to have been missed from my last email: On 20/10/2017 9:22 PM, Stephan Bosch wrote: Op 20-10-2017 om 4:23 schreef Reuben Farrelly: On 18/10/2017 11:40 PM, Timo Sirainen wrote: On 18 Oct 2017, at 6.34, Reuben Farrelly wrote: This problem below is still present in 2.3 -git, as of version 2.3.devel (6fc40674e) Secondly, this ssl_dh messages is always printed from doveconf: doveconf: Warning: please set ssl_dh=doveconf: Warning: You can generate it with: dd if=/var/lib/dovecot/ssl-parameters.dat bs=1 skip=88 | openssl dh -inform der > /etc/dovecot/dh.pem Yet the file is there: thunderstorm conf.d # ls -la /etc/dovecot/dh.pem -rw-r--r-- 1 root root 769 Oct 19 21:55 /etc/dovecot/dh.pem And the config is there as well: thunderstorm dovecot # doveconf -P | grep ssl_dh ssl_dh = doveconf: Warning: You can generate it with: dd if=/var/lib/dovecot/ssl-parameters.dat bs=1 skip=88 | openssl dh -inform der > /etc/dovecot/dh.pem ssl_dh = -BEGIN DH PARAMETERS- ssl_dh = -BEGIN DH PARAMETERS- ssl_dh = -BEGIN DH PARAMETERS- ssl_dh = -BEGIN DH PARAMETERS- ssl_dh = -BEGIN DH PARAMETERS- ssl_dh = -BEGIN DH PARAMETERS- ssl_dh = -BEGIN DH PARAMETERS- ssl_dh = -BEGIN DH PARAMETERS- thunderstorm dovecot # It appears that this warning is being triggered by the presence of the ssl-parameters.dat file because when I remove it the warning goes away. Perhaps the warning could be made a bit more specific about this file being removed if it is not required because at the moment the warning message is not related to the trigger. Thanks, Reuben Thanks, Reuben
Re: dovecot-2.3 (-git) Warning and Fatal Compile Error
Op 10/20/2017 om 12:22 PM schreef Stephan Bosch: > > > Op 20-10-2017 om 4:23 schreef Reuben Farrelly: >> On 18/10/2017 11:40 PM, Timo Sirainen wrote: >>> On 18 Oct 2017, at 6.34, Reuben Farrelly >>> wrote: I haven't been tracking dovecot-2.3 until now, but I've just given it a quick run, and there are a few things that may need some attention. /usr/include/features.h:376:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) >>> >>> Don't use -O0 or use configure --disable-hardening or just ignore it. >>> The build then fails entirely with this: DMODULEDIR=\""/usr/lib64/dovecot"\" -O0 -g -pipe -march=native -mtune=native -ggdb -c -o realpath.lo realpath.c edit-mail.c: In function ‘edit_mail_wrap’: edit-mail.c:235:14: error: too few arguments to function ‘mailbox_transaction_begin’ raw_trans = mailbox_transaction_begin(raw_box, 0); >>> >>> I don't think your pigeonhole is from git master. >> >> Thanks. That was it... >> >> Now onto 2.3 -git, there is a repeatable crash occurring in lmtp. In >> fact it looks like there could be more than one problem, because even >> invoking lmtp (with gdb) and no arguments results in a gdb error >> about an unaddressable byte. >> >> However when lmtp is used normally within dovecot it crashes out on a >> few but not all mails. > > I see what that smtp-submit problem is already. Will push fix later > today. > Fix is merged: https://github.com/dovecot/core/commit/9dd47ae5c1f0c20f1994a7ec1a862fe8beef8913 Regards, Stephan.
Re: dovecot-2.3 (-git) Warning and Fatal Compile Error
Op 20-10-2017 om 4:23 schreef Reuben Farrelly: On 18/10/2017 11:40 PM, Timo Sirainen wrote: On 18 Oct 2017, at 6.34, Reuben Farrelly wrote: I haven't been tracking dovecot-2.3 until now, but I've just given it a quick run, and there are a few things that may need some attention. /usr/include/features.h:376:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) Don't use -O0 or use configure --disable-hardening or just ignore it. The build then fails entirely with this: DMODULEDIR=\""/usr/lib64/dovecot"\" -O0 -g -pipe -march=native -mtune=native -ggdb -c -o realpath.lo realpath.c edit-mail.c: In function ‘edit_mail_wrap’: edit-mail.c:235:14: error: too few arguments to function ‘mailbox_transaction_begin’ raw_trans = mailbox_transaction_begin(raw_box, 0); I don't think your pigeonhole is from git master. Thanks. That was it... Now onto 2.3 -git, there is a repeatable crash occurring in lmtp. In fact it looks like there could be more than one problem, because even invoking lmtp (with gdb) and no arguments results in a gdb error about an unaddressable byte. However when lmtp is used normally within dovecot it crashes out on a few but not all mails. I see what that smtp-submit problem is already. Will push fix later today. We're not sure that epoll_pwait() issue is an actual problem or valgrind being confused. Regards, Stephan. The full gdb output looks like this: Oct 20 12:59:21 thunderstorm.reub.net dovecot: master: Dovecot v2.3.devel (c398eca6b) starting up for imap, lmtp, sieve Oct 20 12:59:30 thunderstorm.reub.net postfix/qmgr[5057]: 9A25122B50: from=, size=18515, nrcpt=1 (queue active) Oct 20 12:59:30 thunderstorm.reub.net postfix/qmgr[5057]: 32D0722B4B: from= .com>, size=27030, nrcpt=1 (queue active) Oct 20 12:59:31 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== Syscall param epoll_pwait(sigmask) points to unaddressable byte(s) Oct 20 12:59:31 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== at 0x58A7705: epoll_pwait (epoll_pwait.c:42) Oct 20 12:59:31 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== by 0x5504697: io_loop_handler_run_internal (ioloop-epoll.c:182) Oct 20 12:59:31 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== by 0x5501C4F: io_loop_handler_run (ioloop.c:666) Oct 20 12:59:31 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== by 0x5501B2E: io_loop_run (ioloop.c:639) Oct 20 12:59:31 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== by 0x5449F05: master_service_run (master-service.c:733) Oct 20 12:59:31 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== by 0x10D8E8: main (main.c:139) Oct 20 12:59:31 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== Address 0x0 is not stack'd, malloc'd or (recently) free'd Oct 20 12:59:31 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== Oct 20 12:59:32 thunderstorm.reub.net dovecot: lmtp(28006): Connect from local Oct 20 12:59:33 thunderstorm.reub.net dovecot: lmtp: Error: ==28009== Syscall param epoll_pwait(sigmask) points to unaddressable byte(s) Oct 20 12:59:33 thunderstorm.reub.net dovecot: lmtp: Error: ==28009== at 0x58A7705: epoll_pwait (epoll_pwait.c:42) Oct 20 12:59:33 thunderstorm.reub.net dovecot: lmtp: Error: ==28009== by 0x5504697: io_loop_handler_run_internal (ioloop-epoll.c:182) Oct 20 12:59:33 thunderstorm.reub.net dovecot: lmtp: Error: ==28009== by 0x5501C4F: io_loop_handler_run (ioloop.c:666) Oct 20 12:59:33 thunderstorm.reub.net dovecot: lmtp: Error: ==28009== by 0x5501B2E: io_loop_run (ioloop.c:639) Oct 20 12:59:33 thunderstorm.reub.net dovecot: lmtp: Error: ==28009== by 0x5449F05: master_service_run (master-service.c:733) Oct 20 12:59:33 thunderstorm.reub.net dovecot: lmtp: Error: ==28009== by 0x10D8E8: main (main.c:139) Oct 20 12:59:33 thunderstorm.reub.net dovecot: lmtp: Error: ==28009== Address 0x0 is not stack'd, malloc'd or (recently) free'd Oct 20 12:59:33 thunderstorm.reub.net dovecot: lmtp: Error: ==28009== Oct 20 12:59:33 thunderstorm.reub.net dovecot: lmtp(28009): Connect from local Oct 20 12:59:34 thunderstorm.reub.net dovecot: lmtp(liam)<28006>: aFFxDIRY6VlmbQAAzkCIew: sieve: msgid=<001a114bd6f6d2fc86055be25...@google.com>: stored mail into mailbox 'INBOX' Oct 20 12:59:34 thunderstorm.reub.net dovecot: indexer-worker(liam)<28026>: Indexed 1 messages in INBOX (UIDs 634..634) Oct 20 12:59:35 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== Invalid read of size 8 Oct 20 12:59:35 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== at 0x543AECB: smtp_submit_session_init (smtp-submit.c:61) Oct 20 12:59:35 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== by 0x543B05B: smtp_submit_init_simple (smtp-submit.c:100) Oct 20 12:59:35 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== by 0xAA8BC4B: lda_sieve_smtp_start (lda-sieve-plugin.c:77) Oct 20 12:59:35 thunderstorm.reub.net dovecot: lmtp: Error: ==2800
Re: dovecot-2.3 (-git) Warning and Fatal Compile Error
On 18/10/2017 11:40 PM, Timo Sirainen wrote: On 18 Oct 2017, at 6.34, Reuben Farrelly wrote: I haven't been tracking dovecot-2.3 until now, but I've just given it a quick run, and there are a few things that may need some attention. /usr/include/features.h:376:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) Don't use -O0 or use configure --disable-hardening or just ignore it. The build then fails entirely with this: DMODULEDIR=\""/usr/lib64/dovecot"\" -O0 -g -pipe -march=native -mtune=native -ggdb -c -o realpath.lo realpath.c edit-mail.c: In function ‘edit_mail_wrap’: edit-mail.c:235:14: error: too few arguments to function ‘mailbox_transaction_begin’ raw_trans = mailbox_transaction_begin(raw_box, 0); I don't think your pigeonhole is from git master. Thanks. That was it... Now onto 2.3 -git, there is a repeatable crash occurring in lmtp. In fact it looks like there could be more than one problem, because even invoking lmtp (with gdb) and no arguments results in a gdb error about an unaddressable byte. However when lmtp is used normally within dovecot it crashes out on a few but not all mails. The full gdb output looks like this: Oct 20 12:59:21 thunderstorm.reub.net dovecot: master: Dovecot v2.3.devel (c398eca6b) starting up for imap, lmtp, sieve Oct 20 12:59:30 thunderstorm.reub.net postfix/qmgr[5057]: 9A25122B50: from=, size=18515, nrcpt=1 (queue active) Oct 20 12:59:30 thunderstorm.reub.net postfix/qmgr[5057]: 32D0722B4B: from= .com>, size=27030, nrcpt=1 (queue active) Oct 20 12:59:31 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== Syscall param epoll_pwait(sigmask) points to unaddressable byte(s) Oct 20 12:59:31 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== at 0x58A7705: epoll_pwait (epoll_pwait.c:42) Oct 20 12:59:31 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== by 0x5504697: io_loop_handler_run_internal (ioloop-epoll.c:182) Oct 20 12:59:31 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== by 0x5501C4F: io_loop_handler_run (ioloop.c:666) Oct 20 12:59:31 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== by 0x5501B2E: io_loop_run (ioloop.c:639) Oct 20 12:59:31 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== by 0x5449F05: master_service_run (master-service.c:733) Oct 20 12:59:31 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== by 0x10D8E8: main (main.c:139) Oct 20 12:59:31 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== Address 0x0 is not stack'd, malloc'd or (recently) free'd Oct 20 12:59:31 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== Oct 20 12:59:32 thunderstorm.reub.net dovecot: lmtp(28006): Connect from local Oct 20 12:59:33 thunderstorm.reub.net dovecot: lmtp: Error: ==28009== Syscall param epoll_pwait(sigmask) points to unaddressable byte(s) Oct 20 12:59:33 thunderstorm.reub.net dovecot: lmtp: Error: ==28009== at 0x58A7705: epoll_pwait (epoll_pwait.c:42) Oct 20 12:59:33 thunderstorm.reub.net dovecot: lmtp: Error: ==28009== by 0x5504697: io_loop_handler_run_internal (ioloop-epoll.c:182) Oct 20 12:59:33 thunderstorm.reub.net dovecot: lmtp: Error: ==28009== by 0x5501C4F: io_loop_handler_run (ioloop.c:666) Oct 20 12:59:33 thunderstorm.reub.net dovecot: lmtp: Error: ==28009== by 0x5501B2E: io_loop_run (ioloop.c:639) Oct 20 12:59:33 thunderstorm.reub.net dovecot: lmtp: Error: ==28009== by 0x5449F05: master_service_run (master-service.c:733) Oct 20 12:59:33 thunderstorm.reub.net dovecot: lmtp: Error: ==28009== by 0x10D8E8: main (main.c:139) Oct 20 12:59:33 thunderstorm.reub.net dovecot: lmtp: Error: ==28009== Address 0x0 is not stack'd, malloc'd or (recently) free'd Oct 20 12:59:33 thunderstorm.reub.net dovecot: lmtp: Error: ==28009== Oct 20 12:59:33 thunderstorm.reub.net dovecot: lmtp(28009): Connect from local Oct 20 12:59:34 thunderstorm.reub.net dovecot: lmtp(liam)<28006>: aFFxDIRY6VlmbQAAzkCIew: sieve: msgid=<001a114bd6f6d2fc86055be25...@google.com>: stored mail into mailbox 'INBOX' Oct 20 12:59:34 thunderstorm.reub.net dovecot: indexer-worker(liam)<28026>: Indexed 1 messages in INBOX (UIDs 634..634) Oct 20 12:59:35 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== Invalid read of size 8 Oct 20 12:59:35 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== at 0x543AECB: smtp_submit_session_init (smtp-submit.c:61) Oct 20 12:59:35 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== by 0x543B05B: smtp_submit_init_simple (smtp-submit.c:100) Oct 20 12:59:35 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== by 0xAA8BC4B: lda_sieve_smtp_start (lda-sieve-plugin.c:77) Oct 20 12:59:35 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== by 0xACBF4C0: sieve_smtp_start (sieve-smtp.c:31) Oct 20 12:59:35 thunderstorm.reub.net dovecot: lmtp: Error: ==28006== by 0xACBF679: sieve_smtp_start_single (sieve-smtp.c:63) Oct 20 12:59:35 thunderstorm.reub.net dovecot: lmtp: Error: ==2
Re: dovecot-2.3 (-git) Warning and Fatal Compile Error
On 18 Oct 2017, at 6.34, Reuben Farrelly wrote: > > I haven't been tracking dovecot-2.3 until now, but I've just given it a quick > run, and there are a few things that may need some attention. > > /usr/include/features.h:376:4: warning: #warning _FORTIFY_SOURCE requires > compiling with optimization (-O) [-Wcpp] > # warning _FORTIFY_SOURCE requires compiling with optimization (-O) Don't use -O0 or use configure --disable-hardening or just ignore it. > The build then fails entirely with this: > > DMODULEDIR=\""/usr/lib64/dovecot"\" -O0 -g -pipe -march=native > -mtune=native -ggdb -c -o realpath.lo realpath.c > edit-mail.c: In function ‘edit_mail_wrap’: > edit-mail.c:235:14: error: too few arguments to function > ‘mailbox_transaction_begin’ > raw_trans = mailbox_transaction_begin(raw_box, 0); I don't think your pigeonhole is from git master.