Welcome, Guest. Please login or register.

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

Description:

0 Members and 2 Guests are viewing this topic.

Offline chrisTopic starter

Re: NetSurf OS3 - testing!
« Reply #29 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

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.
"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 #30 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
https://franke.ms/amiga/gdb-eclipse.wiki
« Last Edit: March 18, 2019, 10:02:07 AM by Gerbinist »
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 utri007

Re: NetSurf OS3 - testing!
« Reply #31 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.



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 chrisTopic starter

Re: NetSurf OS3 - testing!
« Reply #32 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
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
"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 #33 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, but I believe you tried this already)

Argh  ;)

What are you using as environment to get a m68k binary?
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 chrisTopic starter

Re: NetSurf OS3 - testing!
« Reply #34 on: March 18, 2019, 11:12:32 PM »
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline gregthecanuck

  • Full Member
  • ***
  • Join Date: Feb 2003
  • Posts: 169
  • Country: ca
    • Show only replies by gregthecanuck
Re: NetSurf OS3 - testing!
« Reply #35 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?
 

Offline chrisTopic starter

Re: NetSurf OS3 - testing!
« Reply #36 on: March 19, 2019, 01:52:37 PM »
I did but it created more problems than it solved.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline Primax

  • Newbie
  • *
  • Join Date: Feb 2016
  • Posts: 30
    • Show only replies by Primax
Re: NetSurf OS3 - testing!
« Reply #37 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!
 

Offline chrisTopic starter

Re: NetSurf OS3 - testing!
« Reply #38 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)
« Last Edit: March 20, 2019, 11:22:52 PM by chris »
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline 10MARC

Re: NetSurf OS3 - testing!
« Reply #39 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.
 

Offline 10MARC

Re: NetSurf OS3 - testing!
« Reply #40 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.
 

Offline Primax

  • Newbie
  • *
  • Join Date: Feb 2016
  • Posts: 30
    • Show only replies by Primax
Re: NetSurf OS3 - testing!
« Reply #41 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).
 

Offline Gerbinist

Re: NetSurf OS3 - testing!
« Reply #42 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
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 chrisTopic starter

Re: NetSurf OS3 - testing!
« Reply #43 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?
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline Primax

  • Newbie
  • *
  • Join Date: Feb 2016
  • Posts: 30
    • Show only replies by Primax
Re: NetSurf OS3 - testing!
« Reply #44 from previous page: 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.