MantisBT - NetSurf
View Issue Details
0002203NetSurfRISC OS-specificpublic2014-09-23 20:482016-02-16 14:36
ReporterHarriet Bazley 
Assigned ToDaniel Silverstone 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
PlatformARMOSRISC OSOS Version5.19
Product Version3.2 
Target Version3.4Fixed in Version3.4 
Fixed in CI build #
Reported in CI build #2122
URL of problem pagehttp://www.livejournal.com/inbox
Summary0002203: Crash on visiting Livejournal inbox
DescriptionNetsurf crashes with a segmentation fault when rendering the page http://www.livejournal.com/inbox, whether by selecting from the hotlist, double-clicking from a StrongED file or typing the URL directly into the application.
Additional InformationIyonix, RISC OS 5.20
TagsNo tags attached.
has duplicate 0002269closed Daniel Silverstone Segfault while idle 
has duplicate 0002114closed Vincent Sanders Spontaneous crash 
has duplicate 0002321closed  Another crash at bbc news website 
Attached Fileszip Log.zip (6,659) 2014-09-23 20:48
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=200&type=bug
zip Login.zip (20,616) 2014-09-23 21:52
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=201&type=bug
zip visit.zip (8,121) 2014-09-23 22:08
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=202&type=bug
zip 1967.zip (85,118) 2014-09-23 22:09
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=203&type=bug
zip logsnip.zip (10,555) 2014-11-29 00:45
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=218&type=bug
zip 2585.zip (29,434) 2015-02-02 09:36
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=244&type=bug
zip Mar31Log.zip (115,657) 2015-03-31 23:36
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=273&type=bug
? Log2721 (38,447) 2015-04-15 12:19
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=283&type=bug

Notes
(0000500)
Harriet Bazley   
2014-09-23 21:58   
It appears to be a problem with this specific user/journal, as I have been able to view other Livejournal blogs (for example capriuni.livejournal.com) without any crash, but attempting to log in (login/zip) or just to view that journal without logging in (visit/zip) both cause crashes.

Logging in via the mobile site is fine (and enables me to view 'friends-only' journals in the standard desktop view), but results in a crash if I subsequently attempt to view the inbox in standard view...

(0000501)
Harriet Bazley   
2014-09-23 22:09   
Tried using Netsurf v1967, which definitely used to work: this seemed OK for a while then crashed (1967/zip). It looks as if something has changed about the site within the last week.
(0000504)
Harriet Bazley   
2014-09-30 02:07   
Tried again with v2127 on Iyonix: again site seemed fine for a while, then crashed.
However, I have had no trouble (touch wood) in accessing the same pages using Netsurf v2117 on this ARMini (RISC OS 5.21), so the issue would appear to be possibly hardware/OS specific.
(0000541)
Harriet Bazley   
2014-11-29 00:48   
Still crashing regularly when attempting to edit/add entries to this journal. This [snipped - last 10Kb] log is from Netsurf v2387 on ARMini, so it's not hardware specific: the error is always a segmentation fault, and the stack backtrace has been the same in every log I've looked at recently:
free_unlocked()
__free()
form_free_control()
form_free()
^html_destroy()
content_destroy()
^hlcache_clean()
schedule_run()
^riscos_poll()
main()
(0000595)
Harriet Bazley   
2015-02-02 09:38   
Still crashing with relentless reproducibility on both Iyonix and ARMini after editing/posting journal entries. Here Netsurf v2585 has just crashed on the ARMini (RISC OS 5.21) after doing nothing but logging in and performing a single edit.
(0000806)
Vincent Sanders   
2015-03-27 17:10   
Is this still occurring with 3.3? I have added some form debugging code to teh latest CI build so can you try with that?
(0000807)
Harriet Bazley   
2015-03-28 16:57   
Unfortunately (see issue ID 0002296) it is currently impossible to log into LiveJournal and edit an article at all in order to provoke the bug reproducibly for test purposes :-(
(0000812)
Harriet Bazley   
2015-03-31 23:39   
Here's an example of this free_unlocked() crash that I managed to get with the latest Netsurf (Dev 2689) while posting a new article -- as opposed to editing one.
Note that the title of this bug is now obsolete: the problem appears to have nothing to do with the actual Livejournal inbox but to have migrated(?) to other parts of the site...

Iyonix Aria RISC OS 5.20
(0000831)
Harriet Bazley   
2015-04-15 12:18   
And another one (dev 2721): the problem appears to be with form_free_control.
(0000834)
Daniel Silverstone   
2015-04-22 21:59   
I have committed a fix for form control destruction, could the OP please re-test with a recent CI 0002736 or later
(0000840)
Harriet Bazley   
2015-04-26 22:34   
Tested with CI 2744 - I didn't get it to crash, but unfortunately most of the features which reliably provoked this site to do so are no longer accessible with Netsurf as of the last month, due to changes to the back end resulting in log-in/cookie issues.
I'll keep an eye on it, but in the absence of a fix for the latter I'm seeing a lot less of Livejournal anyway :-(
(0000851)
Harriet Bazley   
2015-05-14 14:19   
I think - touch wood - this is now fixed. I haven't seen any more of these crashes since this change.
(0001271)
Vincent Sanders   
2016-02-16 14:36   
Confirmed fixed in 3.4 release

Issue History
2014-09-23 20:48Harriet BazleyNew Issue
2014-09-23 20:48Harriet BazleyFile Added: Log.zip
2014-09-23 21:52Harriet BazleyFile Added: Login.zip
2014-09-23 21:58Harriet BazleyNote Added: 0000500
2014-09-23 21:58Harriet BazleyNote Edited: 0000500bug_revision_view_page.php?bugnote_id=500#r1339
2014-09-23 22:08Harriet BazleyFile Added: visit.zip
2014-09-23 22:09Harriet BazleyNote Added: 0000501
2014-09-23 22:09Harriet BazleyFile Added: 1967.zip
2014-09-24 08:47Vincent SandersStatusnew => acknowledged
2014-09-30 02:07Harriet BazleyNote Added: 0000504
2014-11-29 00:45Harriet BazleyFile Added: logsnip.zip
2014-11-29 00:48Harriet BazleyNote Added: 0000541
2015-02-02 09:36Harriet BazleyFile Added: 2585.zip
2015-02-02 09:38Harriet BazleyNote Added: 0000595
2015-02-04 09:02Vincent SandersRelationship addedhas duplicate 0002269
2015-03-27 17:10Vincent SandersNote Added: 0000806
2015-03-27 17:10Vincent SandersStatusacknowledged => feedback
2015-03-28 16:57Harriet BazleyNote Added: 0000807
2015-03-28 16:57Harriet BazleyStatusfeedback => new
2015-03-30 15:15Vincent SandersStatusnew => acknowledged
2015-03-31 23:36Harriet BazleyFile Added: Mar31Log.zip
2015-03-31 23:39Harriet BazleyNote Added: 0000812
2015-04-15 12:18Harriet BazleyNote Added: 0000831
2015-04-15 12:19Harriet BazleyFile Added: Log2721
2015-04-22 21:58Daniel SilverstoneAssigned To => Daniel Silverstone
2015-04-22 21:58Daniel SilverstoneStatusacknowledged => assigned
2015-04-22 21:59Daniel SilverstoneNote Added: 0000834
2015-04-22 22:20Vincent SandersStatusassigned => feedback
2015-04-22 22:20Vincent SandersTarget Version => 3.4
2015-04-26 22:34Harriet BazleyNote Added: 0000840
2015-04-26 22:34Harriet BazleyStatusfeedback => assigned
2015-05-12 09:41Vincent SandersRelationship addedhas duplicate 0002114
2015-05-14 14:19Harriet BazleyNote Added: 0000851
2015-05-14 17:15Vincent SandersStatusassigned => resolved
2015-05-14 17:15Vincent SandersFixed in Version => 3.4
2015-06-01 01:20Vincent SandersRelationship addedhas duplicate 0002321
2015-10-31 21:45Vincent SandersResolutionopen => fixed
2016-02-16 14:36Vincent SandersNote Added: 0001271
2016-02-16 14:36Vincent SandersStatusresolved => closed