Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline chrisTopic starter

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

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

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

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

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

Re: NetSurf OS3 - testing!
« Reply #19 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
"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 #20 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 🙁
"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 #21 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)
"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 #22 on: March 21, 2019, 10:36:03 PM »
My Curl test was really for Primax anyway...
"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 #23 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.
"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 #24 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?
"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 #25 on: March 22, 2019, 05:15:51 PM »
Does NetSurf give you an error message when you try to visit a secure site?
"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 #26 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.
"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 #27 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 #28 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 chrisTopic starter

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