Displaying 20 results from an estimated 32 matches for "io_remov".
Did you mean:
io_remove
2004 Oct 28
3
new crash in dovecot-auth test51
#0 io_remove (io=0x0) at ioloop.c:51
51 if ((io->condition & IO_NOTIFY_MASK) != 0) {
(gdb) bt
#0 io_remove (io=0x0) at ioloop.c:51
#1 0x0804fd68 in auth_client_connection_destroy_wait (conn=0x80877d8) at auth-client-connection.c:494
#2 0x08050acd in auth_callback (request=0x84716b8, resu...
2007 Oct 21
2
dovecot 1.1.beta3 crashes on NetBSD/sparc64 4.0_RC3 with Thunderbird 2.0.0.6
...imap crashes.
Here are all the gory GDB details:
Version: 1.1.beta3
OS: NetBSD 4.0_RC3/sparc64 (a 64 bit big endian architecture)
Client: Mozilla Thunderbird 2.0.0.6
bt full:
#0 0x00000000001e846c in io_file_unlink (io=0x32e2c0) at ioloop.c:54
No locals.
#1 0x00000000001e8568 in io_remove (_io=0x3420a8) at ioloop.c:82
io_file = (struct io_file *) 0x32e2c0
io = (struct io *) 0x32e2c0
#2 0x000000000017a0a4 in index_mailbox_check_remove_all (ibox=0x331048)
at index-mailbox-check.c:118
file = (struct index_notify_file *) 0x0
aio = (struct index_noti...
2018 Apr 26
1
director stuck in inifite loop on 2.2.35
...0) = 0
10:38:01.774239 io_add(213, 1, 0x55c8c351df75, 1070) = 0x55c8c5c658b0
10:38:01.774429 io_set_pending(0x55c8c5c658b0, 1, 0x55c8c54b8aa0, 0x7fb4ab11b06a) = 0x55c8c54b8aa0
10:38:01.774598 p_strarray_dup(0x7fb4ab703660, 0x55c8c5786e00, 5, 0x55c8c3723740) = 0x55c8c56d7530
10:38:01.774771 io_remove(0x55c8c5acf788, 0x55c8c3516d60, 5, 48) = 0
10:38:01.774957 timeout_add(0x7530, 0x55c8c351df75, 965, 0x55c8c3515a00) = 0x55c8c5c658b0
10:38:01.775129 timeout_remove(0x55c8c5acf7a8, 0, 0xffffffff, 0) = 0
10:38:01.775301 io_add(213, 1, 0x55c8c351df75, 1070) = 0x55c8c5c658b0
10:38:01.775492 io...
2004 Oct 26
0
dovecot-auth crash
#0 io_remove (io=0x0) at ioloop.c:51
51 if ((io->condition & IO_NOTIFY_MASK) != 0) {
(gdb) bt
#0 io_remove (io=0x0) at ioloop.c:51
#1 0x0804fbd8 in auth_client_connection_destroy_wait (conn=0x8083f10) at auth-client-connection.c:494
#2 0x0805093d in auth_callback (request=0x847e0f0, resu...
2014 Nov 12
1
closed fd causes: lmtp(18385): Panic: epoll_ctl(del, 11) failed: Bad file descriptor
...ot/libdovecot.so.0(i_fatal+0) [0x7fafdc2c0879] -> /usr/local/dovecot-2.2.15/lib/dovecot/libdovecot.so.0(io_loop_handle_remove+0x129) [0x7fafdc2dcc85] -> /usr/local/dovecot-2.2.15/lib/dovecot/libdovecot.so.0(+0xacf16) [0x7fafdc2d9f16] -> /usr/local/dovecot-2.2.15/lib/dovecot/libdovecot.so.0(io_remove+0x1d) [0x7fafdc2d9f5d] -> /usr/local/dovecot-2.2.15/lib/dovecot/libdovecot.so.0(+0xbcd5c) [0x7fafdc2e9d5c] -> /usr/local/dovecot-2.2.15/lib/dovecot/libdovecot.so.0(+0xbce13) [0x7fafdc2e9e13] -> /usr/local/dovecot-2.2.15/lib/dovecot/libdovecot.so.0(io_stream_unref+0x7d) [0x7fafdc2cb30d] -&...
2020 Oct 31
2
Indexer error after upgrade to 2.3.11.3 [trial patch]
...req->payload_input != NULL);
-?????? i_assert(req->payload_output != NULL);
-
??????? if (req->payload_finished)
??????????????? return http_client_request_finish_payload_out(req);
+?????? i_assert(req->payload_input != NULL);
+?????? i_assert(req->payload_output != NULL);
+
??????? io_remove(&conn->io_req_payload);
??????? /* chunked ostream needs to write to the parent stream's buffer */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20201031/5b418979/attachment.html>
2018 Mar 20
1
Strange "IMAP connection broken (server response)" errors
.../login-common/ssl-proxy-openssl.c b/src/login-common/ssl-proxy-openssl.c
index 947c8ef..3ac6823 100644
--- a/src/login-common/ssl-proxy-openssl.c
+++ b/src/login-common/ssl-proxy-openssl.c
@@ -833,7 +833,7 @@ void ssl_proxy_destroy(struct ssl_proxy *proxy)
if (proxy->io_plain_write != NULL)
io_remove(&proxy->io_plain_write);
- if (SSL_shutdown(proxy->ssl) != 1) {
+ if (!SSL_in_init(proxy->ssl) && SSL_shutdown(proxy->ssl) != 1) {
/* if bidirectional shutdown fails we need to clear
the error queue. */
openssl_iostream_clear_errors();
For Dovecot master bran...
2017 Oct 07
0
Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
...ecot-2.2 (eaf276b33).
The crash happens all the time - the logs are full of this message.
Oct 7 20:31:24 thunderstorm.reub.net dovecot: doveadm: Warning: I/O
leak: 0x7f8bb6581b4c (ostream-file.c:350, fd 14)
Oct 7 20:31:24 thunderstorm.reub.net dovecot: doveadm: Panic: file
ioloop.c: line 126 (io_remove_full): assertion failed: (io->callback !=
NULL)
Oct 7 20:31:24 thunderstorm.reub.net dovecot: doveadm: Error: Raw
backtrace: /usr/lib64/dovecot/libdovecot.so.0(+0xd48a6) [0x7f8bb654a8a6]
-> /usr/lib64/dovecot/li
bdovecot.so.0(+0xd5e26) [0x7f8bb654be26] ->
/usr/lib64/dovecot/libdoveco...
2017 Oct 07
0
Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
...ecot-2.2 (eaf276b33).
The crash happens all the time - the logs are full of this message.
Oct? 7 20:31:24 thunderstorm.reub.net dovecot: doveadm: Warning: I/O
leak: 0x7f8bb6581b4c (ostream-file.c:350, fd 14)
Oct? 7 20:31:24 thunderstorm.reub.net dovecot: doveadm: Panic: file
ioloop.c: line 126 (io_remove_full): assertion failed: (io->callback !=
NULL)
Oct? 7 20:31:24 thunderstorm.reub.net dovecot: doveadm: Error: Raw
backtrace: /usr/lib64/dovecot/libdovecot.so.0(+0xd48a6) [0x7f8bb654a8a6]
-> /usr/lib64/dovecot/li
bdovecot.so.0(+0xd5e26) [0x7f8bb654be26] ->
/usr/lib64/dovecot/libdoveco...
2018 Sep 07
1
Auth process sometimes stop responding after upgrade
...(13, EPOLL_CTL_ADD, 78, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP, {u32=149035320, u64=149035320}}) = 0
>> epoll_ctl(13, EPOLL_CTL_DEL, 78, {0, {u32=149035320, u64=149035320}}) = 0
>
> Nothing else but these epoll_ctl() calls? So it's gone to some loop where it keeps calling io_add() and io_remove().
I'm guessing it's because of doveadm command handling issues, since there's some weirdness in the code. Although I couldn't figure out exactly why it would go to infinite loop there. But attached a patch that may fix it, if you're able to test. We haven't noticed such...
2010 Apr 14
4
PostgreSQL driver supporting [round-robin] load balancing and redundancy [LONG]
...>connect_string = connect_string;
+ pgc->pgdb = pgdb;
+
+ dprintf(("%s: pgc %p, '%s'", __func__, pgc, connect_string));
+
+ start_pgc_connect(pgc);
+}
+
+static void reset_pgc(struct multi_pgsql_pgc *pgc)
+{
+ dprintf(("%s: %p", __func__, pgc));
+
+ if (pgc->io) io_remove(&pgc->io);
+ if (pgc->timeout) timeout_remove(&pgc->timeout);
+
+ if (pgc->pgr) {
+ PQclear(pgc->pgr);
+ pgc->pgr = NULL;
+ }
+
+ if (pgc->pgc) {
+ PQfinish(pgc->pgc);
+ pgc->pgc = NULL;
+ }
+}
+
+static void pgc_ioloop_switch(struct multi_pgsql_pgc *pgc)
+...
2020 Oct 27
3
Indexer error after upgrade to 2.3.11.3 [trial patch]
...req->payload_input != NULL);
-?????? i_assert(req->payload_output != NULL);
-
??????? if (req->payload_finished)
??????????????? return http_client_request_finish_payload_out(req);
+?????? i_assert(req->payload_input != NULL);
+?????? i_assert(req->payload_output != NULL);
+
??????? io_remove(&conn->io_req_payload);
??????? /* chunked ostream needs to write to the parent stream's buffer */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20201027/b7235a2c/attachment-0001.html>
2015 Jan 13
0
dovecot-2.2.15 process dovecot/imap segfaults when dict process has troubles
...iled to initialize
dictionary 'lastlogin': dict pgsql: Can't open configuration file
/etc/dovecot/dovecot-dict-sql.conf.ext: Permission denied
Jan 12 16:52:00 mail dovecot: master: Error: service(imap): child 24243
killed with signal 11 (core dumped)
and here is backtrace:
(gdb) bt
#0 io_remove_full (_io=0x7fb02b0afce0, closed=false) at ioloop.c:119
#1 0x00007fb02aac5f40 in io_remove (io=<optimized out>) at ioloop.c:154
#2 0x00007fb02aa841b2 in client_dict_finish_transaction
(dict=dict at entry=0x7fb02b0afc20, id=<optimized out>, ret=ret at entry=-1)
at dict-client.c:274
#3...
2018 Sep 07
0
Auth process sometimes stop responding after upgrade
...> epoll_ctl(13, EPOLL_CTL_ADD, 78, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP, {u32=149035320, u64=149035320}}) = 0
> epoll_ctl(13, EPOLL_CTL_DEL, 78, {0, {u32=149035320, u64=149035320}}) = 0
Nothing else but these epoll_ctl() calls? So it's gone to some loop where it keeps calling io_add() and io_remove().
> FD 13 is "anon_inode:[eventpoll]"
What about fd 78? I guess some socket.
Could you also try two more things when it happens again:
ltrace -tt -e '*' -o ltrace.log -p <pid>
(My guess this isn't going to be very useful, but just in case it might be..)
gdb -p...
2020 Oct 31
0
Indexer error after upgrade to 2.3.11.3 [trial patch]
...req->payload_input != NULL);
-?????? i_assert(req->payload_output != NULL);
-
??????? if (req->payload_finished)
??????????????? return
http_client_request_finish_payload_out(req);
+?????? i_assert(req->payload_input != NULL);
+?????? i_assert(req->payload_output != NULL);
+
??????? io_remove(&conn->io_req_payload);
??????? /* chunked ostream needs to write to the parent
stream's buffer */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20201031/0f6df6f9/attachment.html>
2010 Mar 25
2
A questions about consume_results (driver-pgsql.c)
Code
--------------
static void consume_results(struct pgsql_db *db)
{
do {
if (!PQconsumeInput(db->pg))
break;
if (PQisBusy(db->pg))
return;
} while (PQgetResult(db->pg) != NULL);
if (PQstatus(db->pg) == CONNECTION_BAD)
io_remove_closed(&db->io);
else
io_remove(&db->io);
db->querying = FALSE;
if (db->queue != NULL && db->connected)
queue_send_next(db);
}
---------------
This is the only part of the driver-pgsql.c code where a
CONNECTION_BAD does not result in driver_pgsql_close being...
2005 Jun 10
2
Too many open files
Hi Guys,
Just got this on one of my test72 dovecot servers:
-
Jun 10 12:40:28 svr21 dovecot: auth(default):
net_connect_unix(/var/run/dovecot/auth-worker.18818) failed: Too many
open files
Jun 10 12:40:28 svr21 dovecot: pop3-login: Disconnected: method=PLAIN,
rip=xxx.xxx.xxx.xxx, lip=xxx.xxx.xxx.xxx
Jun 10 12:40:28 svr21 dovecot: pop3-login: Disconnected: method=PLAIN,
rip=xxx.xxx.xxx.xxx,
2005 Nov 28
1
dovecot 1.0.alpha4 hangs at auth
I'm using dovecot 1.0.alpha4 on a freebsd 5.3 i386 system. Dovecot is
configured to use mysql authentication and I'm running mysql 5.0.15 .
Everything works fine, but after a period of inactivity (20-30 minutes )
when I connect and try to authenticate it just hangs.
I noticed that the dovecot-auth worker process is not running anymore...
from looking at the source code I understand that
2017 Oct 12
2
Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
...ll the time - the logs are full of this message.
>>
>> Oct? 7 20:31:24 thunderstorm.reub.net dovecot: doveadm: Warning: I/O
>> leak: 0x7f8bb6581b4c (ostream-file.c:350, fd 14)
>> Oct? 7 20:31:24 thunderstorm.reub.net dovecot: doveadm: Panic: file
>> ioloop.c: line 126 (io_remove_full): assertion failed: (io->callback !=
>> NULL)
>> Oct? 7 20:31:24 thunderstorm.reub.net dovecot: doveadm: Error: Raw
>> backtrace: /usr/lib64/dovecot/libdovecot.so.0(+0xd48a6) [0x7f8bb654a8a6]
>> -> /usr/lib64/dovecot/li
>> bdovecot.so.0(+0xd5e26) [0x7f8bb65...
2004 Aug 25
0
[PATCH] move highest_fd calculations to ioloop-select.c
...num io_condit
io->callback = callback;
io->context = context;
- if (io->fd > current_ioloop->highest_fd)
- current_ioloop->highest_fd = io->fd;
-
io_loop_handle_add(current_ioloop, io);
/* have to append it, or io_destroy() breaks */
@@ -76,17 +55,11 @@ void io_remove(struct io *io)
return;
}
- i_assert(io->fd <= current_ioloop->highest_fd);
-
/* notify the real I/O handler */
io_loop_handle_remove(current_ioloop, io);
io->destroyed = TRUE;
- /* check if we removed the highest fd */
- if (io->fd == current_ioloop->highest_fd)...