Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline chris

Re: duktape error NetSurf OS3
« Reply #254 from previous page: August 15, 2016, 03:23:54 PM »
@freeaks

The intention is the builds will be from CI, the current situation is an interim measure.  The build date is in Project=>About.

I'd like to know more about the crashing, I've not seen that here.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline utri007

Re: duktape error NetSurf OS3
« Reply #255 on: August 15, 2016, 05:55:17 PM »
Quote from: chris;812602


I'd like to know more about the crashing, I've not seen that here.


I haven't had that kind of problem ever.

I belive that scrolling is compromize between, speed, ram usage and useability.

UAE doesn't give right picture of it.
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 freeaks

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 30
    • Show only replies by freeaks
Re: duktape error NetSurf OS3
« Reply #256 on: August 15, 2016, 05:56:47 PM »
@chris,

about the build date: the goal was to avoid unnecessary downloads and installs just to check freshness of the link..
what you say makes me as a user, download and install new copy of netsurf just to check if it was updated or not. this is not practical. better put a date string beside the download link.

about the crash, sur,e i'd be willing to give any output i could,
what tool do you suggest to get you more info ?
right now i can see the usual:

"NetSurf
Program failed (error #80000004)
Wait for disk activity to finish."

that probably won't help you much, i'm a bit rusty about amiga things,
what kind of tool was there, was it 'sashimi' that software that could give more detailled debug output ?
 

Offline chris

Re: duktape error NetSurf OS3
« Reply #257 on: August 15, 2016, 06:16:33 PM »
Quote from: freeaks;812615
about the build date: the goal was to avoid unnecessary downloads and installs just to check freshness of the link..

Yes, I know, but they are split over two different servers so I can't easily fetch the filedate.  This will be irrelevant when we get CI builds.

Quote
about the crash, sur,e i'd be willing to give any output i could,
what tool do you suggest to get you more info ?
right now i can see the usual:

"NetSurf
Program failed (error #80000004)
Wait for disk activity to finish."

that probably won't help you much, i'm a bit rusty about amiga things,
what kind of tool was there, was it 'sashimi' that software that could give more detailled debug output ?

Enforcer maybe?  80000004 is an illegal instruction error apparently.  It could be the CPU, memory or - if you're using UAE - an emulation error.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline freeaks

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 30
    • Show only replies by freeaks
Re: duktape error NetSurf OS3
« Reply #258 on: August 15, 2016, 06:44:36 PM »
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.
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show only replies by DNADNL
Re: duktape error NetSurf OS3
« Reply #259 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 only replies by DNADNL
Re: duktape error NetSurf OS3
« Reply #260 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 freeaks

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 30
    • Show only replies by freeaks
Re: duktape error NetSurf OS3
« Reply #261 on: August 15, 2016, 07:06:36 PM »
i installed smartcrash, does this info helps ?
http://alturl.com/rc56g  (pic of smartcrash requester)

edit: i have 128mb allocated to amiga
« Last Edit: August 15, 2016, 07:42:28 PM by freeaks »
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show only replies by DNADNL
Re: duktape error NetSurf OS3
« Reply #262 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 freeaks

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 30
    • Show only replies by freeaks
Re: duktape error NetSurf OS3
« Reply #263 on: August 15, 2016, 08:46:13 PM »
i don't think it will be useful for this but, here is the snoopdoslog:
http://paste.debian.net/789741/
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show only replies by DNADNL
Re: duktape error NetSurf OS3
« Reply #264 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 chris

Re: duktape error NetSurf OS3
« Reply #265 on: August 15, 2016, 10:00:17 PM »
Quote from: DNADNL;812620
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 ?


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.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline chris

Re: duktape error NetSurf OS3
« Reply #266 on: August 15, 2016, 10:05:31 PM »
Quote from: freeaks;812622
i installed smartcrash, does this info helps ?
http://alturl.com/rc56g  (pic of smartcrash requester)


Means nothing to me.  Maybe somebody with 68k knowledge can decode it?

Quote from: freeaks;812625
i don't think it will be useful for this but, here is the snoopdoslog:
http://paste.debian.net/789741/


Would probably have been more useful if the text wasn't all truncated at U.

Anyway, a NetSurf log would be more helpful:
netsurf -v >ram:ns.log

There isn't too much logging on exit but it might help narrow down where the crash is occurring.  I (or DNADNL) can always add more.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show only replies by DNADNL
Re: duktape error NetSurf OS3
« Reply #267 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 chris

Re: duktape error NetSurf OS3
« Reply #268 on: August 16, 2016, 01:00:41 AM »
Quote from: DNADNL;812640
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


duk_custom.h, not duk_config.h
It works here, that's all I can say.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show only replies by DNADNL
Re: duktape error NetSurf OS3
« Reply #269 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 ! ^^'