Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: chris on March 14, 2019, 08:44:52 PM

Title: NetSurf OS3 - testing!
Post by: chris on March 14, 2019, 08:44:52 PM
Surprise!  I'm not dead.

For anybody who is interested, I would like to know if this build of NetSurf: https://www.cy2.uk/tmp/netsurf_os3_test.lha

a) works at all (ie. gets to the main windows without crashing)
b) can access secure sites like https://www.howsmyssl.com

If I run it here it crashes early on under OS3.5, but not under OS4 (under OS4 has other problems but it isn't designed to run there so that may be normal)

If it does crash I'd like to know what system/OS you are using.  If you can get any information about where it is crashing (Enforcer hits, etc) that may prove useful.

Cheerio!
Title: Re: NetSurf OS3 - testing!
Post by: utri007 on March 14, 2019, 11:00:32 PM
It start without problems, but I can't test more. My OS seems to be mess. I have KS 3.1.4 and original OS3.9 install. I ques I need to actually install 3.1.4

With this configuration it doesn't display any images, even with those Netsurf versions wich used to work.



Title: Re: NetSurf OS3 - testing!
Post by: goldfish on March 14, 2019, 11:06:16 PM
I will try it soon if i get time.
Title: Re: NetSurf OS3 - testing!
Post by: TribbleSmasher on March 15, 2019, 10:18:18 AM
It seems like the archive is packed with some newer unsupported algorithm unknownst to bog standard LHA. :o
Title: Re: NetSurf OS3 - testing!
Post by: chris on March 15, 2019, 10:20:54 AM
It start without problems

Well, that's encouraging anyway.

It seems like the archive is packed with some newer unsupported algorithm unknownst to bog standard LHA. :o

Yes, sorry, xadmaster will be able to unpack it.
Title: Re: NetSurf OS3 - testing!
Post by: x303 on March 15, 2019, 03:17:15 PM
Running it under winuae / os3.9 works.
Secure sites seems to work.
A few site don't work, like the bbc news. There's an error 'unable to fetch document'.
Selecting bbc.co.uk manually gives error 80000004.

Can log in to amiga.org, but the dots in the password box aren't shown. And text in textboxes (like this 'post reply') does some weird things (goes up / down, might disappear).

Might have a crash when exiting the program. Line Error 1010.

And there are some errors with patchwork:

exec.library CreateIORequest(0x16C46D40,56)
Severity 2: ioReplyPort not initialized
PC=16DD78BE TCB=16C17790 ("Background CLI")
Data: 00000038 00000000 00000001 173D17FC 16CEFA1E 16CEF3F0 16BBE372 16BBE38E
Addr: 16C46D40 173D7FEC 16EFB95E 173B738C 16C42F94 16BBE4D8 120008F4 16BBE310
Stck: 16DD78C2 16EFBBA0 00000000 173B7D0C 173D17FC 16CEFF22 00000000 16CEFA1E
Stck: 173D17FC 173D17FC 16C46D40 16BBF248 08000000 00000000 02000000 16CEFA1E
----> 16DD78BE - "NetSurf"  Hunk 0000, Offset 0018BC56

exec.library InitSemaphore(0x1834DE1C)
Severity 2: structure is not cleared
PC=17202F9E TCB=16C17790 ("Background CLI")
Data: 1834DE1C 00000040 1834DE1C 0000000C 182B1706 00000020 1834DDCC 1834DDAC
Addr: 1834DE1C 1834DE18 1834DDEC 172314B0 16BFC432 16BBC5AC 120008F4 16BBC594
Stck: 17202FA2 0000002E 17202F50 00000020 1834DD8C 1834D980 16BBC5B8 172378A8
Stck: 1722C99A 16BBC5C4 17237A04 1722C99A 16BBC658 17311E38 00000357 00000000
----> 17202F9E - "libs:amissl/amissl_v111a.library"  Hunk 0000, Offset 00068A26
Title: Re: NetSurf OS3 - testing!
Post by: TribbleSmasher on March 15, 2019, 04:38:17 PM
The guys over at a1k.org doing their testing as well:
Title: Re: NetSurf OS3 - testing!
Post by: chris on March 15, 2019, 06:43:10 PM
It seems like the archive is packed with some newer unsupported algorithm unknownst to bog standard LHA. :o

I just checked and it extracts fine with LhA 2.15.
Title: Re: NetSurf OS3 - testing!
Post by: chris on March 15, 2019, 06:45:40 PM
And there are some errors with patchwork:

exec.library CreateIORequest(0x16C46D40,56)
Severity 2: ioReplyPort not initialized

This should now be fixed (archive updated)

Quote
exec.library InitSemaphore(0x1834DE1C)
Severity 2: structure is not cleared
PC=17202F9E TCB=16C17790 ("Background CLI")
Data: 1834DE1C 00000040 1834DE1C 0000000C 182B1706 00000020 1834DDCC 1834DDAC
Addr: 1834DE1C 1834DE18 1834DDEC 172314B0 16BFC432 16BBC5AC 120008F4 16BBC594
Stck: 17202FA2 0000002E 17202F50 00000020 1834DD8C 1834D980 16BBC5B8 172378A8
Stck: 1722C99A 16BBC5C4 17237A04 1722C99A 16BBC658 17311E38 00000357 00000000
----> 17202F9E - "libs:amissl/amissl_v111a.library"  Hunk 0000, Offset 00068A26

I don't manually call any AmiSSL functions so this is probably internal to AmiSSL.
Title: Re: NetSurf OS3 - testing!
Post by: x303 on March 15, 2019, 07:56:09 PM
No, it's not working with lha 2.15 68020+

lha x netsurf_os3_test.lha gives "* Error on file 'AutoInstall' : Unknown compression (need newer LhA version)"

And it still has some

exec.library InitSemaphore(0x1283E558)
Severity 2: structure is not cleared
PC=128564A2 TCB=12830E20 ("Background CLI")
Data: 1283E59C 00000000 00000800 00000001 124A84FE 04A0C9CF 04A0AAF5 14E30B14
Addr: 1283E558 1283E598 14FB4B37 1283E530 128373A6 1283E48C 120008F4 12837356
Stck: 128564A6 00000009 00000005 14FB4B37 124A865F 1283F7D0 12855BAA 128701CE
Stck: 80001001 00000001 00000000 1283E48C 120008F4 1286FE36 1202A1E8 1283E48C
----> 128564A2 - "LIBS:render.library"  Hunk 0000, Offset 00000962

exec.library CreateIORequest(0x128F4B98,56)
Severity 2: ioReplyPort not initialized
PC=14FBC734 TCB=12830E20 ("Background CLI")
Data: 00000038 00000002 00000001 129F6FC4 14ED48A6 14ED4278 1283732A 12837346
Addr: 128F4B98 129FEA7C 150E07FA 128ED00C 128E64C4 12837490 120008F4 128372C8
Stck: 14FBC738 150E0A3C 00000000 129F769C 129F6FC4 14ED4DAA 00000000 14ED48A6
Stck: 129F6FC4 129F6FC4 128F4B98 00000000 08000000 00000000 06000000 14ED48A6
----> 14FBC734 - "NetSurf"  Hunk 0000, Offset 0018BC1C

exec.library Enable()
Severity 2: Disable() missing
PC=1208F2E6 TCB=12830E20 ("Background CLI")
Data: 000000FF 00000015 12104EEC 12104E74 12836BA8 1200231C 0000FFFF 00000003
Addr: 12000A8A 1208F9A8 00000000 1200225C 12002366 1204413C 120008F4 12002354
Stck: 12002354 1208F2EA 1208EEC0 00000003 00001284 28BA200C 6100644A 12013480
Stck: 048008E3 0000010C FFFFFFFE 120239DC 0480948A 120026A0 04804D1B 00000B5D

And it crashes when clicking the slashdot link.
That's this one:

TASK TRAPPED
Illegal instruction
TRAP=0x04  SR=0x0000  PC=0x12612D22  TCB=0x12629E18
  PC: 00000000 1200267C 00000000 00000000 00000000 00000000 00000000 00000000
  PC: 12612D40 12612DB8 00000000 00001261 31B00000 01F81261 2B240000 00001261
Data: 00000001 FFFFFF01 00000001 00000000 00000014 00000001 00000002 129A6EFC
Addr: 1260B8D0 1260B894 1260B8D0 00000000 00000000 138597C4 12612F3C 1260B880
Stck: 12B73490 1260B8D0 12EC1EC4 1260B8D0 12EC10FC 12B737D2 12B73B22 1260B8D0
----> 12B73490 - "NetSurf" Hunk 0000 Offset 00135FC0
----> 12EC1EC4 - "NetSurf" Hunk 0000 Offset 004849F4
----> 12EC10FC - "NetSurf" Hunk 0000 Offset 00483C2C
----> 12B737D2 - "NetSurf" Hunk 0000 Offset 00136302
----> 12B73B22 - "NetSurf" Hunk 0000 Offset 00136652
Stck: 1260B8D0 12EC1EC4 00000000 12B74C68 1260B8D0 13F68494 00000000 00000000
----> 12EC1EC4 - "NetSurf" Hunk 0000 Offset 004849F4
----> 12B74C68 - "NetSurf" Hunk 0000 Offset 00137798
Name: "Background CLI"  CLI: "NetSurf"

Idea: make the tab width a max width, so it doesn't get too big.
Title: Re: NetSurf OS3 - testing!
Post by: TribbleSmasher on March 15, 2019, 08:05:58 PM
It seems like the archive is packed with some newer unsupported algorithm unknownst to bog standard LHA. :o

I just checked and it extracts fine with LhA 2.15.

Hm, it did well with Directory Opus, somehow....
Title: Re: NetSurf OS3 - testing!
Post by: gregthecanuck on March 15, 2019, 11:11:44 PM
Thanks Chris for the updated Netsurf and to the testers giving feedback.  :) :)
Title: Re: NetSurf OS3 - testing!
Post by: chris on March 15, 2019, 11:22:09 PM
It seems like the archive is packed with some newer unsupported algorithm unknownst to bog standard LHA. :o

I just checked and it extracts fine with LhA 2.15.

Hm, it did well with Directory Opus, somehow....

Admittedly I didn't check that exact file, just one which was compressed the same way.  For some reason it wasn't actually compressed the same way  :(
I've lowered the compression level and checked LhA can extract from it.  When I upload a new archive it should extract without problems now.

edit Ah, think there's some default set on the CI server to lower it to -lh5- so my local files were wrong but the normal CI build archives were fine.
Title: Re: NetSurf OS3 - testing!
Post by: chris on March 15, 2019, 11:45:10 PM
exec.library InitSemaphore(0x1283E558)
Severity 2: structure is not cleared
PC=128564A2 TCB=12830E20 ("Background CLI")
Data: 1283E59C 00000000 00000800 00000001 124A84FE 04A0C9CF 04A0AAF5 14E30B14
Addr: 1283E558 1283E598 14FB4B37 1283E530 128373A6 1283E48C 120008F4 12837356
Stck: 128564A6 00000009 00000005 14FB4B37 124A865F 1283F7D0 12855BAA 128701CE
Stck: 80001001 00000001 00000000 1283E48C 120008F4 1286FE36 1202A1E8 1283E48C
----> 128564A2 - "LIBS:render.library"  Hunk 0000, Offset 00000962

This is render.library, either a render.library bug or due to how I'm calling it.  Either way unlikely to be able to locate the cause.

Quote
exec.library CreateIORequest(0x128F4B98,56)
Severity 2: ioReplyPort not initialized
PC=14FBC734 TCB=12830E20 ("Background CLI")
Data: 00000038 00000002 00000001 129F6FC4 14ED48A6 14ED4278 1283732A 12837346
Addr: 128F4B98 129FEA7C 150E07FA 128ED00C 128E64C4 12837490 120008F4 128372C8
Stck: 14FBC738 150E0A3C 00000000 129F769C 129F6FC4 14ED4DAA 00000000 14ED48A6
Stck: 129F6FC4 129F6FC4 128F4B98 00000000 08000000 00000000 06000000 14ED48A6
----> 14FBC734 - "NetSurf"  Hunk 0000, Offset 0018BC1C

Bit confused about this one.  I only call CreateIORequest in three places.  Two of them, the second parameter is 16 (not 56), the third one I'd need to check what the second parameter is but it is in a code path which isn't used.

Quote
exec.library Enable()
Severity 2: Disable() missing
PC=1208F2E6 TCB=12830E20 ("Background CLI")
Data: 000000FF 00000015 12104EEC 12104E74 12836BA8 1200231C 0000FFFF 00000003
Addr: 12000A8A 1208F9A8 00000000 1200225C 12002366 1204413C 120008F4 12002354
Stck: 12002354 1208F2EA 1208EEC0 00000003 00001284 28BA200C 6100644A 12013480
Stck: 048008E3 0000010C FFFFFFFE 120239DC 0480948A 120026A0 04804D1B 00000B5D

Don't know where this comes from, I don't call Enable anywhere.

Quote
And it crashes when clicking the slashdot link.
That's this one:

TASK TRAPPED
Illegal instruction
TRAP=0x04  SR=0x0000  PC=0x12612D22  TCB=0x12629E18
  PC: 00000000 1200267C 00000000 00000000 00000000 00000000 00000000 00000000
  PC: 12612D40 12612DB8 00000000 00001261 31B00000 01F81261 2B240000 00001261
Data: 00000001 FFFFFF01 00000001 00000000 00000014 00000001 00000002 129A6EFC
Addr: 1260B8D0 1260B894 1260B8D0 00000000 00000000 138597C4 12612F3C 1260B880
Stck: 12B73490 1260B8D0 12EC1EC4 1260B8D0 12EC10FC 12B737D2 12B73B22 1260B8D0
----> 12B73490 - "NetSurf" Hunk 0000 Offset 00135FC0
----> 12EC1EC4 - "NetSurf" Hunk 0000 Offset 004849F4
----> 12EC10FC - "NetSurf" Hunk 0000 Offset 00483C2C
----> 12B737D2 - "NetSurf" Hunk 0000 Offset 00136302
----> 12B73B22 - "NetSurf" Hunk 0000 Offset 00136652
Stck: 1260B8D0 12EC1EC4 00000000 12B74C68 1260B8D0 13F68494 00000000 00000000
----> 12EC1EC4 - "NetSurf" Hunk 0000 Offset 004849F4
----> 12B74C68 - "NetSurf" Hunk 0000 Offset 00137798
Name: "Background CLI"  CLI: "NetSurf"

That would be useful if I could get debug symbols working properly, unless somebody can look at the asm and give me a clue as to what's going wrong?

Quote
Idea: make the tab width a max width, so it doesn't get too big.

Tabs are broken on OS3 anyway... but this is a good idea.
Title: Re: NetSurf OS3 - testing!
Post by: utri007 on March 16, 2019, 12:51:23 AM
I ran upodateto314 script and I still have a problems. No pictures are displayded with Netsurf and it and when I trying to surf any web page it makes everything bog slow.

I have 3.1.4 kickstart and O3.9 BB1&2 wich is updated with 3.1.4 components.



Title: Re: NetSurf OS3 - testing!
Post by: chris on March 16, 2019, 12:04:04 PM
I ran upodateto314 script and I still have a problems. No pictures are displayded with Netsurf and it and when I trying to surf any web page it makes everything bog slow.

I have 3.1.4 kickstart and O3.9 BB1&2 wich is updated with 3.1.4 components.

Does the old version work with 3.1.4?
By which I mean the latest build here: https://ci.netsurf-browser.org/builds/amigaos3/
Title: Re: NetSurf OS3 - testing!
Post by: utri007 on March 16, 2019, 10:41:55 PM
Quote
Does the old version work with 3.1.4?
By which I mean the latest build here: https://ci.netsurf-browser.org/builds/amigaos3/

No, it doesn't work downloaded NetSurf-gcc-4567.lha and same symptoms, version wich I had was from late 2018.

I have 1mb kickstart, wich has 3.1.4 components, including intuititon library.  But also a peterk's icon.library and few filesystems. Nothing really excotiq.

Title: Re: NetSurf OS3 - testing!
Post by: chris on March 16, 2019, 11:55:50 PM
Quote
Does the old version work with 3.1.4?
By which I mean the latest build here: https://ci.netsurf-browser.org/builds/amigaos3/

No, it doesn't work downloaded NetSurf-gcc-4567.lha and same symptoms, version wich I had was from late 2018.

I have 1mb kickstart, wich has 3.1.4 components, including intuititon library.  But also a peterk's icon.library and few filesystems. Nothing really excotiq.

OK, for the purposes of this test that's not interesting :D
Title: Re: NetSurf OS3 - testing!
Post by: Gerbinist on March 17, 2019, 10:24:29 AM
As posted on A1K:

Quote
My two cents...

If you want to target OS 3.x, make sure we can properly extract the archive with lha. The workaround by extracting it with UnArc or Voodoo-X is rather silly if you ask me.

Hits all over the place. As reference I attached start and quit details. When quitting it totally crashes here.

Testsetup: 3.1.4, 68060, AGA, no AISS

(howsmyssl.com works)
Title: Re: NetSurf OS3 - testing!
Post by: chris on March 17, 2019, 11:01:52 AM
The LhA problem is fixed (I just haven't replaced the download yet). Just to be clear, it was only broken on my local buildsystem, the official builds were archived correctly.

I thought I'd fixed the crash on exit ages ago.

I'm going to need some help decoding those hits.
Title: Re: NetSurf OS3 - testing!
Post by: Gerbinist on March 17, 2019, 11:07:39 AM
Quote
The LhA problem is fixed (I just haven't replaced the download yet). Just to be clear, it was only broken on my local buildsystem, the official builds were archived correctly.

Ok. Just checked the latest from https://ci.netsurf-browser.org/builds/amigaos3/ and that one works fine indeed.

Quote
I'm going to need some help decoding those hits.

Sure, let me know how I could help out.
Title: Re: NetSurf OS3 - testing!
Post by: chris on March 17, 2019, 11:19:15 AM

Quote
I'm going to need some help decoding those hits.

Sure, let me know how I could help out.

Cool, thanks. It's mostly a case of figuring out what's being called incorrectly. Unfortunately I've never managed to get findhit working with gcc, otherwise this would be easy.
Title: Re: NetSurf OS3 - testing!
Post by: Gerbinist on March 17, 2019, 11:24:40 AM
Quote
Unfortunately I've never managed to get findhit working with gcc, otherwise this would be easy.

Are you trying FindHit from the Enforcer package? Otherwise, this one could be tried: http://aminet.net/package/dev/gg/GccFindHit-bin
Title: Re: NetSurf OS3 - testing!
Post by: chris on March 17, 2019, 11:26:43 AM
I've tried both, with various -g options  :(
Title: Re: NetSurf OS3 - testing!
Post by: Gerbinist on March 17, 2019, 11:43:42 AM
I've tried both, with various -g options  :(

Perhaps this will give some insights (no expert myself): http://eab.abime.net/showthread.php?t=90143

Something to do with LINE debugging yes/no...  ???

*EDIT: do you have a debug version of the NetSurf executable?
Title: Re: NetSurf OS3 - testing!
Post by: chris on March 17, 2019, 11:56:53 AM
I've tried both, with various -g options  :(

Perhaps this will give some insights (no expert myself): http://eab.abime.net/showthread.php?t=90143

Something to do with LINE debugging yes/no...  ???

That suggests -g should work.

Quote

*EDIT: do you have a debug version of the NetSurf executable?

I think my download is built with -gstabs

Chris
Title: Re: NetSurf OS3 - testing!
Post by: Gerbinist on March 17, 2019, 12:18:05 PM
I think my download is built with -gstabs

It seems there is no line number information for all offsets (tried here myself).
Title: Re: NetSurf OS3 - testing!
Post by: chris on March 17, 2019, 12:36:59 PM
I think my download is built with -gstabs

It seems there is no line number information for all offsets (tried here myself).

Yeah, that was the problem I had last time I tried.
Title: Re: NetSurf OS3 - testing!
Post by: Gerbinist on March 17, 2019, 09:50:04 PM
Did some more searching and stumbled on this thread: http://eab.abime.net/showthread.php?t=84208 (http://eab.abime.net/showthread.php?t=84208)

A link can be found to a util called 'FindHunkOffset' in post #12. Not sure if it helps, but at least it's reporting 'something'...

Code: [Select]
12.Ram Disk:> FindHunkOffset Utilities:Comm/Browse/NetSurf/NetSurf 0 0x185C86
Section 0, offset 0x00185c86 is at
_ami_libs_close + 0x000001a6

12.Ram Disk:> FindHunkOffset Utilities:Comm/Browse/NetSurf/NetSurf 0 0x172872
Section 0, offset 0x00172872 is at
_main + 0x000006f0

 ???

*EDIT: Also did some searching on 'addr2line', but this involves another option (information can be found in various places).

Quote
To use addr2line we first have to compile our program with gcc, using the -ggdb option.

If that doesn't help either, I have no idea how you would need to develop and debug your creation to be of any use.
Title: Re: NetSurf OS3 - testing!
Post by: chris on March 18, 2019, 12:08:56 AM
Did some more searching and stumbled on this thread: http://eab.abime.net/showthread.php?t=84208 (http://eab.abime.net/showthread.php?t=84208)

A link can be found to a util called 'FindHunkOffset' in post #12. Not sure if it helps, but at least it's reporting 'something'...

Code: [Select]
12.Ram Disk:> FindHunkOffset Utilities:Comm/Browse/NetSurf/NetSurf 0 0x185C86
Section 0, offset 0x00185c86 is at
_ami_libs_close + 0x000001a6

12.Ram Disk:> FindHunkOffset Utilities:Comm/Browse/NetSurf/NetSurf 0 0x172872
Section 0, offset 0x00172872 is at
_main + 0x000006f0

Ah, yes, that's really useful.  The line number would be helpful though, the tool says it can report that but obviously the debug symbols aren't quite right (probably the same reason findhit/gccfindhit don't work).  I can't see anything wrong in ami_libs_close but I may have now found and fixed the CreateIORequest and startup LONG WRITE etc hits.

Quote
*EDIT: Also did some searching on 'addr2line', but this involves another option (information can be found in various places).

Quote
To use addr2line we first have to compile our program with gcc, using the -ggdb option.

If that doesn't help either, I have no idea how you would need to develop and debug your creation to be of any use.

I've rebuilt it with the above fixes and -ggdb instead of -gstabs.  I'm not convinced it will help.
Title: Re: NetSurf OS3 - testing!
Post by: Gerbinist on March 18, 2019, 08:25:33 AM
I can't see anything wrong in ami_libs_close but I may have now found and fixed the CreateIORequest and startup LONG WRITE etc hits.

Hits are still seen with the latest version here. On a sidenote: the archive properly extracts with 68k lha now ;)

I've rebuilt it with the above fixes and -ggdb instead of -gstabs.  I'm not convinced it will help.

Tried some various things with addr2line here, no luck though :-\ Unless someone is willing to help out to get proper debugging in place, I don't think it's very useful to test further if you can't exactly pinpoint the location where things get messy.

*EDIT: perhaps possible addtional interesting information can be found on the following locations:
http://eab.abime.net/showthread.php?t=93055 (http://eab.abime.net/showthread.php?t=93055)
https://franke.ms/amiga/gdb-eclipse.wiki (https://franke.ms/amiga/gdb-eclipse.wiki)
Title: Re: NetSurf OS3 - testing!
Post by: utri007 on March 18, 2019, 08:51:10 PM
Thank you Chris for you effort to get Netsurf work. It has been really close to be usefull with REAL amigas, no other browser wich displays pages that that well is anywhere near of that.



Title: Re: NetSurf OS3 - testing!
Post by: chris on March 18, 2019, 09:13:28 PM

Tried some various things with addr2line here, no luck though :-\ Unless someone is willing to help out to get proper debugging in place, I don't think it's very useful to test further if you can't exactly pinpoint the location where things get messy.

*EDIT: perhaps possible addtional interesting information can be found on the following locations:
http://eab.abime.net/showthread.php?t=93055 (http://eab.abime.net/showthread.php?t=93055)
https://franke.ms/amiga/gdb-eclipse.wiki (https://franke.ms/amiga/gdb-eclipse.wiki)

It looks like -g might be better than -ggdb or -gstabs
https://gcc.gnu.org/onlinedocs/gcc-4.6.4/gcc/Debugging-Options.html
Title: Re: NetSurf OS3 - testing!
Post by: Gerbinist on March 18, 2019, 11:04:27 PM
It looks like -g might be better than -ggdb or -gstabs
https://gcc.gnu.org/onlinedocs/gcc-4.6.4/gcc/Debugging-Options.html

Jeah, could be... on yet another site I can see the following statement though:
Quote
GCC has many flags to specify the kind of debugging information to be included in the binary, including -g, -ggdb, -gstabs and -gstabs+. The only flag which is recommended for use on AmigaOS is -gstabs. So, whenever you wish to create a binary with debugging information, you should add "-gstabs". Other ones may or may not work, but to avoid any issues just use "-gstabs". The same is true if you want to just use "addr2line" to find the address of a crash from a stack trace.
(taken from https://wiki.amigaos.net/wiki/GDB_for_Beginners (https://wiki.amigaos.net/wiki/GDB_for_Beginners), but I believe you tried this already)

Argh  ;)

What are you using as environment to get a m68k binary?
Title: Re: NetSurf OS3 - testing!
Post by: chris on March 18, 2019, 11:12:32 PM
Linux cross-compiler. gcc 3.4.6
Built from http://git.netsurf-browser.org/toolchains.git/tree/m68k-unknown-amigaos
Title: Re: NetSurf OS3 - testing!
Post by: gregthecanuck on March 19, 2019, 12:38:47 AM
Linux cross-compiler. gcc 3.4.6
Built from http://git.netsurf-browser.org/toolchains.git/tree/m68k-unknown-amigaos

You may want to check out Bebbo's gcc 6.5 cross-compiler?
Title: Re: NetSurf OS3 - testing!
Post by: chris on March 19, 2019, 01:52:37 PM
I did but it created more problems than it solved.
Title: Re: NetSurf OS3 - testing!
Post by: Primax on March 20, 2019, 09:01:44 PM
Unfortunately for me this new version did change nothing (Amiga1200 with Blizzard 1230 und OS3.9):
- runs stable but still far too slow
- cannot access https-sites (amiga-news.de, howsmyssl)
- crashes after quitting the program

Anyway, thanks for your efforts! Please continue developing!
Title: Re: NetSurf OS3 - testing!
Post by: chris on March 20, 2019, 09:47:06 PM

- cannot access https-sites (amiga-news.de, howsmyssl)

Are you sure you're using the right version (from the cy2 link - won't have a CI build number in about. You can also look at about:testament to check - it's built by me, from a branch called chris/amissl)
Title: Re: NetSurf OS3 - testing!
Post by: 10MARC on March 21, 2019, 12:01:03 AM
Chris, thank you so much for your hard work! I just downloaded it and will test it on my A4000 - '060 with RTG graphics. I will report back any issues.
Title: Re: NetSurf OS3 - testing!
Post by: 10MARC on March 21, 2019, 02:55:47 AM
Oh... It uses Reaction so it needs 3.5 or 3.9 to work. I understand. I can use it on my WinUAE session and A1200, but my AmigaOS 3.1.4 is out of the question. Bummer. I was looking forward to using it on my fast machine.
Title: Re: NetSurf OS3 - testing!
Post by: Primax on March 21, 2019, 05:07:54 AM

- cannot access https-sites (amiga-news.de, howsmyssl)

Are you sure you're using the right version (from the cy2 link - won't have a CI build number in about. You can also look at about:testament to check - it's built by me, from a branch called chris/amissl)

Just downloaded it yesterday. Version 3.60009 (Netsurf 3.9 Dev).
Title: Re: NetSurf OS3 - testing!
Post by: Gerbinist on March 21, 2019, 07:42:55 AM
Oh... It uses Reaction so it needs 3.5 or 3.9 to work. I understand. I can use it on my WinUAE session and A1200, but my AmigaOS 3.1.4 is out of the question. Bummer. I was looking forward to using it on my fast machine.

If you got access to OS3.9 files there is a nice 'trick' to keep ReAction stuff separated from the OS3.1.4 install. Here for instance I'm 'abusing' SYS:Expansion for that. Expansion is normally not used for these kind of things, but I don't see any strange effects and you can use whatever place you want as an assign is used also. These are the contents of SYS:Expansion/ReAction here:

Code: [Select]
11.Ram Disk:> SYS:Expansion/ReAction/
11.System:Expansion/ReAction> list ALL
arexx.class                 8512 ----rwed 05-Jul-99 03:19:30
Images                       Dir ----rwed 20-Oct-18 18:20:54
requester.class            14496 ----rwed 11-Jun-99 17:56:58
window.class               38216 ----rwed 24-Feb-02 19:46:40
Gadgets                      Dir ----rwed 03-Feb-19 18:57:19
3 files - 2 directories - 128 blocks used

Directory "Images" on Thursday 21-Mar-19
bevel.image                12428 ----rwed 05-Mar-02 00:23:18
bitmap.image                4728 ----rwed 13-Mar-01 20:04:40
boingball.image             2384 ----rwed 09-Aug-99 21:55:48
drawlist.image              3632 ----rwed 13-Mar-01 20:04:40
glyph.image                 7680 ----rwed 29-Mar-01 04:36:30
label.image                 5668 ----rwed 01-Dec-01 20:21:40
penmap.image                6076 ----rwed 01-Dec-01 20:21:36
titlebar.image              7336 ----rwed 07-Feb-01 00:18:44
8 files - 111 blocks used

Directory "Gadgets" on Thursday 21-Mar-19
button.gadget              10564 ----rwed 30-Mar-01 14:51:42
checkbox.gadget             7656 ----rwed 26-Mar-01 17:56:28
chooser.gadget             17496 ----rwed 22-Oct-01 16:24:08
clicktab.gadget            13832 ----rwed 09-Sep-01 16:33:10
datebrowser.gadget          9536 ----rwed 13-Mar-01 20:05:02
fuelgauge.gadget            7916 ----rwed 13-Mar-01 20:05:00
getfile.gadget             10052 ----rwed 13-Mar-01 20:05:02
getfont.gadget              6448 ----rwed 13-Mar-01 20:05:02
getscreenmode.gadget        6840 ----rwed 13-Mar-01 20:05:02
integer.gadget             10116 ----rwed 15-May-01 17:35:36
layout.gadget              29216 ----rwed 17-Oct-01 14:48:18
listbrowser.gadget         44548 ----rwed 05-Mar-02 00:23:50
palette.gadget              8892 ----rwed 13-Mar-01 20:05:02
popcycle.gadget            16808 ----rwed 28-Jul-99 11:23:54
progress.gadget             5360 ----rwed 27-Jul-99 22:44:42
radiobutton.gadget          7968 ----rwed 29-Mar-01 04:36:58
scroller.gadget            13736 ----rwed 07-Mar-02 15:40:06
slider.gadget              11744 ----rwed 01-Dec-01 20:21:46
space.gadget                3632 ----rwed 13-Mar-01 20:05:02
speedbar.gadget            14060 ----rwed 13-Mar-01 20:05:04
string.gadget              22300 ----rwed 05-Mar-02 00:22:52
texteditor.gadget          79624 ----rwed 01-Oct-99 20:25:18
textfield.gadget           20392 ----rwed 11-Jun-99 17:56:58
virtual.gadget             15700 ----rwed 01-Nov-01 20:49:28
24 files - 806 blocks used

TOTAL: 35 files - 2 directories - 1045 blocks used

I added the middle line in below snippet to my Startup-Sequence:

Code: [Select]
Assign >NIL: LIBS: SYS:Classes ADD
Assign >NIL: LIBS: SYS:Expansion/ReAction ADD
Assign >NIL: HELP: LOCALE:Help DEFER

As 'bonus' also Tools/UnArc works from 3.9
Title: Re: NetSurf OS3 - testing!
Post by: chris on March 21, 2019, 09:31:38 AM

- cannot access https-sites (amiga-news.de, howsmyssl)

Are you sure you're using the right version (from the cy2 link - won't have a CI build number in about. You can also look at about:testament to check - it's built by me, from a branch called chris/amissl)

Just downloaded it yesterday. Version 3.60009 (Netsurf 3.9 Dev).

And you have AmiSSL 4.3 installed?
Title: Re: NetSurf OS3 - testing!
Post by: Primax on March 21, 2019, 02:49:02 PM
Of course. I installed it just before your new version. But Netsurf could not access https-sites even with AmiSSL 4.2 which was installed before. YAM and IBrowse work fine.
Title: Re: NetSurf OS3 - testing!
Post by: chris on March 21, 2019, 03:06:20 PM
Ok, weird. Can you try this version of Curl and see if it works? (sorry for zip file)
https://github.com/chris-y/curl/releases/download/curl-7_64_0-amissl/curl.zip
Title: Re: NetSurf OS3 - testing!
Post by: Primax on March 21, 2019, 08:23:14 PM
Sorry for my stupid question but I cannot find a curl file in the Netsurf archive which I could replace.
So, what I am supposed to do with the file?
Title: Re: NetSurf OS3 - testing!
Post by: x303 on March 21, 2019, 08:45:37 PM
I have no problem getting to amiga-news.de, but I can't run curl somehow (not an executable).
Title: Re: NetSurf OS3 - testing!
Post by: chris on March 21, 2019, 08:48:41 PM
Sorry for my stupid question but I cannot find a curl file in the Netsurf archive which I could replace.
So, what I am supposed to do with the file?

Ah, sorry, it's an executable, just run it.
curl -k https://www.howsmyssl.com

If it isn't executable, just set the bit
protect +e curl

The Zip archive may have munged the attributes 🙁
Title: Re: NetSurf OS3 - testing!
Post by: x303 on March 21, 2019, 09:08:49 PM
That works.

But curl doesn't find the sslroot path automatically, so you can only check secure sites by using the insecure option: curl -k "https://forum.amiga.org"
Title: Re: NetSurf OS3 - testing!
Post by: chris on March 21, 2019, 10:01:28 PM
That works.

But curl doesn't find the sslroot path automatically, so you can only check secure sites by using the insecure option: curl -k "https://forum.amiga.org"

If that works then NetSurf should too (NetSurf knows where to find the root CAs so shouldn't throw up certificate errors)
Title: Re: NetSurf OS3 - testing!
Post by: x303 on March 21, 2019, 10:10:59 PM
Well, this doesn't work: curl --remote-name --time-cond cacert.pem https://curl.haxx.se/ca/cacert.pem

"curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server [...]"

But, with netsurf I don't have too many problems with ssl sites.

Title: Re: NetSurf OS3 - testing!
Post by: chris on March 21, 2019, 10:36:03 PM
My Curl test was really for Primax anyway...
Title: Re: NetSurf OS3 - testing!
Post by: 10MARC on March 22, 2019, 06:00:10 AM
Oh... It uses Reaction so it needs 3.5 or 3.9 to work. I understand. I can use it on my WinUAE session and A1200, but my AmigaOS 3.1.4 is out of the question. Bummer. I was looking forward to using it on my fast machine.

If you got access to OS3.9 files there is a nice 'trick' to keep ReAction stuff separated from the OS3.1.4 install. Here for instance I'm 'abusing' SYS:Expansion for that. Expansion is normally not used for these kind of things, but I don't see any strange effects and you can use whatever place you want as an assign is used also. These are the contents of SYS:Expansion/ReAction here:

Code: [Select]
11.Ram Disk:> SYS:Expansion/ReAction/
11.System:Expansion/ReAction> list ALL
arexx.class                 8512 ----rwed 05-Jul-99 03:19:30
Images                       Dir ----rwed 20-Oct-18 18:20:54
requester.class            14496 ----rwed 11-Jun-99 17:56:58
window.class               38216 ----rwed 24-Feb-02 19:46:40
Gadgets                      Dir ----rwed 03-Feb-19 18:57:19
3 files - 2 directories - 128 blocks used

Directory "Images" on Thursday 21-Mar-19
bevel.image                12428 ----rwed 05-Mar-02 00:23:18
bitmap.image                4728 ----rwed 13-Mar-01 20:04:40
boingball.image             2384 ----rwed 09-Aug-99 21:55:48
drawlist.image              3632 ----rwed 13-Mar-01 20:04:40
glyph.image                 7680 ----rwed 29-Mar-01 04:36:30
label.image                 5668 ----rwed 01-Dec-01 20:21:40
penmap.image                6076 ----rwed 01-Dec-01 20:21:36
titlebar.image              7336 ----rwed 07-Feb-01 00:18:44
8 files - 111 blocks used

Directory "Gadgets" on Thursday 21-Mar-19
button.gadget              10564 ----rwed 30-Mar-01 14:51:42
checkbox.gadget             7656 ----rwed 26-Mar-01 17:56:28
chooser.gadget             17496 ----rwed 22-Oct-01 16:24:08
clicktab.gadget            13832 ----rwed 09-Sep-01 16:33:10
datebrowser.gadget          9536 ----rwed 13-Mar-01 20:05:02
fuelgauge.gadget            7916 ----rwed 13-Mar-01 20:05:00
getfile.gadget             10052 ----rwed 13-Mar-01 20:05:02
getfont.gadget              6448 ----rwed 13-Mar-01 20:05:02
getscreenmode.gadget        6840 ----rwed 13-Mar-01 20:05:02
integer.gadget             10116 ----rwed 15-May-01 17:35:36
layout.gadget              29216 ----rwed 17-Oct-01 14:48:18
listbrowser.gadget         44548 ----rwed 05-Mar-02 00:23:50
palette.gadget              8892 ----rwed 13-Mar-01 20:05:02
popcycle.gadget            16808 ----rwed 28-Jul-99 11:23:54
progress.gadget             5360 ----rwed 27-Jul-99 22:44:42
radiobutton.gadget          7968 ----rwed 29-Mar-01 04:36:58
scroller.gadget            13736 ----rwed 07-Mar-02 15:40:06
slider.gadget              11744 ----rwed 01-Dec-01 20:21:46
space.gadget                3632 ----rwed 13-Mar-01 20:05:02
speedbar.gadget            14060 ----rwed 13-Mar-01 20:05:04
string.gadget              22300 ----rwed 05-Mar-02 00:22:52
texteditor.gadget          79624 ----rwed 01-Oct-99 20:25:18
textfield.gadget           20392 ----rwed 11-Jun-99 17:56:58
virtual.gadget             15700 ----rwed 01-Nov-01 20:49:28
24 files - 806 blocks used

TOTAL: 35 files - 2 directories - 1045 blocks used

I added the middle line in below snippet to my Startup-Sequence:

Code: [Select]
Assign >NIL: LIBS: SYS:Classes ADD
Assign >NIL: LIBS: SYS:Expansion/ReAction ADD
Assign >NIL: HELP: LOCALE:Help DEFER

As 'bonus' also Tools/UnArc works from 3.9

This is great! I was going to move over my old 3.9 install and "update" it - this will save me a lot of trouble! You, my friend, are a lifesaver!
Title: Re: NetSurf OS3 - testing!
Post by: Gerbinist on March 22, 2019, 08:57:32 AM
This is great! I was going to move over my old 3.9 install and "update" it - this will save me a lot of trouble! You, my friend, are a lifesaver!

Please be aware and cautious of the location I used myself though. SYS:Expansion is normally used by binddrivers to locate add-on hardware (reference: http://www.jaruzel.com/amiga/amiga-os-command-reference-help/binddrivers.html (http://www.jaruzel.com/amiga/amiga-os-command-reference-help/binddrivers.html)). Now, I am not affected by this, but it also depends on what hardware you got installed yourself. If in doubt, I suggest to hand-pick a different location and change the Assign command in Startup-Sequence to point to that other location.

*EDIT: off-topic, but for some more additional information about Expansion you can have a look here (https://wiki.amigaos.net/wiki/Amiga_Hardware_Manufacturer_ID_Registry (https://wiki.amigaos.net/wiki/Amiga_Hardware_Manufacturer_ID_Registry).
Title: Re: NetSurf OS3 - testing!
Post by: paul1981 on March 22, 2019, 11:44:33 AM
This is great! I was going to move over my old 3.9 install and "update" it - this will save me a lot of trouble! You, my friend, are a lifesaver!

Please be aware and cautious of the location I used myself though. SYS:Expansion is normally used by binddrivers to locate add-on hardware (reference: http://www.jaruzel.com/amiga/amiga-os-command-reference-help/binddrivers.html (http://www.jaruzel.com/amiga/amiga-os-command-reference-help/binddrivers.html)). Now, I am not affected by this, but it also depends on what hardware you got installed yourself. If in doubt, I suggest to hand-pick a different location and change the Assign command in Startup-Sequence to point to that other location.

*EDIT: off-topic, but for some more additional information about Expansion you can have a look here (https://wiki.amigaos.net/wiki/Amiga_Hardware_Manufacturer_ID_Registry (https://wiki.amigaos.net/wiki/Amiga_Hardware_Manufacturer_ID_Registry).

I have 40+ drawers in my Expansion drawer. Binddrivers appears to safely ignore drawers and their respective .info files, so I think it's perfectly safe. It has been for me for years anyway.
Title: Re: NetSurf OS3 - testing!
Post by: utri007 on March 22, 2019, 12:04:55 PM
Chris, sorry OT, but is there a known problem with os3.1.4 components?
Title: Re: NetSurf OS3 - testing!
Post by: chris on March 22, 2019, 12:41:21 PM
Chris, sorry OT, but is there a known problem with os3.1.4 components?

I'm not aware of anything.
Title: Re: NetSurf OS3 - testing!
Post by: Primax on March 22, 2019, 04:04:28 PM

Ah, sorry, it's an executable, just run it.
curl -k https://www.howsmyssl.com


How can I save the output in a file?
Title: Re: NetSurf OS3 - testing!
Post by: chris on March 22, 2019, 04:39:38 PM

Ah, sorry, it's an executable, just run it.
curl -k https://www.howsmyssl.com


How can I save the output in a file?

Just redirect it ">ram:output", but if you're getting more than a one line error message it's probably working, so it's weird that NetSurf isn't. Did you try visiting about:testament?
Title: Re: NetSurf OS3 - testing!
Post by: Primax on March 22, 2019, 04:53:38 PM
The results.
Title: Re: NetSurf OS3 - testing!
Post by: Primax on March 22, 2019, 05:03:11 PM

Did you try visiting about:testament?

#Automatically generated by NetSurf build system
# This NetSurf was built from a branch (chris/amissl)
Built by chris from chris/amissl at revision....on 18.03.2019
working tree has 7 modifications
?? !NetSurf
?? NetSurf_Amiga
?? amiga
content/handlers/javascript/duktape/duk_custom_debug.h
?? map.txt
?? nstest.lha
?? quit-patch.diff
Title: Re: NetSurf OS3 - testing!
Post by: chris on March 22, 2019, 05:15:51 PM
Does NetSurf give you an error message when you try to visit a secure site?
Title: Re: NetSurf OS3 - testing!
Post by: x303 on March 22, 2019, 07:32:53 PM
Why not check with  snoopdos3 if amissl_master & amissl_vxxxx gets loaded ?!
Title: Re: NetSurf OS3 - testing!
Post by: Primax on March 22, 2019, 09:33:31 PM
Does NetSurf give you an error message when you try to visit a secure site?
Yes. Something like "cannot fetch document". I can try running SnoopDOS tomorrow.
Title: Re: NetSurf OS3 - testing!
Post by: Primax on March 23, 2019, 07:31:31 AM
Good morning.
Some lines from the SnoopDOS report:

211 Netsurf openLib amisslmaster.library Ver 4 OK
393 NetSurf GetVar OPENSSL_CONF Any* OK
394 NetSurf Open SSLROOT:openssl.cnf error
395 NetSurf GetVar SSLKEYLOGFILE Any error
1080 NetSurf Lock PROGDIR:Rexx/Shutdown.nsrx error

Could the last line be the resoson for the 800004 Guru after quitting Netsurf?
Title: Re: NetSurf OS3 - testing!
Post by: x303 on March 23, 2019, 12:34:02 PM
Amisslmaster gets opened, but there's no amissl_vxxxx.
Did you instal amissl_v[version] in libs:AmiSSL/ ?
Title: Re: NetSurf OS3 - testing!
Post by: klx300r on March 23, 2019, 09:52:23 PM
just tried on my A4000, OS3.9 BB1&2 with kickstart 3.14 & Gullivers script to install 3.14 over OS3.9
got the following message at startup
- couldn't initialize amisslmaster.library!
Title: Re: NetSurf OS3 - testing!
Post by: Primax on March 24, 2019, 06:52:26 AM
Amisslmaster gets opened, but there's no amissl_vxxxx.
Did you instal amissl_v[version] in libs:AmiSSL/ ?

But it is:

214 ramlib Load libs:amissl/amissl_v111a.library OK

@chris
Please let me know if you want to see the complete log-file.
Title: Re: NetSurf OS3 - testing!
Post by: Primax on March 31, 2019, 06:17:30 AM
Any news or new version to test?
Title: Re: NetSurf OS3 - testing!
Post by: chris on March 31, 2019, 10:41:51 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.
Title: Re: NetSurf OS3 - testing!
Post by: utri007 on March 31, 2019, 08:23:03 PM
What could cause slow down in my system? OS was 100% same, but I started to use custom made 3.1.4 kickstart, it has a new intuition library inside it. Workbench library?
Title: Re: NetSurf OS3 - testing!
Post by: TribbleSmasher on March 31, 2019, 08:50:38 PM
Why would you beta test something with a custom OS?
Title: Re: NetSurf OS3 - testing!
Post by: utri007 on March 31, 2019, 08:59:00 PM
Why would you beta test something with a custom OS?

Every Amiga uses custom OS, tons of patches, programs and hacks running. My OS and kickstart is not that much "custom" than they used to be. It has a fresh OS3.1.4 install over OS3.9. Kickstart is just like official, except it has a intition library inside of it and pfs, sfs, cf.device, fat95, etc inside of it.


With excat same OS it worked, but with os3.1.4 components inside of kickstart slows it down.
Title: Re: NetSurf OS3 - testing!
Post by: Primax on 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?
Title: Re: NetSurf OS3 - testing!
Post by: chris 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.
Title: Re: NetSurf OS3 - testing!
Post by: chris on April 08, 2019, 06:53:53 PM
The official builds now use AmiSSL: https://ci.netsurf-browser.org/builds/amigaos3/
Title: Re: NetSurf OS3 - testing!
Post by: Gerbinist 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  ???
Title: Re: NetSurf OS3 - testing!
Post by: x303 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
Title: Re: NetSurf OS3 - testing!
Post by: utri007 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


Title: Re: NetSurf OS3 - testing!
Post by: guest11527 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.
Title: Re: NetSurf OS3 - testing!
Post by: utri007 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.
Title: Re: NetSurf OS3 - testing!
Post by: guest11527 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.
Title: Re: NetSurf OS3 - testing!
Post by: utri007 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
Title: Re: NetSurf OS3 - testing!
Post by: guest11527 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.
Title: Re: NetSurf OS3 - testing!
Post by: chris 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!
Title: Re: NetSurf OS3 - testing!
Post by: utri007 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" 
Title: Re: NetSurf OS3 - testing!
Post by: x303 on April 10, 2019, 11:56:12 PM
The latest built close the window, but it doesn't close the screen.
Title: Re: NetSurf OS3 - testing!
Post by: guest11527 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.
Title: Re: NetSurf OS3 - testing!
Post by: utri007 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" 
Title: Re: NetSurf OS3 - testing!
Post by: utri007 on April 12, 2019, 10:58:38 PM
Quote
Please also run SegTracker upfront - this will also give segments and segment offsets which are most helpful for debugging. Thank you

Aminet is back online, so here is a segtracker list. You wanted me to list how kickstart modules are in memory? Or what switch you mean with "upfront"?

Kickstart is mapped to fast ram with your mufastrom
Title: Re: NetSurf OS3 - testing!
Post by: x303 on April 12, 2019, 11:29:53 PM
Quote
Or what switch you mean with "upfront"?

That's not a switch. It means you run segtracker before sashimi.

segtracker
sashimi on console &
Title: Re: NetSurf OS3 - testing!
Post by: utri007 on April 13, 2019, 12:01:13 AM
Quote
That's not a switch. It means you run segtracker before sashimi.

segtracker
sashimi on console &

Dam synonyms :D But OK here it is MuForce log with dispc and stacklines switches enabled AND segtracker ran before it.

It ends Netsurf crash.
Title: Re: NetSurf OS3 - testing!
Post by: NorthWay on April 13, 2019, 08:06:04 PM
Something funked up A6 - that is a Forbid() (or is it Disable() - can't remember) using an A6 register that has wandered off into Lala-land.
The code dump shows it reads the register in from memory, which probably means something has stomped over it.
Try adding Mungwall to the mix and see if it triggers something more? (Sorry if I missed out on you already doing that.)
(The ultimate debugging tool for cases like this is, for me, BDebug in history mode.)
Title: Re: NetSurf OS3 - testing!
Post by: utri007 on April 13, 2019, 09:11:31 PM
Quote
Try adding Mungwall to the mix and see if it triggers something more? (Sorry if I missed out on you already doing that.)

Noob like me would not do something like that without somenone telling.

Short, I just run segtracker, mungwall from CLI and then start murforce?
Title: Re: NetSurf OS3 - testing!
Post by: guest11527 on April 13, 2019, 09:37:21 PM
Short, I just run segtracker, mungwall from CLI and then start murforce?
Almost. Substitute mungwall by WipeOut (mungwall is outdated and has one issue), or run MuGA, but that *after* MuForce.
Title: Re: NetSurf OS3 - testing!
Post by: utri007 on April 13, 2019, 09:44:46 PM
Here is a log, first ai just ran segtracker, then mungwall with TASK switch ie. mungwall task Netsurf and then started MuForce.

Quote
Almost. Substitute mungwall by WipeOut (mungwall is outdated and has one issue), or run MuGA, but that *after* MuForce.

http://aminet.net/package/dev/debug/Wipeout

Do that next.

Title: Re: NetSurf OS3 - testing!
Post by: utri007 on April 13, 2019, 10:04:34 PM
OK, I ran segtracker started Netsurf and then MuForce. Arter Netsruf has appeared to screen I started WipeOut.

If I start netsurf, segtracker, wipeout and MuForce (in that order) I just got this to serial out put, nothing more .


Munging memory... done (14-Apr-19 00:51:14).
Title: Re: NetSurf OS3 - testing!
Post by: utri007 on April 15, 2019, 05:30:29 PM
about 3.1.4 problems.

I have a kickstart with 3.1.4 modules inside of it, including intuition library.

3.1.4 kickstart installed Netsurf is really slow. First I thought that it is because a missing OS 3.1.4 installation. I ran my amiga with ks3.1.4 and OS3.9 bb1/2. I updated my OS3.9 installation with 3.1.4 components using updateto314 script from aminet.

It didn't fix slowness. Using KS3.9 and OS3.9 it works as fast as it can. Changing kickstart to 3.1.4 it makes it bog slow. Also with those Netrsurf versions wich used to work.

I have two A1200 computers with same symptoms.
Title: Re: NetSurf OS3 - testing!
Post by: guest11527 on April 15, 2019, 06:51:05 PM
Changing kickstart to 3.1.4 it makes it bog slow. Also with those Netrsurf versions wich used to work.

I have two A1200 computers with same symptoms.
This is probably because the only reset-resident memory of your system is chip memory. You can try to add the "NOMEMFKICK" option to LoadModule, but the best option is just to buy a real ROM.
Title: Re: NetSurf OS3 - testing!
Post by: utri007 on April 15, 2019, 07:11:47 PM
Quote
This is probably because the only reset-resident memory of your system is chip memory. You can try to add the "NOMEMFKICK" option to LoadModule, but the best option is just to buy a real ROM.

I do have a 1mb real rom. Few years ago I made some log for you to make MuFastRom support 1mb kickstart.

Currently I use RemApollo with Apollo accelerator and MuFastROm with Blizzard. RemApollo because, seems that MuFastRon doesn't move exec to fast ram.

You can found how kickstart is mapped to fast ram from first post of page 7
Title: Re: NetSurf OS3 - testing!
Post by: guest11527 on April 15, 2019, 07:23:18 PM
Currently I use RemApollo with Apollo accelerator and MuFastROm with Blizzard. RemApollo because, seems that MuFastRon doesn't move exec to fast ram.
No, but MuMove4K along with MuFastZero does. MuFastRom moves the ROM, as it says.

Title: Re: NetSurf OS3 - testing!
Post by: utri007 on April 16, 2019, 06:16:08 AM
Quote
No, but MuMove4K along with MuFastZero does. MuFastRom moves the ROM, as it says.

OK, this part is done now. Sorry my lazyness to read guides, again.

Quote
This is probably because the only reset-resident memory of your system is chip memory. You can try to add the "NOMEMFKICK" option to LoadModule, but the best option is just to buy a real ROM.

What did you mean with this? If I use RemApollo, kickstart survives reset and it is located to fast ram. Is it so that MuFastZero does it differently? But still using it locates my real rom to Apollo's 32 bit fast ram.

So how would this make netsurf slower and gave unable to fetch document errors. Note that I don't think this is a KS3.1.4 fault, or that you solve this problem with you magic wand, though that would be nice. :D
Title: Re: NetSurf OS3 - testing!
Post by: guest11527 on April 16, 2019, 06:55:32 AM
What did you mean with this? If I use RemApollo, kickstart survives reset and it is located to fast ram. Is it so that MuFastZero does it differently? But still using it locates my real rom to Apollo's 32 bit fast ram.
You are confusing two things. The location of the ROM, and the location of "struct ExecBase". The ROM contains the code and the functions, "struct ExecBase" contains the jump-table into the ROM. The ROM builds this jump-table, in the highest-prioriy memory available at boot time, which is any memory added to the system by Auto-Config, or - failing that - chip mem.

The ROM is remapped by MuFastROM, it mirrors the ROM contents into the highest-prioritized memory available at the time it is executed. But it does only that. It does not attempt to mirror "struct ExecBase" because - if the designer of the board did his job right - this structure *is* already in fast memory. If the job was not done right and they just "fiddled the memory into the system somehow", then "struct ExecBase" will end up somewhere, in worst case in chip mem. In that case, you need *in addition* use MuFastZero/MuMove4K. The latter "tags" the memory for execbase such that no graphics memory is allocated in its place, the former then performs the remapping to fast memory.

Once again: ROM != "struct ExecBase", and the only reason why you have this problem is because the designer of your turbo board was lazy and did not make the memory on the board auto-configuring, but fiddled it into the system in some non-documented way that bypasses the expansion library.
Title: Re: NetSurf OS3 - testing!
Post by: utri007 on April 16, 2019, 07:29:37 AM
Sorry, confusion is because RemApollo moves kickstart but also a exec to fast ram.

Quote
Once again: ROM != "struct ExecBase", and the only reason why you have this problem is because the designer of your turbo board was lazy and did not make the memory on the board auto-configuring, but fiddled it into the system in some non-documented way that bypasses the expansion library.

I don't buy this, my other machine has a Blizzard 68060 and it has same symbtoms. OS and Rom are 100% identical. I install my machines from "4gb install hard drive".

Is it so that MuFastZero is not a reset proof? Should I use RemApollo as it is reset proof?

And what has changed when it didn't had that problem with previous kickstart?
Title: Re: NetSurf OS3 - testing!
Post by: Gulliver on April 16, 2019, 07:04:49 PM
@utri007

That the Apollo accelerator is bugged upto its guts has been known for at least a decade. Specific timing fixes on some A1200 motherboards are required to make it work, then, as Thomas pointed out, memory not being added to the system in a proper manner, then failing on 3.9 BB2 rom update under some circumstances. Yes, they may work ok without any drama if you get exactly the right motherboard, and have a bit of luck running some apps.

That was one of the reasons Jens Schoenfeld critiziced so much its design when he bought the Apollo rights long ago (a adecade ago?). He said something along the lines that he wanted to buy them to bury that bad design forever. You may find his technical arguments against it if you look hard enough on the EAB forum.

Anyway, back to your issue: it seems that you are running a customized kickstart rom. I have been there, done that. It is a nightmare waiting to happen. About 75% of the hacked/patched rom modules out there have a small issue here and there. Not recommended for stability. Bugs are going to surface and you will probably end up blaming it on to something else, like bad psu, old caps, or another patch or system program you use.

The unmodified 3.1.4 kickstart rom is superior to any previous version of AmigaOS rom out there. Let me give you a very quick summary of the changes between AmigaOS 3.9 BB2 and 3.1.4 roms on an A1200:

AmigaOS 3.9 BoingBag 2

bootmenu 44.7 (25.2.2002)
console.device 44.8 (12.6.2001)
exec.library 45.20 (6.1.2002)
FileSystem.resource 45.10 (3.8.2001)
FileSystem 45.13 (3.8.2001)
ram-handler 44.23 (8.4.2001)
icon.library 45.1 (8.2.2001)
scsi.device 43.43 (16.1.2002)
shell 45.7 (13.01.2002)
workbench.library 45.127 (21.2.2001)

TOTAL = 10 modules changed.

Note: Despite these changes, many are widely known to be buggy like ram-handler still displaying 100% ram disk usage while being empty. Or the failed scsi.device that does not support large drives and had to be hacked by users to try to fix it, workbench.library that could have its fuel gauge meter overflowing and also its memory leaking abilities, etc. I could go on and on about each of those modules.

AmigaOS 3.1.4

exec.library            exec 46.45 (18.9.2018)
utility.library         utility 45.2 (15.1.2018)
FileSystem.resource     filesysres 46.1 (13.8.2017)
battclock.resource      battclock 45.1 (30.11.2017)
graphics.library        graphics 45.27 (20.9.2018)
layers.library          layers 45.30 (31.7.2018)
gameport.device         gameport 45.2 (9.7.2018)
timer.device            timer 45.1 (14.7.2018)
card.resource           cardres 45.2 (11.5.2018)
keyboard.device         keyboard 45.2 (9.7.2018)
input.device            input 45.2 (9.7.2018)
ramdrive.device         ramdrive 45.3 (14.7.2018)
trackdisk.device        trackdisk 45.1 (14.7.2018)
scsi.device             IDE_scsidisk 45.7 (16.5.2018)
console.device          console 45.4 (9.7.2018)
mathieeesingbas.library mathieeesingbas 45.9 (16.7.2018)
syscheck                syscheck 45.1 (11.2.2018)
bootmenu                bootmenu 45.6 (5.8.2018)
filesystem              fs 46.13 (23.9.2018)
audio.device            audio 45.15 (20.9.2018)
mathffp.library         mathffp 45.3 (6.1.2017)
icon.library            icon.library 45.22 (24.9.2018)
workbench.library       workbench.library 45.194 (23.9.2018)
shell                   shell 46.10 (12.9.2018)
ram-handler             ram 45.5 (6.5.2018)
expansion.library       expansion 45.4 (12.9.2018)

And then you have the optional module: intuition.library 45.10 (16.9.2018)

TOTAL 24 modules changed + 1 extra optional.

Note: Only one bug uncovered in Shell, that is already in beta testing phase to be released free of charge for 3.1.4 adopters. The fix won't require a new rom.

It is an easy choice regarding kickstarts. I admit there is some nice stuff to have from the disk based components of 3.9, like ReAction programs, media players and internet stuff, but if you are looking for a better core OS, 3.9 is a certainly a well disguised nightmare, and 3.1.4 undoubtly kicks its ass a hundred times.

So stay safe and use an unmodified rom. We have had many success reports of 3.1.4 users
with Apollo accelerators. You should not be an exception.   :)
Title: Re: NetSurf OS3 - testing!
Post by: utri007 on April 16, 2019, 07:33:47 PM
But I do have a 3.1.4 kickstart. It has all the rom modules from A1200 modules disk. Others are from original 3.1 kickstart.

There is nothing patched or exotic inside of it. It has a workbench and intuition libraries. Some file systems and cf device.

I'm happy to demonstrate problem with with Blizzard 68060 accelerator.

I hate the idee that I need a special boot floppy if I need a reinstall them. Now I can start it (in theory) from Deluxe Paint III floppy so that I can start installing it from CD or CF card.

Thing is, I don't have any problems. Except that Chris' Netsurf is bog slow, but I think that issue is Netsurf, not a kickstart (or 3.1.4 modules) just thinking that something wich has changed is causing problems and that could help to solve Netsurf problems.

With Kickstart using KS31 and OS3.9 modules it worked much faster and it didn't had that "crash on exit" bug that others had. With current kickstart it crash when closed.
Title: Re: NetSurf OS3 - testing!
Post by: Gulliver on April 16, 2019, 08:24:55 PM
Blizzards also work, we have testers and many users working succesfully with them.

Anyway, I see your point, but the problem is that you have a lot of variables in your system, and pointing the finger to something is just speculation at this point (it could just be NetSurf, 3.1.4, a 3.9 component, a 3.1 compomentt, another filesystem, etc.). Something that you might feel is safe/harmless might not be that way, so do not exclude components when you still aren't 100% sure what is the cause.

Bottomline: more reasearch is definately needed.
Title: Re: NetSurf OS3 - testing!
Post by: utri007 on April 16, 2019, 08:43:04 PM
Quote
Blizzards also work, we have testers and many users working succesfully with them.

Anyway, I see your point, but the problem is that you have a lot of variables in your system, and pointing the finger to something is just speculation at this point (it could just be NetSurf, 3.1.4, a 3.9 component, a 3.1 compomentt, another filesystem, etc.). Something that you might feel is safe/harmless might not be that way, so do not exclude components when you still aren't 100% sure what is the cause.

Bottomline: more reasearch is definately needed.

All amigas has a lots of variables :D

My "main" amiga is a towerized A1200 with Zorro extender. It has a notorius eXpert Merlin RTG card and Delfina Lite. But also a DCE scan magic and Ide fix express.

So "custon" is a standard here, lots of variables.

My Blizzard machine is much more clear A1200 with Blizzard 1260 accelerator.

My point is NOT a say that there is a problem because of 3.1.4 rom modules, I just say that Netsurf has a problems with them. And that way maybe it will help to find bugs. Netsurf window is refreshed "totally" 2 or 3 times before it displays a Netsurf's start screen. I thing that wasn't there before either.


Title: Re: NetSurf OS3 - testing!
Post by: Gulliver on April 16, 2019, 10:31:57 PM
Yes, it is certainly true that all Amigas have lots of variables, and that is why testing is so difficult.

What I was trying to say, is that allways when testing, try to reduce all uneeded variables to narrow down the missbehaving component. A clean system, no matter what flavor/version, will make things easier, as you will eliminate quite a lot of variables.

For testing purposes I allways use an unmodified AmigaOS partition and boot from there. If the bug persists, the number of variables is infinitely smaller than on my everyday system volume.

It is a job of narrowing down variables, as some missbehaviours are not evident at first sight/guess.

Speaking of missbehaviours, it seems we just found one on the other Netsurf port.
Title: Re: NetSurf OS3 - testing!
Post by: utri007 on April 17, 2019, 09:44:43 PM
Some outputs from MuForce / Segtracker / Wipeout

A1200 / Blizzard 1260

With lattest version (10th april) of Netsurf it quits without crash. But still getting cannot fetch documents. Some times it renders one page ie. amiga.org frontpage.
Title: Re: NetSurf OS3 - testing!
Post by: utri007 on September 20, 2020, 10:30:07 PM
Lattest 68k version seems to be broken. NetSurf-gcc-5199.lha https://ci.netsurf-browser.org/builds/amigaos3/

Bitmap fonts doesn't display
Magic Menu doesn't work and eventually opening menus traditional way will crash computer.

Title: Re: NetSurf OS3 - testing!
Post by: utri007 on September 22, 2020, 10:02:14 PM
last working version is 5152, build date 24.05.2020. Hope this helps.

It is really slow. Amigaworld.net wich hasn’t change a bit, used to render 14 seconds, not it renders 192 seconds. Some sort of SSL strip proxy solution would be nice.
Title: Re: NetSurf OS3 - testing!
Post by: utri007 on September 23, 2020, 06:44:23 AM
Problem was codesets library, if there is a one, it needs to be lattest. I t works without it, but not with older versions.
Title: Re: NetSurf OS3 - testing!
Post by: chris on October 09, 2020, 11:46:34 AM
Problem was codesets library, if there is a one, it needs to be lattest. I t works without it, but not with older versions.

Yeah, for some reason they added features and didn't bump the version, only the revision.
Title: Re: NetSurf OS3 - testing!
Post by: utri007 on October 09, 2020, 12:32:15 PM
If possible, you could disable it. Using codesets.library with 68k Amiga makes Netsurf loose a speed a lot. Something like 300%.

Title: Re: NetSurf OS3 - testing!
Post by: chris on October 09, 2020, 12:41:26 PM
I can add a setting to disable it.  I'd be surprised if it was really that much slower, but possibly the way I'm using it isn't optimal.  I'll see if I can cache the internal structures for the charsets as it might be looking them up each time.
Title: Re: NetSurf OS3 - testing!
Post by: chris on October 09, 2020, 01:08:05 PM
I haven't tested it at all, but try build 5216.
Title: Re: NetSurf OS3 - testing!
Post by: utri007 on October 10, 2020, 01:58:34 AM
It has now a problem without codesets.library and it introduced new graphical problem.

Would it be possible to revert back few years old version so that new amissl would work with it?  Those versions were almost usefull, these versions.. it doesn't matter if you fix or not these problems, there is no point to use it as it loads page like amigaworld.net about 5 minits. It used to load about 15 seconds, when Olaf fixed memory fragmentation issue three? years ago.
Title: Re: NetSurf OS3 - testing!
Post by: chris on October 10, 2020, 12:17:29 PM
Quote
It has now a problem without codesets.library and it introduced new graphical problem.

I haven't touched the non-codesets code so that must be caused by something else.

Probably where the code is now offset differently the old bug causing it to access memory it shouldn't be is having a different effect.

This hasn't answered the question I wanted answered which was "is it any quicker now *with codesets.library*?"

Quote
Would it be possible to revert back few years old version so that new amissl would work with it?  Those versions were almost usefull, these versions.. it doesn't matter if you fix or not these problems, there is no point to use it as it loads page like amigaworld.net about 5 minits. It used to load about 15 seconds, when Olaf fixed memory fragmentation issue three? years ago.

I have no idea what caused it to go slow as I was told about this several months after it happened.  I have absolutely no chance of figuring out why now as I couldn't even at the time.

The memory model hasn't changed since then.

It's probably worth adding log_filter:level:CRITICAL to Choices because by default it is spewing out loads of Javascript-related errors which will be slowing it down.

I did switch to using AmiSSL as OpenSSL stopped working, I can't revert that change as not being able to make secure connections makes the browser useless.  There's no reason why AmiSSL should be slower than OpenSSL anyway, it's 99% the same thing.

What it needs is for somebody who can actually debug it properly to figure out what is causing the suspected buffer overflow problem and fix that.  That gets rid of the weirdness of it randomly crashing and doing odd things.  Then it's worth spending a bit of time optimising (again, by somebody who knows what they are doing).

Title: Re: NetSurf OS3 - testing!
Post by: utri007 on October 12, 2020, 05:36:43 PM
Quote
I did switch to using AmiSSL as OpenSSL stopped working, I can't revert that change as not being able to make secure connections makes the browser useless.

I meant that if you could make a AmiSSL work with lets say Netsurf version 3.5? I'm not sure wich version was still fast.

Bad that there is no 68k experienced coders interested trouble shoot this. :( There are too few left and those are not interested enough.