Reuben Farrelly
2017-Oct-13 12:48 UTC
Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
Sure.? Here you go: Oct 13 23:45:01 thunderstorm.reub.net dovecot: imap-login: Login: user=<reuben>, auth-method=PLAIN, remote=2001:44b8:x:x, local=2001:44b8:31d4:x:x, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Oct 13 23:45:03 thunderstorm.reub.net dovecot: doveadm: Error: ==16947== Syscall param epoll_pwait(sigmask) points to unaddressable byte(s) Oct 13 23:45:03 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? at 0x58A2705: epoll_pwait (epoll_pwait.c:42) Oct 13 23:45:03 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x550643C: io_loop_handler_run_internal (ioloop-epoll.c:183) Oct 13 23:45:03 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x5503B60: io_loop_handler_run (ioloop.c:649) Oct 13 23:45:03 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x5503A83: io_loop_run (ioloop.c:624) Oct 13 23:45:03 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x544C15C: master_service_run (master-service.c:719) Oct 13 23:45:03 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x44999D: main (main.c:143) Oct 13 23:45:03 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==? Address 0x0 is not stack'd, malloc'd or (recently) free'd Oct 13 23:45:03 thunderstorm.reub.net dovecot: doveadm: Error: ==16947=Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947== Invalid read of size 8 Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? at 0x54F2E38: i_stream_next_line (istream.c:428) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x54F2EFB: i_stream_read_next_line (istream.c:449) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x441D68: server_connection_print_log (server-connection.c:305) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x442154: server_connection_input_one (server-connection.c:405) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x4420F6: server_connection_input (server-connection.c:390) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x550397F: io_loop_call_io (ioloop.c:600) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x5506596: io_loop_handler_run_internal (ioloop-epoll.c:223) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x5503B60: io_loop_handler_run (ioloop.c:649) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x5503A83: io_loop_run (ioloop.c:624) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x426FDE: dsync_connect_tcp (doveadm-dsync.c:850) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x427143: parse_location (doveadm-dsync.c:881) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x4273ED: cmd_dsync_prerun (doveadm-dsync.c:947) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==? Address 0x10 is not stack'd, malloc'd or (recently) free'd Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947=Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947=Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947== Process terminating with default action of signal 11 (SIGSEGV): dumping core Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==? Access not within mapped region at address 0x10 Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? at 0x54F2E38: i_stream_next_line (istream.c:428) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x54F2EFB: i_stream_read_next_line (istream.c:449) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x441D68: server_connection_print_log (server-connection.c:305) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x442154: server_connection_input_one (server-connection.c:405) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x4420F6: server_connection_input (server-connection.c:390) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x550397F: io_loop_call_io (ioloop.c:600) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x5506596: io_loop_handler_run_internal (ioloop-epoll.c:223) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x5503B60: io_loop_handler_run (ioloop.c:649) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x5503A83: io_loop_run (ioloop.c:624) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x426FDE: dsync_connect_tcp (doveadm-dsync.c:850) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x427143: parse_location (doveadm-dsync.c:881) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x4273ED: cmd_dsync_prerun (doveadm-dsync.c:947) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==? If you believe this happened as a result of a stack Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==? overflow in your program's main thread (unlikely but Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==? possible), you can try to increase the size of the Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==? main thread stack using the --main-stacksize= flag. Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==? The main thread stack size used in this run was 8388608. Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Fatal: master: service(doveadm): child 16947 killed with signal 11 (core not dumped) Oct 13 23:45:10 thunderstorm.reub.net postfix/smtpd[17090]: connect from tornado.reub.net[150.101.124.42] Reuben On 13/10/2017 9:13 PM, Timo Sirainen wrote:> Could you try running with valgrind and show the valgrind output in Dovecot's error logs? : > > service doveadm { > executable = /usr/bin/valgrind -q --vgdb=no /usr/libexec/dovecot/doveadm-server > } > >> On 12 Oct 2017, at 23.10, Reuben Farrelly <reuben-dovecot at reub.net> wrote: >> >> No. Compiling entirely from -git source (on one system) and a Gentoo ebuild on another two. >> >> Reuben >> >> On 12/10/2017 10:38 PM, Aki Tuomi wrote: >>> Are you using the xi packages? If yes, can you please send me one fresh core? >>> Aki >>>> On October 12, 2017 at 8:43 AM Aki Tuomi <aki.tuomi at dovecot.fi> wrote: >>>> >>>> >>>> We'll take a look >>>> >>>> >>>> ---Aki TuomiDovecot oy >>>> -------- Original message --------From: Reuben Farrelly <reuben-dovecot at reub.net> Date: 12/10/2017 07:50 (GMT+02:00) To: Aki Tuomi <aki.tuomi at dovecot.fi> Subject: Re: Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33) >>>> Hi Aki, >>>> >>>> I think I posted a bt full of this in the original email I sent to the list: >>>> >>>> https://www.dovecot.org/pipermail/dovecot/2017-October/109583.html >>>> >>>> I've got heaps of coredumps if we need to pick apart one specific one >>>> now though. >>>> >>>> Reuben
Timo Sirainen
2017-Oct-14 09:58 UTC
Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
OOn 13 Oct 2017, at 15.48, Reuben Farrelly <reuben-dovecot at reub.net> wrote:> > Sure. Here you go: > > Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947== Invalid read of size 8 > Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947== at 0x54F2E38: i_stream_next_line (istream.c:428) > Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947== by 0x54F2EFB: i_stream_read_next_line (istream.c:449) > Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947== by 0x441D68: server_connection_print_log (server-connection.c:305) > Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947== by 0x442154: server_connection_input_one (server-connection.c:405)Oh, I think your other side is running an old Dovecot? Does the attached patch help? -------------- next part -------------- A non-text attachment was scrubbed... Name: 1635.diff Type: application/octet-stream Size: 498 bytes Desc: not available URL: <https://dovecot.org/pipermail/dovecot/attachments/20171014/661727b8/attachment.obj> -------------- next part --------------
Reuben Farrelly
2017-Oct-14 21:18 UTC
Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
On 14/10/2017 8:58 PM, Timo Sirainen wrote:> OOn 13 Oct 2017, at 15.48, Reuben Farrelly <reuben-dovecot at reub.net> wrote: >> >> Sure. Here you go: >> >> Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947== Invalid read of size 8 >> Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947== at 0x54F2E38: i_stream_next_line (istream.c:428) >> Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947== by 0x54F2EFB: i_stream_read_next_line (istream.c:449) >> Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947== by 0x441D68: server_connection_print_log (server-connection.c:305) >> Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947== by 0x442154: server_connection_input_one (server-connection.c:405) > > Oh, I think your other side is running an old Dovecot? Does the attached patch help?Not old by much - probably only a week or so behind with master-2.2. But regardless, this patch seems to have resolved the problem now and I haven't had a crash in the past 8+ hours. Thanks! Reuben
Seemingly Similar Threads
- Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
- Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
- Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
- Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
- Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)