WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
137692
[EFL] REGRESSION(
r173394
): MiniBrowser stucked in an infinite loop if NETWORK_CACHE is disabled
https://bugs.webkit.org/show_bug.cgi?id=137692
Summary
[EFL] REGRESSION(r173394): MiniBrowser stucked in an infinite loop if NETWORK...
Tibor Mészáros
Reported
2014-10-14 07:06:09 PDT
MiniBrowser stucked in an infinite loop on
http://index.hu
if NetworkProcess is enabled The new caching method introduced in
r173394
causes this problem on EFL. You can easily reproduce it with: MiniBrowser
http://index.hu
-S
Attachments
WIP patch
(1.60 KB, patch)
2014-10-14 07:09 PDT
,
Tibor Mészáros
no flags
Details
Formatted Diff
Diff
Patch
(3.01 KB, patch)
2015-12-08 03:27 PST
,
Csaba Osztrogonác
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Tibor Mészáros
Comment 1
2014-10-14 07:09:30 PDT
Created
attachment 239798
[details]
WIP patch If we disable caching, or reduce the caching time, everything works fine. But I started to debug the real bug and try to fix it properly.
Csaba Osztrogonác
Comment 2
2015-11-30 10:59:10 PST
Change importance to P1/blocker, because NetworkProcess is mandatory since
http://trac.webkit.org/changeset/192796
and now networking is completely broken on EFL WebKit:
https://build.webkit.org/builders/EFL%20Linux%2064-bit%20Release%20WK2/builds/25715
Any volunteer to pick up this serious regression?
Csaba Osztrogonác
Comment 3
2015-12-03 00:50:30 PST
just to note:
https://trac.webkit.org/changeset/192994
skipped all wpt tests. They should be unskipped once somebody fixes this very old regression.
Gyuyoung Kim
Comment 4
2015-12-03 00:53:55 PST
(In reply to
comment #3
)
> just to note:
https://trac.webkit.org/changeset/192994
skipped all wpt tests. > They should be unskipped once somebody fixes this very old regression.
To fix it, I file a new bug -
https://bugs.webkit.org/show_bug.cgi?id=151801
Csaba Osztrogonác
Comment 5
2015-12-03 02:33:30 PST
(In reply to
comment #4
)
> (In reply to
comment #3
) > > just to note:
https://trac.webkit.org/changeset/192994
skipped all wpt tests. > > They should be unskipped once somebody fixes this very old regression. > > To fix it, I file a new bug -
https://bugs.webkit.org/show_bug.cgi?id=151801
Common, why do we need a new bug report for the same bug? REGRESSION(
r192994
): imported/w3c/web-platform-tests has been timeout since
r192994
https://bugs.webkit.org/show_bug.cgi?id=151801
Otherwise the name of the new bug is misleading, because
r192994
only made NetworkProcess mandatory, it isn't the real culprit. It is a 15 months old bug caused by
r173394
. But it was hidden, because EFL didn't use NetworkProcess at all until it became mandatory.
https://bugs.webkit.org/show_bug.cgi?id=151801#c2
pointed out that the problem occurs only if NETWORK_CACHE is disabled. So one possible fix can be to enable NETWORK_CACHE on EFL port too similar to Apple Mac and GTK port. In this case can we get rid NETWORK_CACHE guards since all ports enabled it? And we see that networking is broken with disabled NETWORK_CACHE long time ago. Is there any reason to keep this broken configuration in the tree?
Csaba Osztrogonác
Comment 6
2015-12-03 02:34:35 PST
***
Bug 151801
has been marked as a duplicate of this bug. ***
Csaba Osztrogonác
Comment 7
2015-12-03 02:37:10 PST
@Antti and @Darin: You are the author and the reviewer of
r173394
which introduced this regression. What do you think, what would be the proper fix? Should we try to fix the broken !NETWORK_CACHE configuration or should we remove it completely?
Darin Adler
Comment 8
2015-12-06 18:46:01 PST
I think that roughly speaking someone can put: #if !NETWORK_CACHE return 0_ms; #endif in the maximumBufferingTime function. That will turn off the caching Antti’s patch introduced.
Gyuyoung Kim
Comment 9
2015-12-07 08:43:45 PST
(In reply to
comment #5
)
> (In reply to
comment #4
) > > (In reply to
comment #3
) > > > just to note:
https://trac.webkit.org/changeset/192994
skipped all wpt tests. > > > They should be unskipped once somebody fixes this very old regression. > > > > To fix it, I file a new bug -
https://bugs.webkit.org/show_bug.cgi?id=151801
> > Common, why do we need a new bug report for the same bug? > > REGRESSION(
r192994
): imported/w3c/web-platform-tests has been timeout since >
r192994
>
https://bugs.webkit.org/show_bug.cgi?id=151801
> > Otherwise the name of the new bug is misleading, because
r192994
only > made NetworkProcess mandatory, it isn't the real culprit. It is a 15 > months old bug caused by
r173394
. But it was hidden, because EFL > didn't use NetworkProcess at all until it became mandatory.
For the record, test_ewk2_context_menu has been failing since
r192796
. -
https://build.webkit.org/builders/EFL%20Linux%2064-bit%20Release%20WK2/builds/25715
Let's see if this broken test can be fixed as well.
Csaba Osztrogonác
Comment 10
2015-12-08 03:27:02 PST
Created
attachment 266876
[details]
Patch
Csaba Osztrogonác
Comment 11
2015-12-08 03:32:30 PST
(In reply to
comment #10
)
> Created
attachment 266876
[details]
> Patch
(In reply to
comment #8
)
> I think that roughly speaking someone can put: > > #if !NETWORK_CACHE > return 0_ms; > #endif > > in the maximumBufferingTime function. That will turn off the caching Antti’s > patch introduced.
Thanks for the suggestions, it seems it works fine.
Darin Adler
Comment 12
2015-12-08 07:54:38 PST
Comment on
attachment 266876
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=266876&action=review
> Source/WebKit2/WebProcess/Network/WebLoaderStrategy.cpp:91 > +#if !ENABLE(NETWORK_CACHE) > + return 0_ms; > +#endif
I think we need a comment explaining why we are doing this. It’s a mysterious line of code!
WebKit Commit Bot
Comment 13
2015-12-08 08:42:20 PST
Comment on
attachment 266876
[details]
Patch Clearing flags on attachment: 266876 Committed
r193752
: <
http://trac.webkit.org/changeset/193752
>
WebKit Commit Bot
Comment 14
2015-12-08 08:42:24 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug