GNOME Bugzilla – Bug 557078
Too long IMAP ping timeout to a server
Last modified: 2012-09-12 15:49:48 UTC
Please describe the problem: Evolution 'hangs' often at one location where the network connection sometimes gets reset. Steps to reproduce: 1) Connect to an IMAP or an exchange server. 2) Wait for the network to 'reset' the connection. (SSH message after such a reset is: Connection reset by peer 3) Status bar says something like "Refreshing" or "Sending". 4) Press the send and receive button and evolution stops responding Actual results: Evolution does not respond anymore Expected results: At least it should keep responding. Even better would be if it would detect a timeout sooner and retry later. Does this happen every time? Yes, Other information: Evolution camel debug: < 47492950 > Thread 45c8f950 > CamelFolder:get_message('Outbox', '26') = class: CamelMimeMessage mime-type: multipart/related; type="multipart/alternative"; boundary="=-0dR2bDkeiB43GGG+1IeB" content class: CamelMultipart content mime-type: multipart/related; type="multipart/alternative"; boundary="=-0dR2bDkeiB43GGG+1IeB" class: CamelMimePart mime-type: multipart/alternative; boundary="=-9EUq0GfxsilDv+WoOYyn" content class: CamelMultipart content mime-type: multipart/alternative; boundary="=-9EUq0GfxsilDv+WoOYyn" class: CamelMimePart mime-type: text/plain; charset=utf-8 content class: CamelDataWrapper content mime-type: text/plain; charset=utf-8 class: CamelMimePart mime-type: text/html; charset=utf-8 content class: CamelDataWrapper content mime-type: text/html; charset=utf-8 class: CamelMimePart mime-type: image/gif; name=REMOVED.gif content class: CamelDataWrapper content mime-type: image/gif; name=REMOVED.gif < 45c8f950 > Thread 45c8f950 > CamelStore('exchange://REMOVED;auth=Basic@REMOVED/;filter_junk_inbox;filter;ad_server=REMOVED;owa_path=/Exchange;mailbox=REMOVED;save-passwd=true;owa_url=https://REMOVED;sync_offline;filter_junk'):get_folder('personal/Verzonden items', 0) = 0xf50ef0 < 45c8f950 > Strace output before pressing "Send and receive": Process 21497 attached - interrupt to quit restart_syscall(<... resuming interrupted call ...>) = 0 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"5\30\4\0\315\233\240\2\207\222\240\2\24\0\34\0\235\4\5"..., 332}], 1) = 332 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 124) = 0 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"5\30\4\0\321\233\240\2\207\222\240\2\24\0\34\0\235\4\5"..., 332}], 1) = 332 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 124) = 0 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"5\30\4\0\325\233\240\2\207\222\240\2\24\0\34\0\235\4\5"..., 332}], 1) = 332 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 124) = 0 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 1) = 0 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"5\30\4\0\331\233\240\2\207\222\240\2\24\0\34\0\235\4\5"..., 332}], 1) = 332 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 124) = 0 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"5\30\4\0\335\233\240\2\207\222\240\2\24\0\34\0\235\4\5"..., 332}], 1) = 332 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN, revents=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 124) = 1 read(3, "\241 _\303p\0\240\2\375\0\0\0\4\1\0\0\275\f\0\0p\0\240"..., 4096) = 128 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"\31\0\v\0\246\1\0\0\0\0\30\0! \0\0\246\1\0\0\375\0\0\0"..., 176}], 1) = 176 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 42) = 0 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 1) = 0 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 select(4, [3], [3], NULL, NULL) = 1 (out [3]) After "Send and receive": poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"&\7\2\0\201\0\240\2", 8}], 1) = 8 select(4, [3], [], NULL, NULL) = 1 (in [3]) read(3, "\1\1\205\342\0\0\0\0\246\1\0\0\232\0\240\2\202\0^\0\202"..., 4096) = 32 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"5\30\4\0\264\242\240\2\201\0\240\2i\0005\0\235\4\5\0\265"..., 200}, {"\235\n\320\3\3\242\240\2\241\242\240\2\265\242\240\2N\1"..., 3904}], 2) = 4104 select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"\235\n\320\3\3\242\240\2a\231\240\2\265\242\240\2N\1\0"..., 3936}, {"H\2\216\1\266\242\240\2\16\1\240\2\10\0001\0\0\0\0\0\0"..., 1592}], 2) = 5528 select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"\235\4\6\0\267\242\240\2\266\242\240\2P\1\0\0\0\1\0\0\1"..., 3744}, {"\235\n\354\0\3\242\240\2i\231\240\2\265\242\240\2N\1\0"..., 944}], 2) = 4688 select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"\235\4\6\0\270\242\240\2\264\242\240\2R\1\0\0\200\0\0\0"..., 260}], 1) = 260 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"5\30\4\0\271\242\240\2\207\222\240\2\24\0\34\0\235\4\5"..., 332}], 1) = 332 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN, revents=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 125) = 1 read(3, "\10\0\270\342\360\f\0\1\246\1\0\0\232\0\240\2\0\0\0\0\202"..., 4096) = 96 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"5\30\4\0\275\242\240\2\201\0\240\2i\0005\0\235\4\5\0\276"..., 440}], 1) = 440 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN, revents=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 71) = 1 read(3, "\26\0\270\342p\0\240\2p\0\240\2 \0 \2\0\0000\0\200\7f\4"..., 4096) = 64 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"(\7\4\0p\0\240\2\246\1\0\0\0\0\0\0", 16}], 1) = 16 select(4, [3], [], NULL, NULL) = 1 (in [3]) read(3, "\1\1\315\342\0\0\0\0p\0\240\2\0\0000\0\25\0\0\0\0\0\0\0"..., 4096) = 32 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 select(4, [3], [3], NULL, NULL) = 2 (in [3], out [3]) read(3, "\241 \315\342p\0\240\2\375\0\0\0\376\0\0\0\f\r\0\1\0\0"..., 4096) = 160 writev(3, [{"\201\2\5\0\0\0\240\2\320\0\240\2\0\0\0\0\0\0\0\0\201\2"..., 136}], 1) = 136 select(4, [3], [], NULL, NULL) = 1 (in [3]) read(3, "\241 \324\342\254\0\240\2\216\1\0\0\0\0\0\0\1\0\0\0\0\0"..., 4096) = 64 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"\31\0\v\0\300\0\240\2\0\0\0\0! \0\0\300\0\240\2\216\1\0"..., 48}], 1) = 48 select(4, [3], [], NULL, NULL) = 1 (in [3]) read(3, "\241 \326\342\300\0\240\2\216\1\0\0\0\0\0\0\1\0\0\0\0\0"..., 4096) = 64 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"\31\0\v\0\2\1\240\2\0\0\0\0! \0\0\2\1\240\2\216\1\0\0\0"..., 48}], 1) = 48 select(4, [3], [], NULL, NULL) = 1 (in [3]) read(3, "\241 \330\342\2\1\240\2\216\1\0\0\0\0\0\0\1\0\0\0\0\0\0"..., 4096) = 64 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"\31\0\v\0\204\0\240\2\0\0\0\0! \0\0\204\0\240\2\216\1\0"..., 48}], 1) = 48 select(4, [3], [], NULL, NULL) = 1 (in [3]) read(3, "\241 \332\342\204\0\240\2\216\1\0\0\0\0\0\0\1\0\0\0\0\0"..., 4096) = 64 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"*\2\3\0q\0\240\2\f\r\0\1+ \1\0\22\0\7\0p\0\240\2\16\1\0"..., 44}], 1) = 44 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"\f\0\4\0\251\0\240\2@\0\0\0\0\0\0\0\10\0\2\0\251\0\240"..., 2920}, {"\235\n|\2\3\242\240\2\223\231\240\2\301\242\240\2N\1\0"..., 2544}], 2) = 5464 select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"5 \4\0\305\242\240\2\300\242\240\2\10\0001\0008 \4\0\16"..., 3020}, {"\235\n:\3\3\242\240\2Z\231\240\2\301\242\240\2N\1\0\0\4"..., 3304}], 2) = 6324 select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"\235\4\6\0\316\242\240\2\300\242\240\2R\1\0\0\200\0\0\0"..., 3004}, {"\235\n|\2\3\242\240\2\223\231\240\2\320\242\240\2N\1\0"..., 2544}], 2) = 5548 select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"\235\32\r\0\3\242\240\2\320\242\240\2\n\311c\332\365\357"..., 3836}], 1) = 3836 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"5\30\4\0\324\242\240\2\325\0\240\2\232\0\25\0\235\4\5\0"..., 240}], 1) = 240 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN, revents=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 33) = 1 read(3, "\n\2\334\342p\0\240\2\0\200E\0\0\0\0\0\240\201\242\1\0"..., 4096) = 128 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 31) = 0 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 select(4, [3], [3], NULL, NULL) = 2 (in [3], out [3]) read(3, "\5\1V\343@\r\0\1\246\1\0\0\232\0\240\2\0\0\0\0\202\0^\000"..., 4096) = 32 writev(3, [{"5\30\4\0\326\242\240\2\207\222\240\2\24\0\34\0\235\4\5"..., 332}], 1) = 332 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=39, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=38, events=POLLIN}], 8, 0) = 0 writev(11, [{"GIOP\1\2\1\0\241\0\0\0", 12}, {"H\245\345\303\3\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\310\352"..., 161}], 2) = 173 futex(0x669c84, 0x80 /* FUTEX_??? */, 273) = 0 futex(0x669c50, 0x81 /* FUTEX_??? */, 1) = 0 uname({sys="Linux", node="jeroen-laptop", ...}) = 0 select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"\1\30\r\0\332\242\240\2\246\1\0\0\0\0\0\0X\2\310\0\0\0"..., 804}], 1) = 804 read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(3, 0x64eea4, 4096) = -1 EAGAIN (Resource temporarily unavailable) select(4, [3], [3], NULL, NULL) = 2 (in [3], out [3]) read(3, "\34\0k\343\332\242\240\2\2\1\0\0\\\r\0\1\0\333Q\1\0\0\0"..., 4096) = 512 writev(3, [{"", 0}, {"\22\0\20^\332\242\240\2\0\1\0\0\6\0\0\0 \0\0\0\n^\0\0\20"..., 81920}, {"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 14400}], 3) = 96320 select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"5\30\4\0\335\242\240\2\246\1\0\0\200\0\200\0\235\4\6\0"..., 3340}, {"\235\n:\3\3\242\240\2\354\242\240\2\346\242\240\2N\1\0"..., 3304}], 2) = 6644 select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"\235\7\2\0Y\231\240\2\235\7\2\0Z\231\240\0026\7\2\0X\231"..., 1796}, {"\235\n:\3\3\242\240\2\354\242\240\2\372\242\240\2N\1\0"..., 3304}], 2) = 5100 select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"5\10\4\0\373\242\240\2\371\242\240\2\224\0\22\0\235\4\5"..., 1628}, {"\235\n:\3\3\243\240\2\354\242\240\2\5\243\240\2N\1\0\0"..., 3304}], 2) = 4932 clone(child_stack=0x46c91170, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x46c919e0, tls=0x46c91950, child_tidptr=0x46c919e0) = 22144 futex(0x7fb7b0540848, 0x81 /* FUTEX_??? */, 1) = 1 futex(0x6f6630, 0x81 /* FUTEX_??? */, 1) = 1 futex(0x74dfb4, 0x85 /* FUTEX_??? */, 1) = 1 futex(0x6f6630, 0x81 /* FUTEX_??? */, 1) = 1 writev(16, [{"GIOP\1\2\1\0\\\0\0\0", 12}, {"\330\250\345\303\3\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0T\322"..., 92}], 2) = 104 fut After a long time (normally I would allready have closed evolution by now) the camel debug outputs: sending : A00376 NOOP CamelException.set(0x168c960, 303, 'Connection reset by peer') Thread 45c8f950 > CamelFolder:get_message('Outbox', '27') = class: CamelMimeMessage mime-type: multipart/mixed; boundary="=-zxlMDEXdSzSi7rfpHCQ1" content class: CamelMultipart content mime-type: multipart/mixed; boundary="=-zxlMDEXdSzSi7rfpHCQ1" class: CamelMimePart
Milan has fixed an issue on similar line in 2.25.x.
Oh, did I? I do not recall, unfortunately :( I see this is when sending mail, but nothing more I can read from the above information at the moment, except of that described by Jeroen.
The problem doesn't only occur when sending mail. It also happens when I have got no email to send.
Similar downstream bug report in 3.0.3 (I believe it's the same thing): https://bugzilla.redhat.com/show_bug.cgi?id=751211 early since Fedora 15 I have a laptop sometimes I disconnect from network, and ping timeout take more than 10 minutes which is very annoying. Sometimes I lose my patience and use killall evolution , but if I wait , evolution close by it self , but every time that I got a network problem , I have to wait arround 10 minutes (I don't count) to get evolution ready again. Version-Release number of selected component (if applicable): evolution-3.0.3-1.fc15.x86_64 How reproducible: I simply create an imap account, and in mail server configuration write wrong name of a server (be sure that doesn't exist at all). And try get email . Actual results: Ping server , round and round many minutes and block evolution. Expected results: give a quick error.
hi , this is not difficult to reproduce , just disable route APN and don't disable the link, on on account imap+. evolution 3.2.2 don't seems have the problem solved.
I just tried and this seems to be fixed with commit [1]. I tried by checking for supported authentication types with imap.gmail.com on port 143 (there is a downstream bug report where reporter suggests this setup) and after I press cancel the dialog is closed in about two or three seconds. I guess it's the quickies response we can get from nss/nspr. [1] http://git.gnome.org/browse/evolution-data-server/commit/?id=d8b557c297
what version will contain this patch ?
This has been committed in current development branch (3.3.x) and will be part of stable version 3.4 which will be released in March end, 2012.
Still not completely fixed on evolution-3.4.1-2.fc17.x86_64, 1st say that we find a bug and *just* after 6 months , we can test it, don't see great advances , if it is a bug why bug is not solved in next minor release ? I'm testing on Fedora17 and I have multiple imap accounts and suspend laptop in one place , and resume in other , and no time out happens , after 1/2 an hour. :(
I have backported the patch mentioned by Milan in comment 6 to evolution-data-server 3.2.2 but it did _not_ fix the problem; I’m currently looking again at evolution telling me that it is pinging the server. Probably due to the multi-connection design of IMAPx, I can still use most folders, but I won’t see new messages in the INBOX for a long while. Worse, status updates of the INBOX (e.g. marking a message as replied to) will be lost.
Thanks for the test. There are more issues with it, the comment #6 is just a beginning (I hoped it'll address it better, but it didn't). This commit [1] comes on my mind, but it's possible it'll not fix this completely too. This is similar to hibernate issue, though not exactly the same thing. I saw few "Connection reset by peer" issues too, though the imapx in 3.4.x was able to recover from it. There had been done many changes in imapx between 3.2.x and 3.4.x. [1] http://git.gnome.org/browse/evolution-data-server/commit/?h=gnome-3-4&id=b2dde29dcf
(In reply to comment #11) Thanks for the pointer. Unfortunately, that patch does not apply easily to eds-3.2.2, so I can’t test it right now, nor find out of existing patches can help to fix this in the version of eds that will end up in Debian wheezy. I’ll wait for the new releases to appear in Debian to do more testing.
Running Evolution 3.4.3 now. I did not see the “pinging” message any more, but it seems that the underlying problem still occurs: Evolution currently seems stuck looking for new mail and does not even send a message. (It did send the message via sendmail, but seems to be stuck saving it to the Sent folder).
Hmm, the problem seems to be even worse now, i.e. it gets stuck more often, and now I cannot even quit evolution, as it seems to think that it first has to finish fetching three mails. Unfortunately, the patch you mentioned in comment #11 is already included in 3.4.3.
(In reply to comment #14) > Hmm, the problem seems to be even worse now, i.e. it gets stuck more often, and > now I cannot even quit evolution, as it seems to think that it first has to > finish fetching three mails. Unfortunately, the patch you mentioned in comment > #11 is already included in 3.4.3. yeah , I will write the same, PING problem is resolved , but now I got even worse behaviour on check new emails , just with killall -9 evolution
I disabled IDLE support and things seem to work better. Maybe it is a bit early to make a definite statement, but I wanted to note that down before I forget about it. (I also disabled the Quick Resync feature, I’ll try different combinations later.)
When it gets to the frozen state, could you get backtrace of the process to see what is going on, please? Please make sure you have installed debuginfo packages at least for evolution-data-server and evolution of the same version as your binary packages and that the resulting backtrace will not contain any private information, like passwords, server addresses and such (I usually search for "pass" string in the text). You can get backtrace with this command: $ gdb --batch --ex "t a a bt" -pid=PID &>bt.txt where PID is a process ID of running evolution (ps ax | grep evolution).
Hi did not yet have a chance to try to generate a stack trace (and not sure how useful it is, after all the UI is not frozen but rather the IMAP implementation seems to be stuck, so the more interesting would be the state of the IMAP code). But I did re-enable Quick Resync and still no problem, so it is definitely caused by enabling IDLE support.
Hmm, disabling IDLE support does _not_ fix the problem, it just seems to make it occur less often. Right now, evolution is stuck trying to save a sent message to the IMAP server, while simultaneously refreshing a folder and checking for new mail. I’m taking a backtrace now.
Created attachment 217875 [details] Backtrace while stuck
Thanks for an update (and I'm sorry for a late response). The backtrace shows thread 4 waiting for a response from the server. I addressed this in bug #551788, the connection timeout is set to 60 seconds. I'm marking this as a duplicate of the other bug. *** This bug has been marked as a duplicate of bug 551788 ***
(In reply to comment #15) > (In reply to comment #14) > > Hmm, the problem seems to be even worse now, i.e. it gets stuck more often, and > > now I cannot even quit evolution, as it seems to think that it first has to > > finish fetching three mails. Unfortunately, the patch you mentioned in comment > > #11 is already included in 3.4.3. > > yeah , I will write the same, PING problem is resolved , but now I got even > worse behaviour on check new emails , just with killall -9 evolution somehow, the bad behaviour as gone , thanks