[Dovecot] Segfault with dovecot -n / dovecot 2.0

reg9009 reg9009 at yahoo.de
Tue May 26 09:15:34 EEST 2009


Timo Sirainen schrieb:
> On Mon, 2009-05-25 at 16:32 +0000, ja nein wrote:
>   
>> and while trying to get some environmental stuff via dovecot -n, I got a segfault (dovecot is not in system path):
>>
>> /opt/dovecot-2.0/sbin/dovecot -c /etc/dovecot-2.0/sql/dovecot.conf -n
>>     
>
> Could you get gdb backtrace?
>
> gdb /opt/dovecot-2.0/bin/doveconf
> r -c /etc/dovecot-2.0/sql/dovecot.conf -n
> bt full
>
> Note that with with gdb it's running doveconf. "dovecot -n" nowadays
> just execs "doveconf -n".
>
>   
Here it goes:

(gdb) r -c /etc/dovecot-2.0/sql/dovecot.conf -n
Starting program: /opt/dovecot-2.0/bin/doveconf -c
/etc/dovecot-2.0/sql/dovecot.conf -n
# 2.0.UNSTABLE: /etc/dovecot-2.0/sql/dovecot.conf
# OS: Linux 2.6.24-23-xen x86_64 Ubuntu 8.04.2 nfs

Program received signal SIGSEGV, Segmentation fault.
0x0000000000403b24 in main (argc=26, argv=<value optimized out>) at
doveconf.c:139
139                     skip_len = prefix_idx == -1U ? 0 :
strlen(prefixes[prefix_idx]);
(gdb) bt full
#0  0x0000000000403b24 in main (argc=26, argv=<value optimized out>) at
doveconf.c:139
        info = <value optimized out>
        flags = <value optimized out>
        getopt_str = <value optimized out>
        config_path = <value optimized out>
        module = <value optimized out>
        filter = {service = 0x0, local_net = {family = 0, u = {ip6 =
{in6_u = {
          u6_addr8 = '\0' <repeats 15 times>, u6_addr16 = {0, 0, 0, 0,
0, 0, 0, 0}, u6_addr32 = {0, 0, 0, 0}}},
      ip4 = {s_addr = 0}}}, remote_net = {family = 0, u = {ip6 = {in6_u
= {u6_addr8 = '\0' <repeats 15 times>,
          u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, u6_addr32 = {0, 0, 0,
0}}}, ip4 = {s_addr = 0}}}, local_bits = 0,
  remote_bits = 0}
        c = <value optimized out>


Regards,
Sebastian



More information about the dovecot mailing list