MantisBT - NetSurf
View Issue Details
0002167NetSurfAmiga-specificpublic2014-07-06 11:362015-03-10 11:12
ReporterChris Young 
Assigned ToChris Young 
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 page
Summary0002167: Find in page hangs on long pages
DescriptionFind in page never completes on long pages.
Steps To ReproduceVisit
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

Chris Young   
2014-07-25 23:10   
I can reproduce this on (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.
Chris Young   
2014-07-25 23: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.
Chris Young   
2014-07-25 23: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.
Chris Young   
2014-07-25 23:30   
Raised minimum stack to 512K in CI#2029.
Vincent Sanders   
2015-03-10 11:12   
Confirmed fixed in 3.2 release

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