Hello,
I'm having a problem with LMTP in a proxy server since I upgraded from
2.1.16 to 2.2.28.
In my logs I have:
Apr 26 12:54:17 musio12 dovecot: lmtp(2082): Fatal: master: service(lmtp): child 2082 killed with signal 11 (core dumped).
As far as I could check the message is delivered in a later connection.
I have enabled core dumped files, but how could I debug it?
-- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 868888337
On April 26, 2017 at 2:03 PM "Angel L. Mateo" amateo@um.es wrote:
Hello,
I'm having a problem with LMTP in a proxy server since I upgraded from 2.1.16 to 2.2.28.
In my logs I have:
Apr 26 12:54:17 musio12 dovecot: lmtp(2082): Fatal: master: service(lmtp): child 2082 killed with signal 11 (core dumped).
As far as I could check the message is delivered in a later connection.
I have enabled core dumped files, but how could I debug it?
-- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 868888337
Can you post
gdb /usr/libexec/dovecot/lmtp /path/to/core bt full
Thanks!
Aki
Can you post
gdb /usr/libexec/dovecot/lmtp /path/to/core bt full
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/lib/dovecot/lmtp...(no debugging symbols found)...done. [New LWP 1910] Core was generated by `dovecot/lmtp'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007fb9c915aa71 in i_stream_seek () from /usr/lib/dovecot/libdovecot.so.0 (gdb) bt full #0 0x00007fb9c915aa71 in i_stream_seek () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #1 0x00007fb9c915dd6f in ?? () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #2 0x00007fb9c915ab83 in i_stream_read () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #3 0x00007fb9c91620ad in ?? () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #4 0x00007fb9c91622ab in ?? () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #5 0x00007fb9c915ab83 in i_stream_read () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #6 0x00007fb9c915b5cd in i_stream_read_data () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #7 0x00007fb9c9124a24 in ?? () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #8 0x00007fb9c912560e in ?? () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #9 0x00007fb9c91721d8 in ?? () from /usr/lib/dovecot/libdovecot.so.0 ---Type <return> to continue, or q <return> to quit--- No symbol table info available. #10 0x00007fb9c91649c2 in io_loop_call_io () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #11 0x00007fb9c9166039 in io_loop_handler_run_internal () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #12 0x00007fb9c9164a5c in io_loop_handler_run () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #13 0x00007fb9c9164c08 in io_loop_run () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #14 0x00007fb9c90ec983 in master_service_run () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #15 0x000055f6535b4d14 in main () No symbol table info available. (gdb) q
-- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 868888337
Hello,
Is there any news about this problem? In your last message you asked me
for the output of gdb and I sent it.
Could I help in any way?
-- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 868888337
On 27.04.2017 09:42, Angel L. Mateo wrote:
Can you post
gdb /usr/libexec/dovecot/lmtp /path/to/core bt full
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/lib/dovecot/lmtp...(no debugging symbols found)...done. [New LWP 1910] Core was generated by `dovecot/lmtp'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007fb9c915aa71 in i_stream_seek () from /usr/lib/dovecot/libdovecot.so.0 (gdb) bt full #0 0x00007fb9c915aa71 in i_stream_seek () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #1 0x00007fb9c915dd6f in ?? () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #2 0x00007fb9c915ab83 in i_stream_read () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #3 0x00007fb9c91620ad in ?? () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #4 0x00007fb9c91622ab in ?? () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #5 0x00007fb9c915ab83 in i_stream_read () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #6 0x00007fb9c915b5cd in i_stream_read_data () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #7 0x00007fb9c9124a24 in ?? () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #8 0x00007fb9c912560e in ?? () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #9 0x00007fb9c91721d8 in ?? () from /usr/lib/dovecot/libdovecot.so.0 ---Type <return> to continue, or q <return> to quit--- No symbol table info available. #10 0x00007fb9c91649c2 in io_loop_call_io () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #11 0x00007fb9c9166039 in io_loop_handler_run_internal () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #12 0x00007fb9c9164a5c in io_loop_handler_run () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #13 0x00007fb9c9164c08 in io_loop_run () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #14 0x00007fb9c90ec983 in master_service_run () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #15 0x000055f6535b4d14 in main () No symbol table info available. (gdb) q
Hi!
Can you please try again, with debugging symbols installed?
Aki
El 10/05/17 a las 12:26, Aki Tuomi escribió:
Can you please try again, with debugging symbols installed?
There it is
-- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 868888337
On 11.05.2017 12:24, Aki Tuomi wrote:
On 11.05.2017 11:26, Angel L. Mateo wrote:
El 10/05/17 a las 12:26, Aki Tuomi escribió:
Can you please try again, with debugging symbols installed?
There it is
Hi!
This is a known bug and we are working on a fix.
Aki
Although it would be quite useful for us if you can valgrind it, or know how it can be made to happen:
service lmtp { executable = /usr/bin/valgrind --num-callers=30 --time-stamp=yes --track-origins=yes --log-file=/tmp/valgrind.out.$$ /usr/libexec/dovecot/lmtp }
or /usr/lib/dovecot/lmtp depending on your OS.
Aki
El 11/05/17 a las 11:28, Aki Tuomi escribió:
On 11.05.2017 12:24, Aki Tuomi wrote:
On 11.05.2017 11:26, Angel L. Mateo wrote:
El 10/05/17 a las 12:26, Aki Tuomi escribió:
Can you please try again, with debugging symbols installed?
There it is
Hi!
This is a known bug and we are working on a fix.
Aki
Although it would be quite useful for us if you can valgrind it, or know how it can be made to happen:
I don't know how to reproduce the problem. In fact, the same message
that produces it, it's delivered later.
I don't mind valgrind it, but does valgrind produce a lot of output?
-- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 868888337
El 11/05/17 a las 11:28, Aki Tuomi escribió:
On 11.05.2017 12:24, Aki Tuomi wrote:
On 11.05.2017 11:26, Angel L. Mateo wrote:
El 10/05/17 a las 12:26, Aki Tuomi escribió:
Can you please try again, with debugging symbols installed?
There it is
Hi!
This is a known bug and we are working on a fix.
Aki
Although it would be quite useful for us if you can valgrind it, or know how it can be made to happen:
I've been running lmtp with valgrind the whole morning but no debug has
been created (and no core). I'll try again next monday.
-- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 868888337
El 11/05/17 a las 11:24, Aki Tuomi escribió:
On 11.05.2017 11:26, Angel L. Mateo wrote:
El 10/05/17 a las 12:26, Aki Tuomi escribió:
Can you please try again, with debugging symbols installed?
There it is
Hi!
This is a known bug and we are working on a fix.
Ok. Could I use it in production environment?
-- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 868888337
I have updated (temporally) from 2.2.28 to 2.2.30-1. With this last
version I didn't have core related with lmtp. But now I having errors with auth. Would you like a gdb with the new error?
El 26/04/17 a las 14:27, Aki Tuomi escribió:
On April 26, 2017 at 2:03 PM "Angel L. Mateo" amateo@um.es wrote:
Hello,
I'm having a problem with LMTP in a proxy server since I upgraded from 2.1.16 to 2.2.28.
In my logs I have:
Apr 26 12:54:17 musio12 dovecot: lmtp(2082): Fatal: master: service(lmtp): child 2082 killed with signal 11 (core dumped).
As far as I could check the message is delivered in a later connection.
I have enabled core dumped files, but how could I debug it?
-- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 868888337
Can you post
gdb /usr/libexec/dovecot/lmtp /path/to/core bt full
Thanks!
Aki
-- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 868888337
participants (2)
-
Aki Tuomi
-
Angel L. Mateo