Displaying 4 results from an estimated 4 matches for "setting_copi".
Did you mean:
setting_copy
2019 Jul 09
6
Dovecot 2.3.6 on Solaris10: build issues, segfaults
Hopefully, there is some fix for issue 3 which is beyond my
skill to fix.
Issue 1) Need recent gcc version
Building Dovecot versions <=2.2.x using gcc 3.4.4 worked,
but this gcc version fails to build 2.3.x properly: symptoms
include compile failures and executable crashes that depended
on the amount of optimization used, which is usually a sign of
compiler bugs. (It could also be
2019 Jul 20
2
Dovecot 2.3.6 on Solaris10: build issues, segfaults
Looking further into this segfault at
settings-parser.c:setting_copy():1519
*dest_size = *src_size;
*src_size points to type size_t (typedef unsigned long), a 4-byte
aligned value consistent with a 32-bit build. This is mismatched with
declared type
(gdb) whatis src_size
type = const uoff_t *
(gdb) whatis uoff_t
type = unsigned long long
(gdb) p sizeof(uoff_t)
$1 = 8
resulting
2019 Jul 10
0
Dovecot 2.3.6 on Solaris10: build issues, segfaults
On 9 Jul 2019, at 3.02, Joseph Tam via dovecot <dovecot at dovecot.org> wrote:
>
> Issue 3) dovecot/doveconf segfaults on startup
>
> It crashes here while processing dovecot.conf, as does "doveconf"
>
> (settings-parser.c:1519 in setting_copy())
> *dest_size = *src_size;
This is correct code.
> It appears *src_size is not an 8-byte address
2019 Jul 22
0
Dovecot 2.3.6 on Solaris10: build issues, segfaults
Ah, okay, I see. submission_max_mail_size should be defined as uoff_t instead of size_t in struct submission_settings and struct submission_settings.
> On 20 Jul 2019, at 1.47, Joseph Tam via dovecot <dovecot at dovecot.org> wrote:
>
>
> Looking further into this segfault at
>
> settings-parser.c:setting_copy():1519
> *dest_size = *src_size;
>
> *src_size