Displaying 4 results from an estimated 4 matches for "ssize_t_max".
2003 Mar 04
1
problem with COPY?
...P4< 10 OK Status completed.
[18:06:40] IMAP4> 11 UID COPY 61 Spamcop
now after this, the conenction goes unresponsive and the following appears
in the server log:
Mar 4 18:06:42 btp212 imap(jp): file index-save.c: line 61
(write_with_lf): assertion failed:(size > 0 && size <= SSIZE_T_MAX)
Mar 4 18:06:42 btp212 dovecot: child 6022 (imap) killed with signal 6
any ideas on what might be causing this? dovecot/mua/some else?
regards,
JP
2003 Apr 11
0
compilation errors
...h
config.h defines:
#define OFF_T_MAX LLONG_MAX
whereas /usr/include/machine/limits.h defines:
#define OFF_T_MAX UQUAD_MAX /* max value for an off_t */
I simply comment out the definition from config.h .
Second, in src/lib/mmap-anon.c there's a preprocessor conditional:
#if SSIZE_T_MAX >= LLONG_MAX
(etc)
Unfortunately /usr/include/machine/limits.h defines LLONG_MAX thusly:
#define LLONG_MAX (__extension__(9223372036854775807LL))
(evidently to suppress pedantic warnings about the gcc long long
constant extension) but the cpp prepreprocessor stumbles over this
compari...
2010 Aug 18
1
Error: Index file too large ? 904 bytes ?
My 1.2.13 build is giving me errors based on the same conf file that was working perfectly for 1.2.12 :
Aug 18 03:28:27 IMAP(dclarke): Error: Index file too large: /var/mail/dclarke/dovecot.index
Aug 18 03:28:27 IMAP(dclarke): Fatal: block_alloc(2147483648): Out of memory
Aug 18 03:28:27 dovecot: Error: child 12560 (imap) returned error 83 (Out of memory - see mail_process_size setting)
The
2004 Dec 20
1
panic with search
...(format, args);
(gdb) up
#4 0x080afd33 in pool_data_stack_realloc (pool=0x80c7788, mem=0x80c77d0, old_size=256, new_size=8192) at mempool-datastack.c:110
110 i_panic("pool_data_stack_realloc(): stack frame changed");
(gdb) list
105 /* @UNSAFE */
106 if (new_size == 0 || new_size > SSIZE_T_MAX)
107 i_panic("Trying to allocate %"PRIuSIZE_T" bytes", new_size);
108
109 if (dpool->data_stack_frame != data_stack_frame)
110 i_panic("pool_data_stack_realloc(): stack frame changed");
111
112 if (mem == NULL)
113 return pool_data_stack_malloc(pool, new_s...