MantisBT - NetSurf
View Issue Details
0002167NetSurfAmiga-specificpublic2014-07-06 12:362015-03-10 11:12
ReporterChris Young 
Assigned ToChris Young 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
PlatformAmigaOSAmigaOSOS Version4.1
Product Version3.2 
Target Version3.2Fixed in Version3.2 
Fixed in CI build #2029
Reported in CI build #2000
URL of problem pagehttp://sox.sourceforge.net/sox.html
Summary0002167: Find in page hangs on long pages
DescriptionFind in page never completes on long pages.
Steps To ReproduceVisit http://sox.sourceforge.net/sox.html
Find in page for "sox".
Either click Next a few times, or select "Show All"
NetSurf hangs
Additional InformationAppears to happen on all long pages.
Cannot reproduce on gtk so probably Amiga only.
TagsNo tags attached.
related to 0002177closed Michael Drake Excessive stack usage 
Attached Files

Notes
(0000420)
Chris Young   
2014-07-26 00:10   
I can reproduce this on http://git.netsurf-browser.org/netsurf.git/tree/amiga/gui.c (and other long source file pages elsewhere) without even doing the find operation using CI#2028.
NetSurf is getting stuck in a loop, with disk access, after the page loads. The last thing in the log is related to FavIcons, so it is probably getting trapped somewhere there is no logging.
(0000421)
Chris Young   
2014-07-26 00:17   
Further investigation points to the Grim Reaper being the cause of the disk access, so it appears NetSurf is actually crashing but for some reason GR is not displaying.

Ranger is pointing to NetSurf having run out of stack despite me recently doubling it to 256K.
(0000422)
Chris Young   
2014-07-26 00:24   
The amiga/gui.c page is using 461244 bytes of stack space.
Increasing the stack to 524288 (512K) fixes the find in page problem too.
Will set that as the minimum in the stack cookie later.
(0000423)
Chris Young   
2014-07-26 00:30   
Raised minimum stack to 512K in CI#2029.
(0000719)
Vincent Sanders   
2015-03-10 11:12   
Confirmed fixed in 3.2 release

Issue History
2014-07-06 12:36Chris YoungNew Issue
2014-07-06 12:36Chris YoungStatusnew => assigned
2014-07-06 12:36Chris YoungAssigned To => Chris Young
2014-07-06 12:36Chris YoungStatusassigned => confirmed
2014-07-26 00:10Chris YoungNote Added: 0000420
2014-07-26 00:17Chris YoungNote Added: 0000421
2014-07-26 00:24Chris YoungNote Added: 0000422
2014-07-26 00:30Chris YoungFixed in CI build # => 2029
2014-07-26 00:30Chris YoungNote Added: 0000423
2014-07-26 00:30Chris YoungStatusconfirmed => resolved
2014-07-26 00:30Chris YoungFixed in Version => 3.2
2014-07-26 00:30Chris YoungResolutionopen => fixed
2014-07-30 11:12Chris YoungRelationship addedrelated to 0002177
2015-03-10 11:12Vincent SandersNote Added: 0000719
2015-03-10 11:12Vincent SandersStatusresolved => closed