Welcome, Guest. Please login or register.

Author Topic: NetSurf OS3 - testing!  (Read 27789 times)

Description:

0 Members and 2 Guests are viewing this topic.

Offline Primax

  • Newbie
  • *
  • Join Date: Feb 2016
  • Posts: 30
    • Show only replies by Primax
Re: NetSurf OS3 - testing!
« Reply #74 from previous page: April 03, 2019, 05:16:57 AM »
I've asked for my changes to be merged, so this will be the official build soon. I wish I could find the memory trashing bug, which I'm sure is causing all the oddness. I don't think it is new, just switching libraries around has changed the visible effects.
And what about the secure connections which do not work?
 

Offline chrisTopic starter

Re: NetSurf OS3 - testing!
« Reply #75 on: April 03, 2019, 08:00:25 AM »
They do work. They don't work for you, and I'm sure that's the memory trashing bug causing that.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline chrisTopic starter

Re: NetSurf OS3 - testing!
« Reply #76 on: April 08, 2019, 06:53:53 PM »
The official builds now use AmiSSL: https://ci.netsurf-browser.org/builds/amigaos3/
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline Gerbinist

Re: NetSurf OS3 - testing!
« Reply #77 on: April 08, 2019, 07:15:39 PM »
Code: [Select]
Your SSL client is

Probably Okay

 ;)

Hits are gone here during startup, still crashes after quitting though  ???
Current: OS 3.1.4, Blizzard 1260/50, 64 MB, AGA, CF, Ryś MKII, PCMCIA/CNET
Storage: Elbox E/BOX 1200, SCSI Kit IV, Mediator SX, Voodoo3/4/5, RTL8139 Ethernet, Spider USB 2.0, PixelView PlayTV MPEG2, Terratec 512i, MAS MP3 Player
 

Offline x303

Re: NetSurf OS3 - testing!
« Reply #78 on: April 08, 2019, 09:33:08 PM »
When exiting i got:

MuForce hit! Bad program!

WORD READ from FFFFFF7C (INST)                 PC: FFFFFF7C
USP : 126D28A8 SR: 0010  (U0)(-)(-)  TCB: 126B2968
Data: 00000001 12B6A79C 00020000 00000001 00000014 00000000 00000000 00000000
Addr: 126B2968 00000000 12B72C0C 126B2968 00000000 00000000 00000000 12002314
Stck: 12B6A71C 120008F4 00000000 12B6AA0C 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 126B2968 00000000 00000000 00000000 00000000 00000000
----> 12B6A71C - "NetSurf"  Hunk 0000 Offset 004554BC
----> 12B6AA0C - "NetSurf"  Hunk 0000 Offset 004557AC
Name: "NetSurf" 

MuGuardianAngel hit! Bad program!

AllocMem/AllocVec called from interrupt or supervisor mode.
PC  : 12091a9c  USP: 120021c0 ( )( )  Name: ????
Data: 00000076 00000001 121a21e4 124a5e2c 00000014 00000000 00000000 00000002
Addr: 126d2a54 121a21ec 12002208 12002200 12002316 12056d1c SysBase  --------
Stck: 80000002 126b2968 121a21e4 80000002 126b2968 121a21e4 124a5e2c 00000014
Stck: 00000000 00000000 00000002 126d2a54 121a21ec 12002208 12002200 12002316
PC-8: fd4e42ad 015842ad 015c4e75 48e7fffe 48e7e000 2c6d07d0 70767201 4eaefd54
PC *: 4a806700 00fc2840 2c6d07e0 222d0154 243c0000 03ed4eae ffe22880 6614222d
MuGuardianAngel hit! Bad program!

AllocMem/AllocVec called from interrupt or supervisor mode.
PC  : 124b2ca0  USP: 120021ec ( )( )  Name: ????
Data: 0000100c 00000000 121a2324 00000000 126d28c0 120022cc 0000ffff 00000002
Addr: 00000000 126b2a4c 126b2968 1200220c 12002316 12056d1c SysBase  --------
Stck: 12094ff1 00000000 00000000 12093e06 00000000 1200b2cc 124b49be 120a04fa
Stck: 126b2968 121a21e4 80000002 120947a2 124a5e35 124a5e68 ffffff7c 00000000
PC-8: b3cf6410 4cdf4703 2f5ffff8 487a009a 598f4e75 203c0000 100c7200 4eaeff3a
PC *: 4a806614 70672c7a f3866100 05644cdf 4703588f 70006070 204041e8 10002448
 

Offline utri007

Re: NetSurf OS3 - testing!
« Reply #79 on: April 08, 2019, 10:57:58 PM »
It seems to have problems with KS3.1.4 I have kickstart with all the 3.1.4 modules inside of it, including intuition.libary.

It loads start page, but doesnt't open any page crash or "cannot fetch". No matter is it http or https

Task..: 0x018EB620  NetSurf
Error.: 0x8000000B  "DEADEND"  by: System: no alert occured
Cause.: Line 1111 Emulator error

PC: $018CF8C2       

A7   : $00000000       
A7+ 4: $00000000       
A7+ 8: $00000000       
A7+12: $00000000       
A7+16: $00000000       
A7+20: $00000000       

D0: $00000003  D1: $FFFFFF62  D2: $00000003  D3: $00000000
D4: $00000000  D5: $00000000  D6: $00000000  D7: $00000001
A0: $0190A0D8  A1: $0190A09C  A2: $0190A0D8  A3: $0190A0DC
A4: $00000000  A5: $028971DC  A6: $018CFB14  A7: $0190A088

018cf8c2 : *f998                       dc.w $f998 ;illegal opcode
018cf8c4 :  0000 0008                  ori.b #$8,d0
018cf8c8 :  0063 2182                  ori.w #$2182,-(a3)
018cf8cc :  0000 00cf                  ori.b #-$31,d0
018cf8d0 :  ffff                       dc.w $ffff ;illegal opcode
018cf8d2 :  fffe                       dc.w $fffe ;illegal opcode
018cf8d4 :  0106                       btst d0,d6
018cf8d6 :  0694 0040 32cd             addi.l #$4032cd,(a4)
018cf8dc :  018c 8608                  movep.w d0,-$79f8(a4)
018cf8e0 :  01b5 b780                  bclr d0,(za5,a3.w*8) ;illegal opcode
018cf8e4 :  5346                       subq.w #$1,d6
018cf8e6 :  5302                       subq.b #$1,d2


ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

guest11527

  • Guest
Re: NetSurf OS3 - testing!
« Reply #80 on: April 10, 2019, 09:33:07 AM »
It seems to have problems with KS3.1.4 I have kickstart with all the 3.1.4 modules inside of it, including intuition.libary.
That is not related to 3.1.4 at all. It is just an indication that the code requires an FPU, and none is present in your system.

There is, however, a bug in the code concerning the guigfx.library. This library seems to keep some sort of object pool which is not totally released upon exit of Netsurf. When netsurf exits, it deletes the pool. However, at least version 31.0 of guigfx detects that there are still live objects in the pool, and then - instead of running into an Alert() - runs into an ILLEGAL instruction and the code crashes. Thus, there seems to be at least one thing wrong with the objects netsurf allocates through guigfx, and it should release objects properly before releasing the pool.
 
The following users thanked this post: chris

Offline utri007

Re: NetSurf OS3 - testing!
« Reply #81 on: April 10, 2019, 12:05:14 PM »
Quote
That is not related to 3.1.4 at all. It is just an indication that the code requires an FPU, and none is present in your system.

But I do have FPU and it is working just fine.  Whichamiga command shows FPU/MMU just fine after setpatch has ran.

I'm trying to upload pictures, but i says "failed security check" why? Pictures would have had information about CPU before and after setpatch.

Quake requires FPU and it works.
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

guest11527

  • Guest
Re: NetSurf OS3 - testing!
« Reply #82 on: April 10, 2019, 03:43:26 PM »
But I do have FPU and it is working just fine.  Whichamiga command shows FPU/MMU just fine after setpatch has ran

Oh, I'm sorry. Indeed, the code looks like junk, so it seems the CPU just run into the desert. A stack traceback would then be tremedously more useful as it would provide information of how the CPU got there than this partial disassembly. MuForce can give you that.
 

Offline utri007

Re: NetSurf OS3 - testing!
« Reply #83 on: April 10, 2019, 04:22:17 PM »
Tried to redirect out put to ram with tool type file. Changet it to file=ram:netsurf.log didn't:t work
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

guest11527

  • Guest
Re: NetSurf OS3 - testing!
« Reply #84 on: April 10, 2019, 05:10:18 PM »
Tried to redirect out put to ram with tool type file. Changet it to file=ram:netsurf.log didn't:t work

I'm not sure what you tried. But if you tried MuForce, I strongly suggest to read the manual. It will tell you, in particular, that MuForce doesn't output to a log file, but to the serial port, 9600-8N1. If you want it elsewhere, Sashimi is your friend.
 

Offline chrisTopic starter

Re: NetSurf OS3 - testing!
« Reply #85 on: April 10, 2019, 06:29:27 PM »
There is, however, a bug in the code concerning the guigfx.library. This library seems to keep some sort of object pool which is not totally released upon exit of Netsurf. When netsurf exits, it deletes the pool. However, at least version 31.0 of guigfx detects that there are still live objects in the pool, and then - instead of running into an Alert() - runs into an ILLEGAL instruction and the code crashes. Thus, there seems to be at least one thing wrong with the objects netsurf allocates through guigfx, and it should release objects properly before releasing the pool.

I've added a missing release so hopefully this bug is gone now, thanks for finding!
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline utri007

Re: NetSurf OS3 - testing!
« Reply #86 on: April 10, 2019, 07:06:11 PM »
Quote
I'm not sure what you tried. But if you tried MuForce, I strongly suggest to read the manual. It will tell you, in particular, that MuForce doesn't output to a log file, but to the serial port, 9600-8N1. If you want it elsewhere, Sashimi is your friend.

Sorry my lazyness. Here three logs from serial output. Netsurf3.txt has in end "famous" crash on exit.



WORD READ from FFFFFF7C (INST)                 PC: FFFFFF7C
USP : 018B6388 SR: 0010  (U0)(-)(-)  TCB: 01886448
Data: 00000001 01F87ADC 00030000 00000001 00000014 00000000 00000000 00000000
Addr: 01886448 00000000 01F8FF4C 01886448 00000000 00000000 00000000 001FFFF0
Stck: 01F87A5C 0000537C 00000000 01F87D4C 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 01886448 00000000 00000000 00000000 00000000 00000000
Name: "NetSurf" 


Exception !!   00000002     TCB: 01886448     CTX: 011C0FE8     SSP: 001FFFF0
USP : 018B6388 SR: 0010  (U0)(-)(-)  TCB: 01886448
Data: 00000001 01F87ADC 00030000 00000001 00000014 00000000 00000000 00000000
Addr: 01886448 00000000 01F8FF4C 01886448 00000000 00000000 00000000 001FFFF0
Stck: 01F87A5C 0000537C 00000000 01F87D4C 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 01886448 00000000 00000000 00000000 00000000 00000000
Name: "NetSurf" 


WORD READ from FFFFFF7C (INST)                 PC: FFFFFF7C
USP : 018B6388 SR: 0010  (U0)(-)(-)  TCB: 01886448
Data: 00000001 01F87ADC 00030000 00000001 00000014 00000000 00000000 00000000
Addr: 01886448 00000000 01F8FF4C 01886448 00000000 00000000 00000000 001FFFF0
Stck: 01F87A5C 0000537C 00000000 01F87D4C 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 01886448 00000000 00000000 00000000 00000000 00000000
Name: "NetSurf" 


Exception !!   00000002     TCB: 01886448     CTX: 011C0FE8     SSP: 001FFFF0
USP : 018B6388 SR: 0010  (U0)(-)(-)  TCB: 01886448
Data: 00000001 01F87ADC 00030000 00000001 00000014 00000000 00000000 00000000
Addr: 01886448 00000000 01F8FF4C 01886448 00000000 00000000 00000000 001FFFF0
Stck: 01F87A5C 0000537C 00000000 01F87D4C 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 01886448 00000000 00000000 00000000 00000000 00000000
Name: "NetSurf" 


WORD READ from FFFFFF7C (INST)                 PC: FFFFFF7C
USP : 018B6388 SR: 0010  (U0)(-)(-)  TCB: 01886448
Data: 00000001 01F87ADC 00030000 00000001 00000014 00000000 00000000 00000000
Addr: 01886448 00000000 01F8FF4C 01886448 00000000 00000000 00000000 001FFFF0
Stck: 01F87A5C 0000537C 00000000 01F87D4C 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 01886448 00000000 00000000 00000000 00000000 00000000
Name: "NetSurf" 


Exception !!   00000002     TCB: 01886448     CTX: 011C0FE8     SSP: 001FFFF0
USP : 018B6388 SR: 0010  (U0)(-)(-)  TCB: 01886448
Data: 00000001 01F87ADC 00030000 00000001 00000014 00000000 00000000 00000000
Addr: 01886448 00000000 01F8FF4C 01886448 00000000 00000000 00000000 001FFFF0
Stck: 01F87A5C 0000537C 00000000 01F87D4C 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 01886448 00000000 00000000 00000000 00000000 00000000
Name: "NetSurf" 
« Last Edit: April 10, 2019, 07:08:10 PM by utri007 »
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline x303

Re: NetSurf OS3 - testing!
« Reply #87 on: April 10, 2019, 11:56:12 PM »
The latest built close the window, but it doesn't close the screen.
 

guest11527

  • Guest
Re: NetSurf OS3 - testing!
« Reply #88 on: April 11, 2019, 05:55:01 AM »
Quote
I'm not sure what you tried. But if you tried MuForce, I strongly suggest to read the manual. It will tell you, in particular, that MuForce doesn't output to a log file, but to the serial port, 9600-8N1. If you want it elsewhere, Sashimi is your friend.

Sorry my lazyness. Here three logs from serial output. Netsurf3.txt has in end "famous" crash on exit.


Now please also enable the disassembly, and the stack traceback. (IIRC, DisPC and StackLines are the options you need). Please also run SegTracker upfront - this will also give segments and segment offsets which are most helpful for debugging. Thank you.
 

Offline utri007

Re: NetSurf OS3 - testing!
« Reply #89 on: April 11, 2019, 05:31:54 PM »
DisPC and StackLines are now enabled. I tried to look segtracker from aminet, but seems that aminet has now problems?


BYTE WRITE to  FF040029        data=FF         PC: 014B2E2A
USP : 018C5A70 SR: 0019  (U0)(-)(-)  TCB: 018971C0
Data: 0000FFFF 00200000 00000400 00000008 00000000 00000004 00000001 00000004
Addr: 00E90000 00005708 014B332C 010BE0D4 014FE200 014B332C FF03FF03 001FFFF4
Stck: 00000400 00000008 00000000 00000004 014B1E38 01478E78 014A6904 00010000
Stck: 00000002 FFFFFFFF 00000000 0000000E 0000002C 00000000 01478A54 018C5B50
Stck: 014DA7F8 010BE0A8 01000C34 01478E78 010B0004 0008014B 339C8E78 010B0005
Stck: 0008014B 010BE0D4 014FE200 00000000 0138DE68 0138DE64 00000003 01000001
014b2e0a :  0000 0015                  ori.b #$15,d0
014b2e0e :  117c 0000 0015             move.b #$0,$15(a0)
014b2e14 :  117c 0000 0015             move.b #$0,$15(a0)
014b2e1a :  51c8 ffce                  dbra d0,$14b2dea
014b2e1e :  117c 0003 0001             move.b #$3,$1(a0)
014b2e24 :  4841                       swap.l d1
014b2e26 :  1141 0009                  move.b d1,$9(a0)
014b2e2a : *532e 0126                  subq.b #$1,$126(a6)
014b2e2e :  6c08                       bge.s $14b2e38
014b2e30 :  33fc c000 00df f09a        move.w #-$4000,$dff09a
014b2e38 :  4cdf 443c                  movem.l (a7)+,d2-d5/a2/a6
014b2e3c :  4e75                       rts
014b2e3e :  0c00 0003                  cmpi.b #$3,d0
014b2e42 :  643a                       bcc.s $14b2e7e
014b2e44 :  2050                       movea.l (a0),a0
014b2e46 :  2278 0004                  movea.l $4.w,a1
Name: "NetSurf" 


WORD READ from FFFFFF7C (INST)                 PC: FFFFFF7C
USP : 018C7100 SR: 0010  (U0)(-)(-)  TCB: 018971C0
Data: 00000001 01F8F88C 00030000 00000001 00000014 00000000 00000000 00000000
Addr: 018971C0 00000000 01F97CFC 018971C0 00000000 00000000 00000000 001FFFF0
Stck: 01F8F80C 0000537C 00000000 01F8FAFC 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 018971C0 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Name: "NetSurf" 


Exception !!   00000002     TCB: 018971C0     CTX: 011BB870     SSP: 001FFFF0
USP : 018C7100 SR: 0010  (U0)(-)(-)  TCB: 018971C0
Data: 00000001 01F8F88C 00030000 00000001 00000014 00000000 00000000 00000000
Addr: 018971C0 00000000 01F97CFC 018971C0 00000000 00000000 00000000 001FFFF0
Stck: 01F8F80C 0000537C 00000000 01F8FAFC 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 018971C0 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Name: "NetSurf" 


WORD READ from FFFFFF7C (INST)                 PC: FFFFFF7C
USP : 018C7100 SR: 0010  (U0)(-)(-)  TCB: 018971C0
Data: 00000001 01F8F88C 00030000 00000001 00000014 00000000 00000000 00000000
Addr: 018971C0 00000000 01F97CFC 018971C0 00000000 00000000 00000000 001FFFF0
Stck: 01F8F80C 0000537C 00000000 01F8FAFC 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 018971C0 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Name: "NetSurf" 


Exception !!   00000002     TCB: 018971C0     CTX: 011BB870     SSP: 001FFFF0
USP : 018C7100 SR: 0010  (U0)(-)(-)  TCB: 018971C0
Data: 00000001 01F8F88C 00030000 00000001 00000014 00000000 00000000 00000000
Addr: 018971C0 00000000 01F97CFC 018971C0 00000000 00000000 00000000 001FFFF0
Stck: 01F8F80C 0000537C 00000000 01F8FAFC 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 018971C0 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Name: "NetSurf" 
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD