[Dovecot] Segmentation fault

Alex Domoradov alex.hha at gmail.com
Mon Feb 10 10:58:41 UTC 2014


Any update?

On Sat, Feb 8, 2014 at 4:09 PM, Alex Domoradov <alex.hha at gmail.com> wrote:
> I have installed debug packages excluding sqlite and dovecot and tried
> one more time
>
> # echo "/var/core/%p" > /proc/sys/kernel/core_pattern
> # doveconf -n
> # 2.2.10: /etc/dovecot/dovecot.conf
> # OS: Linux 2.6.32-431.3.1.el6.x86_64 x86_64 CentOS release 6.5 (Final)
> Segmentation fault (core dumped)
>
> # gdb /usr/bin/doveconf /var/core/23290
> GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
> Copyright (C) 2010 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-redhat-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /usr/bin/doveconf...(no debugging symbols found)...done.
> [New Thread 23290]
> Reading symbols from /usr/lib64/dovecot/libdovecot.so.0...done.
> Loaded symbols for /usr/lib64/dovecot/libdovecot.so.0
> Reading symbols from /lib64/libc-2.12.so...Reading symbols from
> /usr/lib/debug/lib64/libc-2.12.so.debug...done.
> done.
> Loaded symbols for /lib64/libc-2.12.so
> Reading symbols from /lib64/libdl-2.12.so...Reading symbols from
> /usr/lib/debug/lib64/libdl-2.12.so.debug...done.
> done.
> Loaded symbols for /lib64/libdl-2.12.so
> Reading symbols from /lib64/librt-2.12.so...Reading symbols from
> /usr/lib/debug/lib64/librt-2.12.so.debug...done.
> done.
> Loaded symbols for /lib64/librt-2.12.so
> Reading symbols from /lib64/ld-2.12.so...Reading symbols from
> /usr/lib/debug/lib64/ld-2.12.so.debug...done.
> done.
> Loaded symbols for /lib64/ld-2.12.so
> Reading symbols from /lib64/libpthread-2.12.so...Reading symbols from
> /usr/lib/debug/lib64/libpthread-2.12.so.debug...done.
> [Thread debugging using libthread_db enabled]
> done.
> Loaded symbols for /lib64/libpthread-2.12.so
> Reading symbols from /lib64/libnss_files-2.12.so...Reading symbols
> from /usr/lib/debug/lib64/libnss_files-2.12.so.debug...done.
> done.
> Loaded symbols for /lib64/libnss_files-2.12.so
> Core was generated by `doveconf -n'.
> Program terminated with signal 11, Segmentation fault.
> #0  __strlen_sse2 () at ../sysdeps/x86_64/strlen.S:32
> 32              movdqu  (%rdi), %xmm1
> Missing separate debuginfos, use: debuginfo-install dovecot-2.2.10-1.el6.x86_64
> (gdb) bt full
> #0  __strlen_sse2 () at ../sysdeps/x86_64/strlen.S:32
> No locals.
> #1  0x00007f139828e65d in p_strdup (pool=0x10afab0, str=0x288 <Address
> 0x288 out of bounds>) at strfuncs.c:41
>         mem = <value optimized out>
>         len = <value optimized out>
> #2  0x000000000040528f in config_request_get_strings ()
> No symbol table info available.
> #3  0x000000000040c3ce in config_export_finish ()
> No symbol table info available.
> #4  0x00000000004054d4 in config_dump_human_output ()
> No symbol table info available.
> #5  0x0000000000405dff in config_dump_human ()
> No symbol table info available.
> #6  0x0000000000406bcf in main ()
> No symbol table info available.
>
> Is it possible to build debuginfo for the dovecot package?
>
> On Sat, Feb 8, 2014 at 3:15 PM, Alex Domoradov <alex.hha at gmail.com> wrote:
>> # gdb --args doveconf -n
>> GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
>> Copyright (C) 2010 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-redhat-linux-gnu".
>> For bug reporting instructions, please see:
>> <http://www.gnu.org/software/gdb/bugs/>...
>> Reading symbols from /usr/bin/doveconf...(no debugging symbols found)...done.
>> (gdb) run
>> Starting program: /usr/bin/doveconf -n
>> [Thread debugging using libthread_db enabled]
>> # 2.2.10: /etc/dovecot/dovecot.conf
>> # OS: Linux 2.6.32-431.3.1.el6.x86_64 x86_64 CentOS release 6.5 (Final)
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x00007ffff77f9451 in __strlen_sse2 () from /lib64/libc.so.6
>> Missing separate debuginfos, use: debuginfo-install dovecot-2.2.10-1.el6.x86_64
>> (gdb) bt full
>> #0  0x00007ffff77f9451 in __strlen_sse2 () from /lib64/libc.so.6
>> No symbol table info available.
>> #1  0x00007ffff7b9665d in p_strdup (pool=0x6adac0, str=0x288 <Address
>> 0x288 out of bounds>) at strfuncs.c:41
>>         mem = <value optimized out>
>>         len = <value optimized out>
>> #2  0x000000000040528f in config_request_get_strings ()
>> No symbol table info available.
>> #3  0x000000000040c3ce in config_export_finish ()
>> No symbol table info available.
>> #4  0x00000000004054d4 in config_dump_human_output ()
>> No symbol table info available.
>> #5  0x0000000000405dff in config_dump_human ()
>> No symbol table info available.
>> #6  0x0000000000406bcf in main ()
>> No symbol table info available.
>>
>> I have tried to install debug packages but without success
>>
>> # debuginfo-install dovecot-2.2.10-1.el6.x86_64
>> Could not find debuginfo for main pkg: 1:dovecot-2.2.10-1.el6.x86_64
>> Could not find debuginfo pkg for dependency package
>> 1:dovecot-2.2.10-1.el6.x86_64
>> Could not find debuginfo pkg for dependency package
>> 1:dovecot-2.2.10-1.el6.x86_64
>> Could not find debuginfo pkg for dependency package
>> 1:dovecot-2.2.10-1.el6.x86_64
>> Could not find debuginfo pkg for dependency package
>> 1:dovecot-2.2.10-1.el6.x86_64
>> Could not find debuginfo pkg for dependency package
>> 1:dovecot-2.2.10-1.el6.x86_64
>> Could not find debuginfo pkg for dependency package
>> bzip2-libs-1.0.5-7.el6_0.x86_64
>> Could not find debuginfo pkg for dependency package glibc-2.12-1.132.el6.x86_64
>> Could not find debuginfo pkg for dependency package glibc-2.12-1.132.el6.x86_64
>> Could not find debuginfo pkg for dependency package glibc-2.12-1.132.el6.x86_64
>> Could not find debuginfo pkg for dependency package glibc-2.12-1.132.el6.x86_64
>> Could not find debuginfo pkg for dependency package glibc-2.12-1.132.el6.x86_64
>> Could not find debuginfo pkg for dependency package glibc-2.12-1.132.el6.x86_64
>> Could not find debuginfo pkg for dependency package glibc-2.12-1.132.el6.x86_64
>> Could not find debuginfo pkg for dependency package glibc-2.12-1.132.el6.x86_64
>> Could not find debuginfo pkg for dependency package libcap-2.16-5.5.el6.x86_64
>> Could not find debuginfo pkg for dependency package
>> libcom_err-1.41.12-18.el6.x86_64
>> Could not find debuginfo pkg for dependency package glibc-2.12-1.132.el6.x86_64
>> Could not find debuginfo pkg for dependency package glibc-2.12-1.132.el6.x86_64
>> Could not find debuginfo pkg for dependency package
>> openssl-1.0.1e-16.el6_5.4.x86_64
>> Could not find debuginfo pkg for dependency package
>> openssl-1.0.1e-16.el6_5.4.x86_64
>> Could not find debuginfo pkg for dependency package
>> openssl-1.0.1e-16.el6_5.4.x86_64
>> Could not find debuginfo pkg for dependency package glibc-2.12-1.132.el6.x86_64
>> Could not find debuginfo pkg for dependency package glibc-2.12-1.132.el6.x86_64
>> Could not find debuginfo pkg for dependency package
>> 1:dovecot-2.2.10-1.el6.x86_64
>> Could not find debuginfo pkg for dependency package
>> 1:dovecot-2.2.10-1.el6.x86_64
>> Could not find debuginfo pkg for dependency package
>> 1:dovecot-2.2.10-1.el6.x86_64
>> Could not find debuginfo pkg for dependency package
>> 1:dovecot-2.2.10-1.el6.x86_64
>> Could not find debuginfo pkg for dependency package
>> 1:dovecot-2.2.10-1.el6.x86_64
>> Could not find debuginfo pkg for dependency package
>> 1:dovecot-2.2.10-1.el6.x86_64
>> Could not find debuginfo pkg for dependency package
>> 1:dovecot-2.2.10-1.el6.x86_64
>> Could not find debuginfo pkg for dependency package
>> 1:dovecot-2.2.10-1.el6.x86_64
>> Could not find debuginfo pkg for dependency package expat-2.0.1-11.el6_2.x86_64
>> Could not find debuginfo pkg for dependency package
>> krb5-libs-1.10.3-10.el6_4.6.x86_64
>> Could not find debuginfo pkg for dependency package
>> krb5-libs-1.10.3-10.el6_4.6.x86_64
>> Could not find debuginfo pkg for dependency package
>> krb5-libs-1.10.3-10.el6_4.6.x86_64
>> Could not find debuginfo pkg for dependency package
>> krb5-libs-1.10.3-10.el6_4.6.x86_64
>> Could not find debuginfo pkg for dependency package
>> krb5-libs-1.10.3-10.el6_4.6.x86_64
>> Could not find debuginfo pkg for dependency package
>> openldap-2.4.23-34.el6_5.1.x86_64
>> Could not find debuginfo pkg for dependency package pam-1.1.1-17.el6.x86_64
>> Could not find debuginfo pkg for dependency package pam-1.1.1-17.el6.x86_64
>> Could not find debuginfo pkg for dependency package glibc-2.12-1.132.el6.x86_64
>> Could not find debuginfo pkg for dependency package glibc-2.12-1.132.el6.x86_64
>> Could not find debuginfo pkg for dependency package sqlite-3.6.20-1.el6.x86_64
>> Could not find debuginfo pkg for dependency package
>> openssl-1.0.1e-16.el6_5.4.x86_64
>> Could not find debuginfo pkg for dependency package
>> openssl-1.0.1e-16.el6_5.4.x86_64
>> Could not find debuginfo pkg for dependency package zlib-1.2.3-29.el6.x86_64
>> No debuginfo packages available to install
>>
>> On Fri, Feb 7, 2014 at 11:44 PM, Reindl Harald <h.reindl at thelounge.net> wrote:
>>> no - a typo in a config does not qualify a segfault at all
>>>
>>> Am 07.02.2014 22:42, schrieb Alex Domoradov:
>>>> Sorry, it was my fault. With "plain" value all works fine.
>>>>
>>>> Thanks for the help
>>>>
>>>> On Fri, Feb 7, 2014 at 10:54 PM, Timo Sirainen <tss at iki.fi> wrote:
>>>>> On 7.2.2014, at 15.22, Timo Sirainen <tss at iki.fi> wrote:
>>>>>
>>>>>>> auth_verbose_passwords = yes
>>>>>>>
>>>>>> I guess it's related to auth_verbose_passwords setting, but I can't immediately see why it would crash there.
>>>>>
>>>>> Oh, first I thought there were two settings related to this :) Anyway, the reason is simple: "yes" isn't a valid value here. Either use "plain" or "sha1". Although I suppose "yes" could be an alias for "plain" to make people's life easier. So:
>>>>>
>>>>> http://hg.dovecot.org/dovecot-2.2/rev/afd3cfcf1bcb
>>>>> http://hg.dovecot.org/dovecot-2.2/rev/27ac53f11f1f
>>>


More information about the dovecot mailing list