Program failure due to memory defects?

Post Reply
User avatar
Dutchman
Posts: 851
Joined: Mon May 06, 2013 9:21 am
My devices: iMac, iPad Air, iPhone
Location: Netherlands
Flag: Netherlands

Program failure due to memory defects?

Post by Dutchman »

Consider this as a tip to solve 'strange' problems, in particular to Dav and George.
During development of "MakeInstall" (viewtopic.php?f=20&t=2030) I had to spent a very long time to solve a 'run-time error'
At last I started to strip the program by commenting pieces between /* and */ until only a single call was left:
• 1 I got a run-time error on the single-line 'program':
CALL Archive(Tree$,OutDir$,Install$,Ext$)

That made no sense. It should have been a syntax-error or parameter-error or else, but certainly no run-time error.

I copied then the whole content to another file and got the program running.
I can only explain it as a memory-problem and that could also be the case with the following cases

• 2 Dav got a strange syntax error:
Re: Browser with download facilities, by Dav » 19 Sep 2017
… When starting Browser.sb, a Syntax error occurs in the ButtonPressed(reset) Function on this line: But.favorites=BUTTON_PRESSED("favorites")


• 3 George got a strange run-time problem:
Re: Tree.sb to list folder contents by GeorgeMcGinn » 27 Sep 2017 and by GeorgeMcGinn » 30 Sep 2017
… I'm betting it has to do with a filetype, not a missing file. That does not make sense.
Last edited by Dutchman on Thu Jan 19, 2023 3:19 pm, edited 1 time in total.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: Program failure due to memory defects?

Post by Mr. Kibernetik »

If you consider anything from listed above to be a bug, then bug report with minimal testing code to reproduce it will be very welcome.

User avatar
Dutchman
Posts: 851
Joined: Mon May 06, 2013 9:21 am
My devices: iMac, iPad Air, iPhone
Location: Netherlands
Flag: Netherlands

Re: Program failure due to memory defects?

Post by Dutchman »

I can not reproduce the error:
I copied then the whole content to another file and got the program running.
I can only explain it as a memory-problem
After copying I didn't change anything to run it, because it was without errors before the described problem occurred. :?

So I suppose it can not be a SB bug. ;)

Post Reply