After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 646801 - Send/Receive hangs after change network connection
Send/Receive hangs after change network connection
Status: RESOLVED DUPLICATE of bug 551788
Product: evolution
Classification: Applications
Component: Mailer
3.0.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2011-04-05 12:19 UTC by Stefano Facchini
Modified: 2012-05-18 16:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stefano Facchini 2011-04-05 12:19:46 UTC
If I change network connection (e.g. from wireless to wired or viceversa) while evolution is running, and then I check for new mail, the "Send/receive" window hangs. Cancelling does not work, the only way out is restarting evo. The automatic mail checking also stops working.

This issue disappear if I change back the connection using the same which was active when evo was started.

I'm using evolution 3.0 for archlinux, the building options are:

./configure --prefix=/usr --sysconfdir=/etc \
      --localstatedir=/var \
      --libexecdir=/usr/lib \
      --disable-scrollkeeper \
      --enable-nss=yes \
      --with-openldap=yes \
      --enable-smime=yes \
      --with-krb5=/usr \
      --disable-image-inline
Comment 1 Matthew Barnes 2011-04-05 13:02:01 UTC
As a workaround, switching to offline mode (skip syncing) then back to online mode is usually enough to force the network connections to reset.
Comment 2 Stefano Facchini 2011-04-08 15:17:46 UTC
(In reply to comment #1)
> As a workaround, switching to offline mode (skip syncing) then back to online
> mode is usually enough to force the network connections to reset.

Ok the workaround does the job, thanks! But shouldn't Evolution be synchronized with NetworkManager? Could it depend on how the distribution packages Evo and N-M ?
Comment 3 Matthew Barnes 2011-04-08 15:39:56 UTC
It already does listen to NetworkManager and broadcasts network connectivity changes within the app, but some of the deeper parts of Evolution still misbehave and don't pay attention like they should.
Comment 4 Adam Williamson 2011-08-18 18:42:23 UTC
Just a +1 on this, still happening with 3.1.4, it's kinda annoying.
Comment 5 Claudio Saavedra 2011-11-29 10:15:01 UTC
This is the most annoying evolution bug I've experienced ever. Basically it means that I need to close it before suspending the laptop or even before switching from the wireless to the wired network. Switching to offline mode doesn't solve it (I know it used to, but not anymore with 3.2).
Comment 6 Claudio Saavedra 2011-11-29 10:16:07 UTC
Additional information: when evolution is stuck after swiching network connections, closing it does nothing. The only way out is:


[claudio@localhost ~]$ evolution --force-shutdown
No response from Evolution -- killing the process
Comment 7 Daniel van Eeden 2011-11-29 13:41:01 UTC
It also happens with 3.2.1 on Ubuntu.

When something happens with the network like my IPv6 tunnel going down then Evolution hangs and the only way to stop is to use --force-shutdown.

This seems to happen when:
- My IPv6 connectivity breaks (server is reachable via IPv4)
- Switching between networks
- Suspend/Resume

I'm using IMAP/S.
Comment 8 Adam Williamson 2011-12-08 00:07:01 UTC
I'm having the Claudio case of this recently on F17 - if you suspend with Evo running, when you resume, it'll never be able to retrieve anything from the server until you kill it (with killev) and restart it.
Comment 9 Adam Williamson 2011-12-08 00:07:30 UTC
This is with evolution-3.3.2-1.fc17.x86_64 , so the 'version' could be updated, I think.
Comment 10 Adam Williamson 2012-01-27 21:20:37 UTC
Any chance of a fix for this? It's still going on in current Rawhide, evolution-3.3.4-1.fc17.x86_64 . It's a pretty annoying bug if you suspend regularly.
Comment 11 Adam Williamson 2012-03-28 15:50:51 UTC
Still broken, and we're nearly at GNOME 3.4! Come on, guys, isn't this a bit too big of a bug to have in a stable release?
Comment 12 Adam Williamson 2012-03-31 16:37:58 UTC
It seemed like Matthew was unaware of this when chatting about it on IRC, so I'll make it more explicit: my comment #8 implies that up until shortly before I made that post, and to the present day on F16, this works fine. It has not always been the case. I can happily suspend and resume my F16-running laptop as much as I like, and Evo handles it fine. I cannot do the same with my F17-running desktop.
Comment 13 Nathaniel McCallum 2012-04-30 17:40:41 UTC
Same problem here if my VPN connection dies, evolution just goes into lala land. They only way I can recover is to killall -9 evolution. This is a major, major bug in a released product.
Comment 14 Adam Williamson 2012-05-02 11:11:16 UTC
yeah, VPN connection dying (as they usually do, after a while) is another annoying case of this.

I'm getting to the point where I'm thinking about hacking up a pre-suspend hook to kill Evo and a post-suspend hook to run it again. That's not a point I really ought to be at. :/
Comment 15 Adam Williamson 2012-05-03 14:39:21 UTC
Interesting news: this seems to have just recently broken in F16 too. I'm going to experiment with reverting recent NM and Evo updates to try and pinpoint what breaks it.
Comment 16 Milan Crha 2012-05-18 14:59:28 UTC
I think this is that close to bug #551788 that I can safely mark this as a duplicate of it.

*** This bug has been marked as a duplicate of bug 551788 ***
Comment 17 Adam Williamson 2012-05-18 16:54:24 UTC
Oh, update to #15, that never happened again. 16 is back to working fine. Still only 17 is broken.