Welcome, Guest. Please login or register.

Author Topic: duktape error NetSurf OS3  (Read 33148 times)

Description:

0 Members and 3 Guests are viewing this topic.

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #74 from previous page: August 06, 2016, 12:24:37 AM »
Quote from: utri007;812145
Download link doesn't work

https://github.com/DNADNL/NetScript gives 404 error
Oops, I forgot to change it in the README ! ^^ It's OK, now. Here is the link if you want : https://github.com/DNADNL/NetScript/raw/master/NetSurf_3.6dev_AmigaOS3_2016-08-05.tar
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #75 on: August 06, 2016, 12:28:16 AM »
Quote from: chris;812144
http://www.netsurf-browser.org/contact/
OK, i'll send later an e-mail to the netsurf-dev e-mail address.
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #76 on: August 06, 2016, 07:53:35 AM »
Quote from: freeaks;812154
@utri007:
i alway spoke about the latest beta version from here:
http://cy2.uk/netsurfos3
that is the link available from chris page.

@chris:
 you were correct, it seems your latests version can now run on vampire.
thanks a lot for this.

@dnadnl:
thanks for the new build, i'll test it and report. i'm sure others will do so as well.

i have to report something i noticed though,
netsurf is slow to render,
and then slow to scroll even local pages with no javascript and minimal css.
i'm  not bashing, just telling. i think that even if local pages are slow to  render like that, there must be a real problem in the code.
maybe at least the scrolling could be made better with some buffering of the whole page once it is loaded ?

anyway, it is getting better and better and that's great.
keep up the good work :)
Welcome to the Nineties ! XD This wonderful time when to load a web page, you had to wait every square to be desplayed, and you could see them appear, square by square,from top/left to bottom/right ! ^^

@utri, thanks for your precision, I'm glad to read that.
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #77 on: August 08, 2016, 07:04:04 PM »
Hello guys !
About the rainbow pictures issue, for me the problem has been solved by one of the NetSurf developers (I use AGA), so I can't really help you, sorry.

I tried to contact the NetSurf developers via their mailing list but this doesn't work "you are not allowed to post to this mailing list". How can I join them to talk about the DukTape issue, so ? Do you have an idea ?
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #78 on: August 08, 2016, 08:50:54 PM »
Quote from: chris;812286
Make sure you're subscribed to it under the email address you're sending from.

OK, I subscribed with a gmail address (I don't know why, but it didn't accept my personal email address). Now I wait the confirmation mail.

EDIT : OK, I can now re-send the mail.

EDIT 2 : Ah, also, I released a new NetScript version, more user-friendly ! Now, you can easily compile NetSurf for AmigaOS3 with your own modifications.
There is also a QUICK MODE, which is useful if you only want to recompile the netsurf folder quickly (~30 sec-1 min).
Finally, there is also a LOG file created, in case you reach the bad ending.
« Last Edit: August 08, 2016, 09:43:04 PM by DNADNL »
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #79 on: August 10, 2016, 04:06:15 PM »
I looked for every files which could contain js in NetSurf but I didn't find the cause of the issue. I don't have any news about the developers (using the netsurf-dev mail list), do you have an idea about or another way to contact them ?

EDIT : @chris I can see the libnsutils compilation doesn't work (so the NetSurf one too)... Do you think it could be due to the changes you've done on it ?
« Last Edit: August 10, 2016, 07:19:04 PM by DNADNL »
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #80 on: August 11, 2016, 05:11:16 PM »
Quote from: chris;812387
The other way is IRC, which is often better ('m not a fan, but it's likely you'll get a response if somebody is on)

I'll see, for the moment I don't have any response since yesterday...

Quote from: chris;812387

Yeah, I broke it, sorry :(  Fixed now.

OK ! Thanks !

Quote from: chris;812387
Incidentally I'd be interested to hear if you have timer issues - ie. pages which refuse to finish loading, the browser just giving up loading pages after a while, etc - see http://www.amigans.net/modules/xforum/viewtopic.php?post_id=103107#forumpost103107

I'm going to check this out. Do you have a typical website which could have this kind of behaviors ? I tried to launch twitch.tv on NetSurf windows (it's the only version available in my computer, currently, I'll test this on AmiKit later) but the page doesn't want to load totally, I guess : http://puu.sh/qxFWG/ed4bc8abae.jpg
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #81 on: August 11, 2016, 08:27:18 PM »
Quote from: chris;812426
Yes, the Sourceforge page linked to in the first post...
I don't have access to it (Error 403), so I can't test... sry ! :-(

Quote from: chris;812426
I'm about to commit a fix based on Georg's comments which are looking good so far, so I'm confident this might be fixed.  But if you spot it behaving weirdly there's a load of logging I can enable now :)
OK, please tell me when you did it, as I can launch NetScript to compile NetSurf for me again and test it on AmiKit.

Quote from: chris;812426
I've copied up a new build for OS3 with the fixed scheduler (unfortunately doesn't appear to be the inadvertent cause of Duktape problems)
We can't always kill two birds with a stone ! ^^

In fact, if you need some help for a french translasion, I'll be glad to help you ! ^^

EDIT : Ah, also, I corrected some JS mistakes, mostly in the netsurf/test/javascript HTML files (I thought this was the cause of the DukTape Issue). If you want, I can give them to you.
« Last Edit: August 11, 2016, 08:47:19 PM by DNADNL »
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #82 on: August 15, 2016, 06:46:20 PM »
Hello World !

@chris
I would like to activate the Debug commands (DUK_D, DUK_DD, DUK_DDD, DUK_DPRINT...), but what I tried didn't work. Could you please tell me how to do ?
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #83 on: August 15, 2016, 06:56:28 PM »
Quote from: freeaks;812619
yes i'm using uae at the moment,
this week i will switch to a600 + vampire (i'm waiting for parts)

i have mungwall, enforcer and sashimi running in the background.
when i quit netsurf, i get the crash, but nothing from those tools is reported.
whereas for the previous build that was direct p96 on rtg,
i had gfx corruption, but no crashs on exit.
i can reproduce this everytime.
I have the same kind of issue on Happiga for Raspberry Pi (the 8000-0004 Issue), even if I use Picasso 96 ; and the same issue comes sometimes to AmiKit. I think It's a memory leak here, as the RPi has "only" 1GB (and 8 MB allocated to The Amiga System), and AmiKit has 8 GB I think.
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #84 on: August 15, 2016, 07:49:05 PM »
Quote from: freeaks;812622
i installed smartcrash, does this info helps ?
http://alturl.com/rc56g  (pic of smartcrash requester)

edit: i have 128mb allocated to amiga
I can't really help you on that point, sry !.
Did you use SnoopDOS, also ? This can log the whole activity done on your computer (for example, when you launch NetSurf), and you can obtain a TXT file, then, much easier to read ^^
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #85 on: August 15, 2016, 09:00:12 PM »
Quote from: freeaks;812625
i don't think it will be useful for this but, here is the snoopdoslog:
http://paste.debian.net/789741/
Well, it doesn't seem to be useful, yeah... Maybe chris will have an idea with all your files.
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #86 on: August 15, 2016, 11:53:09 PM »
Quote from: chris;812628
Add the following at the top of duk_custom.h:
Code: [Select]
#define DUK_USE_DEBUG 1
#define DUK_USE_DEBUG_LEVEL 2
#define DUK_USE_DPRINT 1
#define DUK_USE_DDPRINT 1

You might want to fiddle with the value of DEBUG_LEVEL, and either add DDDPRINT or remove DDPRINT.  The debug defines don't seem to work entirely as documented.
OK, I did this, but it seems nothing appears between the famous rows "Creating new duktape javascript context" and FATAL 56... is it normal ?

Here is what I wrote in duk_config.h :
Code: [Select]
//DNADNL DEBUG
#define DUK_USE_DEBUG 1
#define DUK_USE_DEBUG_LEVEL 2
#define DUK_USE_DPRINT 1
#define DUK_USE_DDPRINT 1
#define DUK_USE_DDDPRINT 1
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #87 on: August 16, 2016, 01:09:41 AM »
Quote from: chris;812641
duk_custom.h, not duk_config.h
It works here, that's all I can say.
Woops ! Misreading, Sorry ! ^^'