MantisBT - NetSurf
View Issue Details
0002611NetSurfJavascriptpublic2018-08-23 21:372018-08-29 14:59
ReporterDave Higton 
Assigned ToMichael Drake 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
PlatformBeagleBoard-xMOSRISC OSOS Version5.25 (14-Aug-18)
Product Version3.8 
Target Version3.8Fixed in Version3.8 
Fixed in CI build #4445
Reported in CI build #4436
URL of problem pagehttps://www.bbc.co.uk/bbcthree/article/27a3c100-33d1-4229-a0ca-4e53c9fa7dfb
Summary0002611: Crash on BBC news web site URL
DescriptionVisit the URL, NS crashes within seconds
Steps To ReproduceVisit the URL
TagsNo tags attached.
Attached Files? Crashdump (23,673) 2018-08-23 21:37
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=555&type=bug
html crash-test.html (77) 2018-08-24 11:26
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=556&type=bug
? modernizr.js (8,356) 2018-08-24 11:27
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=557&type=bug

Notes
(0001807)
Dave Higton   
2018-08-23 21:46   
Also happens with 3496, which is the earliest version I have. It would seem that binary chop is pointless.
(0001808)
Vincent Sanders   
2018-08-23 22:36   
It is a javascript issue. turn js off and it works

nsgtk: content/handlers/css/select.c:1873: set_libcss_node_data: Assertion `old_node_data == NULL' failed.
Aborted

(0001809)
Vincent Sanders   
2018-08-23 22:40   
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007ffff362542a in __GI_abort () at abort.c:89
0000002 0x00007ffff361ce67 in __assert_fail_base (fmt=<optimized out>,
    assertion=assertion@entry=0x5555557c7514 "old_node_data == NULL",
    file=file@entry=0x5555557c74e2 "content/handlers/css/select.c", line=line@entry=1873,
    function=function@entry=0x5555557c7850 <__PRETTY_FUNCTION__.10086> "set_libcss_node_data")
    at assert.c:92
#3 0x00007ffff361cf12 in __GI___assert_fail (
    assertion=assertion@entry=0x5555557c7514 "old_node_data == NULL",
    file=file@entry=0x5555557c74e2 "content/handlers/css/select.c", line=line@entry=1873,
    function=function@entry=0x5555557c7850 <__PRETTY_FUNCTION__.10086> "set_libcss_node_data")
    at assert.c:101
#4 0x000055555566ba29 in set_libcss_node_data (pw=<optimized out>, node=<optimized out>,
    libcss_node_data=<optimized out>) at content/handlers/css/select.c:1873
#5 0x000055555575b19a in css_select_style ()
#6 0x000055555566c675 in nscss_get_style (ctx=ctx@entry=0x7fffffffbb30, n=n@entry=0x555556184110,
    media=media@entry=64, inline_style=inline_style@entry=0x0) at content/handlers/css/select.c:266
#7 0x0000555555671119 in box_get_style (n=0x555556184110, root_style=0x0, parent_style=0x0,
    c=0x5555561838a0) at content/handlers/html/box_construct.c:1377
#8 box_construct_element (convert_children=0x7fffffffbaff, ctx=0x5555568ca440)
    at content/handlers/html/box_construct.c:764
#9 convert_xml_to_box (ctx=0x5555568ca440) at content/handlers/html/box_construct.c:384
#10 0x0000555555717352 in schedule_run () at frontends/gtk/schedule.c:132
#11 0x0000555555709942 in nsgtk_main () at frontends/gtk/gui.c:429
#12 0x00005555555d9843 in main (argc=<optimized out>, argv=<optimized out>) at frontends/gtk/gui.c:1206
(0001810)
Michael Drake   
2018-08-27 20:52   
Thanks for the report. It should be fixed in #4445.
(0001823)
Vincent Sanders   
2018-08-29 14:59   
Thank you for your report, this has been resolved in the 3.8 release

Issue History
2018-08-23 21:37Dave HigtonNew Issue
2018-08-23 21:37Dave HigtonFile Added: Crashdump
2018-08-23 21:46Dave HigtonNote Added: 0001807
2018-08-23 22:36Vincent SandersStatusnew => confirmed
2018-08-23 22:36Vincent SandersCategoryABEND => Javascript
2018-08-23 22:36Vincent SandersProduct Version => 3.8
2018-08-23 22:36Vincent SandersNote Added: 0001808
2018-08-23 22:40Vincent SandersNote Added: 0001809
2018-08-24 11:26Michael DrakeFile Added: crash-test.html
2018-08-24 11:27Michael DrakeFile Added: modernizr.js
2018-08-27 20:52Michael DrakeAssigned To => Michael Drake
2018-08-27 20:52Michael DrakeStatusconfirmed => resolved
2018-08-27 20:52Michael DrakeResolutionopen => fixed
2018-08-27 20:52Michael DrakeFixed in Version => 3.8
2018-08-27 20:52Michael DrakeTarget Version => 3.8
2018-08-27 20:52Michael DrakeFixed in CI build # => 4445
2018-08-27 20:52Michael DrakeNote Added: 0001810
2018-08-29 14:59Vincent SandersStatusresolved => closed
2018-08-29 14:59Vincent SandersNote Added: 0001823