Displaying 2 results from an estimated 2 matches for "list_info".
2019 Jul 10
0
Dovecot 2.3.6 on Solaris10: build issues, segfaults
...ed address.
>
> (settings-parser.c:1597 in settings_dup_full())
> src = CONST_PTR_OFFSET(set, def->offset);
>
> (gdb) p set
> $2 = (const void *) 0x55968
> (gdb) p *def
> $3 = {type = SET_SIZE, key = 0x2d548 "submission_max_mail_size", offset = 20, list_info = 0x0}
This is unexpected. But I don't see how it's a Dovecot bug. It seems as if your compiler doesn't do padding correctly and then crashes because it didn't do it correctly. I guess you're compiling this as 32bit? Is size_t 32bit or 64bit?
Can you try with the below small t...
2019 Jul 09
6
Dovecot 2.3.6 on Solaris10: build issues, segfaults
...>offset"=20 => misaligned address.
(settings-parser.c:1597 in settings_dup_full())
src = CONST_PTR_OFFSET(set, def->offset);
(gdb) p set
$2 = (const void *) 0x55968
(gdb) p *def
$3 = {type = SET_SIZE, key = 0x2d548 "submission_max_mail_size", offset = 20, list_info = 0x0}
(gdb) bt full
#0 0xff190690 in setting_copy (type=SET_SIZE, src=0x5798c, dest=0xf7ed4, pool=0xf29a0,
keep_values=false) at settings-parser.c:1519
src_size = 0x5798c
dest_size = 0xf7ed4
__func__ = "setting_copy"
#1 0xff190bc4 in settings_dup_full (info=0x2d9a...