Displaying 4 results from an estimated 4 matches for "my_client".
2008 Oct 16
2
Backtrace of /usr/local/libexec/dovecot/imap
My batch file uses:
bt full
p my_client.command_queue
p my_client.command_queue.next
p my_client.command_queue.next.next
p my_client.command_queue.next.next.next
p my_client.command_queue.next.next.next.next
p my_client.command_queue.next.next.next.next.next
p my_client.command_queue.next.next.next.next.next.next
quit
----- Forwarded me...
2005 Aug 24
0
verbose imap logging
...(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't send...
2008 Oct 16
2
And another crash (imap, 1.1.4)
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as
2006 Nov 19
0
Backtraces without core dumps
...t's more risky so I didn't do it yet. Maybe it should be done
only optionally.
If you're interested in trying, the code is now in CVS and in the
latest nightly snapshot.
When it crashes, it prints something like:
Panic: file client.c: line 55 (client_create): assertion failed:
(my_client != NULL)
Error: Backtrace: ./imap [0x80b2ffa] -> ./imap [0x80b2ecc] -> ./imap
[0x805bbb3] -> ./imap(main+0x426) [0x80634a6] -> /lib/tls/libc.so.6
(__libc_start_main+0xc8) [0xb7e53ea8] -> ./imap [0x80566a1]
Looks like the symbol name resolving doesn't work all that great. But...