MantisBT - NetSurf
View Issue Details
0002364NetSurfJavascriptpublic2015-10-14 13:432016-02-16 14:46
ReporterHarriet Bazley 
Assigned ToMichael Drake 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformARMOSRISC OSOS Version5.19
Product Version3.4 
Target VersionFixed in Version3.4 
Fixed in CI build #3032
Reported in CI build #2998
URL of problem pagehttps://www.fanfiction.net/stats/story_eyes.php
Summary0002364: JavaScript-related lockup
DescriptionWith JavaScript enabled, attempting to view page https://www.fanfiction.net/stats/story_eyes.php when logged in to site causes desktop to lock up (pointer moves, nothing responds).


Steps To ReproduceUnfortunately I don't think this page can be accessed without a fanfiction.net account, but I can replicate the effect by trying to load a RISC OS 'full save' application back into the browser after a Netsurf quit and restart.
Simply running the saved HTML page alone with JavaScript enabled gives no problems.
(I don't actually understand this, since the saved app contains no scripts that I can see....)
Additional InformationZipped full save attached.

Iyonix Aria running RISC OS 5.20
TagsNo tags attached.
duplicate of 0002366closed Michael Drake JS lockup 
Attached Fileszip story_eyes.zip (33,594) 2015-10-14 13:43
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=326&type=bug
zip Log3.zip (34,963) 2015-10-18 17:14
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=331&type=bug

Notes
(0000959)
Dave Higton   
2015-10-17 21:00   
I tried it just now, loading story_eyes.zip into #2999 with JS enabled. It isn't an infinite single-tasking loop, but it did take an extraordinarily long time to resume normal operation. But it did in the end return, and render a sensible-looking page.
(0000962)
Harriet Bazley   
2015-10-18 17:16   
I tried again with story_eyes.zip on version #3000 here, and after five minutes or so it still hadn't rendered. The log isn't very helpful as it simply appears to report that everything was fetched successfully: Log3.zip
(0000963)
Dave Higton   
2015-10-18 19:42   
Harriet: I just tried it again on the Iyonix, and it single tasked for 9 minutes 51 seconds (CI#3000). Your machine must be similar.

For an interesting comparison, the BBxM under the same conditions was back well within 4 minutes. Most curious.
(0000988)
Harriet Bazley   
2015-10-30 00:47   
Raw processing power evidently counts...

Same behaviour turns out to affect ANY page on this site that displays the 'collapsible' menu entries, which is a bit of a killer if you accidentally try to reply to an e-mail PM notification, etc.
(0000990)
Vincent Sanders   
2015-10-30 14:11   
this is the same root cause as bug 2366 so we will update that
(0001007)
Dave Higton   
2015-10-31 18:55   
Was about 4 minutes on BBxM with CI#3000, now down to 11 seconds under the same conditions with CI#3032.

Duplicate of 2366, now resolved.
(0001279)
Vincent Sanders   
2016-02-16 14:46   
Confirmed fixed in 3.4 release

Issue History
2015-10-14 13:43Harriet BazleyNew Issue
2015-10-14 13:43Harriet BazleyFile Added: story_eyes.zip
2015-10-17 21:00Dave HigtonNote Added: 0000959
2015-10-18 17:14Harriet BazleyFile Added: Log3.zip
2015-10-18 17:16Harriet BazleyNote Added: 0000962
2015-10-18 19:42Dave HigtonNote Added: 0000963
2015-10-20 20:58Vincent SandersStatusnew => acknowledged
2015-10-20 20:58Vincent SandersProduct Version => 3.4
2015-10-20 20:58Vincent SandersDescription Updatedbug_revision_view_page.php?rev_id=1562#r1562
2015-10-20 20:58Vincent SandersSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=1564#r1564
2015-10-20 20:58Vincent SandersAdditional Information Updatedbug_revision_view_page.php?rev_id=1566#r1566
2015-10-30 00:47Harriet BazleyNote Added: 0000988
2015-10-30 14:09Vincent SandersRelationship addedduplicate of 0002366
2015-10-30 14:11Vincent SandersNote Added: 0000990
2015-10-31 18:55Dave HigtonFixed in CI build # => 3032
2015-10-31 18:55Dave HigtonNote Added: 0001007
2015-10-31 18:55Dave HigtonAssigned To => Michael Drake
2015-10-31 18:55Dave HigtonStatusacknowledged => resolved
2015-10-31 18:55Dave HigtonResolutionopen => fixed
2015-10-31 18:55Dave HigtonFixed in Version => 3.4
2016-02-16 14:46Vincent SandersNote Added: 0001279
2016-02-16 14:46Vincent SandersStatusresolved => closed