MantisBT - NetSurf
View Issue Details
0002716NetSurfRISC OS-specificpublic2019-11-10 07:052020-02-21 09:27
ReporterDavid Pitt 
Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformRISC OSOSRISC OSOS VersionOS 5.27
Product Version 
Target VersionFixed in Version 
Fixed in CI build #
Reported in CI build #4892
URL of problem pagehttps://www.riscosopen.org
Summary0002716: NetSurf fatal error on the down ROOL site
DescriptionROOL's site is down but NetSurf crashes with a fatal error.
Steps To ReproduceClick on link.
Additional InformationThis issue will no doubt 'go away' when ROOL gets its site up again.
TagsNo tags attached.
duplicate of 0002682acknowledged  Occasional crash 
has duplicate 0002717acknowledged  Segfault on GWR site 
Attached Fileszip rool.zip (5,559) 2019-11-10 07:05
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=631&type=bug

Notes
(0002120)
David Pitt   
2019-11-10 07:32   
Site backup shortly after reporting! Bug not now reproducible.
(0002121)
Vincent Sanders   
2019-11-10 11:06   
looks like curl name resolving exploded


Fatal signal received: Segmentation fault

Stack backtrace:

Running thread 0x79db8c (Main Thread)
  ( 7abee0) pc: 57015c lr: 1af1b8 sp: 7abee4 __write_backtrace()
  ( 7abf08) pc: 1af13c lr: 570a88 sp: 7abf0c ro_gui_signal()
  ( 7abf30) pc: 570a70 lr: 570764 sp: 7abf34 __unixlib_exec_sig()
  ( 7abfa0) pc: 57027c lr: 571070 sp: 7abfa4 __unixlib_raise_signal()
  ( 7abfb0) pc: 570f74 lr: 2e67cc sp: 7a8e00 __h_cback()

  Register dump at 007abfb4:

    a1: 46cf8490 a2: 0 a3: 0 a4: 0
    v1: 46cf8490 v2: 0 v3: 0 v4: 46ba8160
    v5: 46cf77f8 v6: 46cf8490 sl: 7a51e0 fp: 7a8e20
    ip: 0 sp: 7a8e00 lr: 2e67cc pc: 2e67dc
    cpsr: 60000010

  002e67c8 : ٔ.� : eb0094d9 : BL &0030BB34
  002e67cc : .0�� : e5943000 : LDR R3,[R4,#0]
  002e67d0 : ..S� : e3530000 : CMP R3,#0
  002e67d4 : $`�� : e5856024 : STR R6,[R5,#36]
  002e67d8 : ���. : 1afffff6 : BNE &002E67B8
  002e67dc : ..�� : e1a00007 : MOV R0,R7
  002e67e0 : ..�� : e1a0100d : MOV R1,R13
  002e67e4 : . �� : e3a02004 : MOV R2,#4
  002e67e8 : �.� : eb0095ee : BL &0030BFA8

  ( 7a8e20) pc: 2e6790 lr: 2e7944 sp: 7a8e24 sh_delentry()
  ( 7a8e48) pc: 2e78d0 lr: 2ece04 sp: 7a8e4c Curl_multi_closed()
  ( 7a8e58) pc: 2ecdf0 lr: 521458 sp: 7a8e5c Curl_ares_sock_state_cb()
  ( 7a8e78) pc: 521344 lr: 51e3f8 sp: 7a8e7c ares__close_sockets()
  ( 7a8eb0) pc: 51e274 lr: 51ed54 sp: 7a8eb4 end_query()
  ( 7a8edc) pc: 51ec8c lr: 51f39c sp: 7a8ee0 next_server()
  ( 7a8f78) pc: 51ef54 lr: 51f6ac sp: 7a8f7c process_answer.part.3()
  ( 7aa9b0) pc: 51f450 lr: 57f8bc sp: 7aa9b4 read_udp_packets()
  ( 7aa9f0) pc: 51f760 lr: 51fd40 sp: 7aa9f4 processfds()
  ( 7aaa04) pc: 51fd1c lr: 2ecd30 sp: 7aaa08 ares_process_fd()
  ( 7aaae8) pc: 2ecbd0 lr: 2ed0f4 sp: 7aaaec waitperform()
  ( 7aab10) pc: 2ed0c8 lr: 2f8c38 sp: 7aab14 Curl_resolver_is_resolved()
  ( 7aab20) pc: 2f8c1c lr: 2e8db4 sp: 7aab24 Curl_resolv_check()
  ( 7aab88) pc: 2e8210 lr: 2e9334 sp: 7aab8c multi_runsingle()
  ( 7aabd4) pc: 2e92a8 lr: e4b78 sp: 7aabd8 curl_multi_perform()
  ( 7aac64) pc: e4b3c lr: dff68 sp: 7aac68 fetch_curl_poll()
  ( 7aac7c) pc: dff2c lr: 1c1424 sp: 7aac80 fetcher_poll()
  ( 7aac9c) pc: 1c13dc lr: b710 sp: 7aaca0 schedule_run()
  ( 7aafe8) pc: ae70 lr: 57f394 sp: 7aafec main()
(0002130)
Dave Higton   
2019-11-25 15:33   
This looks like the same segfault as in 2682 (and maybe some others) - attempting to store R6 at [R5,#36] when R5 = 0. The addresses are slightly different, which probably only reflects different builds.

Issue History
2019-11-10 07:05David PittNew Issue
2019-11-10 07:05David PittFile Added: rool.zip
2019-11-10 07:32David PittNote Added: 0002120
2019-11-10 11:06Vincent SandersNote Added: 0002121
2019-11-12 13:41Vincent SandersRelationship addedhas duplicate 0002717
2019-11-25 15:33Dave HigtonNote Added: 0002130
2019-11-25 21:33Vincent SandersRelationship addedduplicate of 0002682
2020-02-21 09:27Vincent SandersStatusnew => acknowledged