Displaying 5 results from an estimated 5 matches for "o_stream_get_buffer_used_size".
2015 Dec 23
2
2.2.21 imap core dump after enabling autoexpunge
Hi,
I've enabled autoexpunge for Trash and Junk. Now imap process core
dumps occasionally.
Tomppa
> program terminated by signal SEGV (no mapping at the fault address)
> 0xff0dc2e0: o_stream_get_buffer_used_size : ld [%o0 + 20], %o0
> Current function is notify_ok (optimized)
> 13 if (o_stream_get_buffer_used_size(client->output) != 0)
> (dbx) where
> [1] o_stream_get_buffer_used_size(0x0, 0x83ee8, 0x83ee8, 0x5f520, 0xfffe681c, 0xff13a978), at 0xff0dc2e0
>...
2013 Jun 18
2
Crashes at login time with freshest code
...ilbox_list_iter_next (ctx=0x10a10840) at
mailbox-list-iter.c:1010
_data_stack_cur_id = 5
info = 0x10a1b780
#16 0x00000000105e343b in mailbox_list_ns_iter_try_next
(_ctx=0x10a10440, info_r=0x7fffffffe768) at mailbox-list-iter.c:580
ctx = 0x10a10440
ns = 0x1050912c <o_stream_get_buffer_used_size+41>
info = 0x10a1b808
error = MAIL_ERROR_NONE
errstr = 0x10a47840 ""
has_children = false
__FUNCTION__ = "mailbox_list_ns_iter_try_next"
#17 0x00000000105e36fc in mailbox_list_ns_iter_next (_ctx=0x10a10440) at
mailbox-list-iter.c:645...
2010 Apr 15
2
2.0.beta4 "OK Still here" not flushed?
...t;OK Still here" messages sometimes arrive, however, just before an
untagged FETCH, however.
I do not know anything about dovecot internals, but I suspected that the
"OK Still here" messages were not being flushed, so I modified line 270
of src/imap/imap-client.c to be:
if (1 || o_stream_get_buffer_used_size(client->output) >=
which I am sure is the wrong solution, since it forces a flush for every
output line and would be quite inefficient. However, with that
modification, the "OK Still here" messages appear reliably. Hopefully,
there is a way to specifically flush just the "...
2005 Aug 24
0
verbose imap logging
...ot;);
}
int _client_output(void *context)
@@ -404,7 +419,7 @@
client->last_output = ioloop_time;
if ((ret = o_stream_flush(client->output)) < 0) {
- client_destroy(client);
+ client_destroy(client, "Disconnect (output)");
return 1;
}
@@ -449,14 +464,14 @@
o_stream_get_buffer_used_size(my_client->output) > 0 &&
idle_time >= CLIENT_OUTPUT_TIMEOUT) {
/* client isn't reading our output */
- client_destroy(my_client);
+ client_destroy(my_client, "Disconnect (client hang)");
} else if (idle_time >= CLIENT_IDLE_TIMEOUT) {
/* client isn&...
2018 Mar 04
1
2.2.34 fails to build on OpenBSD
....libs/libssl_iostream_openssl.so: undefined reference to `safe_memset'
.libs/libssl_iostream_openssl.so: undefined reference to `i_stream_alloc'
.libs/libssl_iostream_openssl.so: undefined reference to
`i_stream_get_data_size'
.libs/libssl_iostream_openssl.so: undefined reference to
`o_stream_get_buffer_used_size'
.libs/libssl_iostream_openssl.so: undefined reference to `i_strdup_printf'
.libs/libssl_iostream_openssl.so: undefined reference to `o_stream_close'
.libs/libssl_iostream_openssl.so: undefined reference to `i_fatal_status'
.libs/libssl_iostream_openssl.so: undefined reference to `b...