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 592492 - Infinite loop can happen when network dies
Infinite loop can happen when network dies
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: HTTP Transport
unspecified
Other Linux
: Normal critical
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2009-08-20 19:05 UTC by Benjamin Otte (Company)
Modified: 2009-08-22 13:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Benjamin Otte (Company) 2009-08-20 19:05:31 UTC
So here's what needs to happen (Dan and me debugged this far):
1. libsoup establishes a connection to HOST
2. The network dies
3. libsoup tries to establish another connection to HOST, which fails.
After this happens, libsoup tries repeatedly to create a new connection. In fact, it gets into a loop that makes Epiphany/Webkit not receive repaint or user input events anymore.

This is reproducible by loading Planet GNOME and at the right point during  loading, right-click => uncheck "Enable Networking" in nm-applet.

It's also happening in the real world quite common when suspending the laptop and resuming it someplace else without an active network connection.
Comment 1 Dan Winship 2009-08-22 13:36:39 UTC
should be fixed in trunk, although i haven't been able to get the timing right to hit the previously-buggy case when testing