Author Topic: Bug Reports  (Read 454481 times)

0 Members and 1 Guest are viewing this topic.

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Bug Reports
« Reply #1770 on: December 15, 2012, 12:48:40 pm »
Why would you ever have any reason to include the same program twice?
So you'll never include the same program twice, so the fact that Axe lets you include the same program twice is not a problem.
So I really don't get where is your problem ???
Um, what?
Hayleia, the point I was trying to make with that statement was that there would be no reason to include the same code twice in a program.
Builderboy showed me a possible use for it, though, so I'm dropping it.
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Bug Reports
« Reply #1771 on: December 17, 2012, 05:14:17 pm »
I'm not exactly sure what's going on here, but it's definitely a bug.
First, put all the files in the .zip on a calc, then compile the included sources as an app. Then go into the Nymless application, and select LOAD with [2ND], then type in BUG.
Now select PLAY.
Those shimmering rectangles are supposed to be on the bottom.
Now, this might be due to a corrupt level, right?
Except, when you press [CLEAR] to get back to the main menu and then select SHIM, the rectangles are all in their right places.
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Bug Reports
« Reply #1772 on: December 17, 2012, 05:18:44 pm »
I would recommend narrowing down the problem, as it's kind of difficult without learning all of your code to figure out what is going on, and the cause of the mistake is not immediately obvious.  What is the behavior in earlier versions of Axe? 

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Bug Reports
« Reply #1773 on: December 17, 2012, 05:19:48 pm »
The behavior in 1.1.2 is that the rectangles are in a row on the bottom, not going from there to the ceiling.
Also, the code for PLAY is in prgmSTRANGE, and SHIM is in prgmRECT

Here's another attempt at uploading the level.
« Last Edit: December 17, 2012, 07:26:43 pm by Freyaday »
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Bug Reports
« Reply #1774 on: December 17, 2012, 08:50:04 pm »
Freyaday, this behavior is not the result of an Axe bug. This is a result of your use of the parametric variables, which changed with Axe 1.2.0. I think I recommended not using them as general-purpose variables a while before 1.2.0 was released, by the way. :P
« Last Edit: December 17, 2012, 08:50:30 pm by Runer112 »

Offline zero44

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 128
  • Rating: +21/-0
  • <!--//www.ustr.net/infrared/infrared1.shtml-->
    • View Profile
    • zero44
Re: Bug Reports
« Reply #1775 on: December 18, 2012, 03:50:34 pm »
Hey,

I met a big bug for new 1.2.1 commands

I didn't have enough time to try all combinations, but [W/I/ ][H/V]Line(arg,arg,arg) never worked, and IHLine(X,58000,1500) clears RAM when program stops.
For [W/I/ ][H/V]Line(arg) I had no matter
And ICircle(X,Y,R) bugs : the circle is cut into 4 or 8 pieces of circle when inverted, either on white or black : there are always 4 or 8 pixels missing.

Hoping that t will be fixed soon and that you'll do more good improvement,
Zero44

PS: are you able to read in brains ? [W/I][DrawCommand] and Asm(21(GDB3+8)) are all the things I wanted to see added to Axe :)

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Bug Reports
« Reply #1776 on: December 18, 2012, 07:56:35 pm »
I've got two three.
Trying to make a program with a name that contains invalid characters (like lowercase letters) will sometimes flat-out not create a program instead of cutting off the name.
The error message for a too-large app is "ERR:MEMORY". It really should be something more descriptive, like say, "ERR:TOO BIG FOR ONE PAGE" or something.
Also, sometimes, when you compile something, a full progress bar (just the bar, not the thing around it) will appear on the screen for a split second before compiling begins.
« Last Edit: December 18, 2012, 09:50:17 pm by Freyaday »
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Bug Reports
« Reply #1777 on: December 19, 2012, 12:20:54 am »
Hey,

I met a big bug for new 1.2.1 commands

I didn't have enough time to try all combinations, but [W/I/ ][H/V]Line(arg,arg,arg) never worked, and IHLine(X,58000,1500) clears RAM when program stops.
For [W/I/ ][H/V]Line(arg) I had no matter

Fixed! Thanks for the report, I made a silly mistake that was easy to fix given this information. :)



And ICircle(X,Y,R) bugs : the circle is cut into 4 or 8 pieces of circle when inverted, either on white or black : there are always 4 or 8 pixels missing.

Fixed! I thought inverted circles looked a little funny when I briefly tested them, but somehow couldn't put my finger on it... Those few missing pixels turned out to be quite the challenge to fix (in an optimal manner), but after an hour or two I figured it out.



Trying to make a program with a name that contains invalid characters (like lowercase letters) will sometimes flat-out not create a program instead of cutting off the name.

I can't really say I'm too concerned with input validation right now, because it's an annoying issue that takes large amounts of code to get perfectly right (which Axe frankly doesn't have the space for). But I'll consider it down the road.



The error message for a too-large app is "ERR:MEMORY". It really should be something more descriptive, like say, "ERR:TOO BIG FOR ONE PAGE" or something.

And that is too big for one error message. Anyways this isn't really a bug, and you still knew what it meant so it seems like it's descriptive enough. Maybe you won't even see that error eventually. :P

Offline 133794m3r

  • LV2 Member (Next: 40)
  • **
  • Posts: 21
  • Rating: +1/-3
    • View Profile
Re: Bug Reports
« Reply #1778 on: December 19, 2012, 03:03:11 am »
OK, so I don't know if this is a bug or needs to be a feature request. But the following code, which _should_ replace 2 bytes(according to my understanding of the axe syntax). But, I have two issues with the program. One is in the post about the string thing. Anyway, I'll be posting example code to do it along with the dump from the error screen for you.

First one.

Code: [Select]
:.RC2
:"SILLY STRING"→Str1
:length(Str1)→L
:Disp L►Frac
:det(L)→S
:det(L)→C
:0→T
:L-1→M
:For(A,0,M)
:InData({Str1+A},T)→D
:If D≠0
:.This line right here is the problem...
:.It Also happens at the ^r character, which makes no sense to me.
:{C+D}{^r}++→{C+D){^r}
:End
:Else
:{Str1+A}→{S+A}
:0→{C}{^r}
:End
:End
:length(S)→L
:L-1→M
:For(A,0,M)
:Disp {S+A}►Frac
:Disp i,{C+A}{^r}►Dec
:End
It says "invalid token", even though as far as I can tell it should be _completely_ valid in Axe. I've not seen anything saying I can't replace two bytes in ram, as that whole ^r, thing I thought should've fixed it. Anyway below is a screenshot with the data, as I'm way too lazy to make sure I don't accidently type something wrong and it end up being an _entirely_ different thing going on. If you're not able to modify 2 bytes of data at an address in Axe/that shouldn't be allowed to happen anyway in this syntax. I'll go post in the feature request area about it.



P.S. I looked over the code again, and it seems like it _should_ be valid. Maybe I'm just being really stupid...

Edit 1: I tried moving it down a line, and for _whatever_ reason Axe _hates_ and I mean _hates_ having that all on one line, it seems to work now. Just had to put it on two lines, don't know if that still counts as a bug report or not at the moment.
« Last Edit: December 19, 2012, 03:28:11 am by 133794m3r »

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Bug Reports
« Reply #1779 on: December 19, 2012, 03:08:19 am »
If you look carefully at that line, you use a right parenthesis instead of a right curly brace, hence your problem. ;)

Interestingly enough, I could figure out this exact problem just from looking at the hex error dump. Boy am I glad I added that.






EDIT: Also, Builderboy is absolutely correct about what he mentioned in the post below. Adding the store there will actually introduce issues because of how the increment operator works.
« Last Edit: December 19, 2012, 03:12:59 am by Runer112 »

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Bug Reports
« Reply #1780 on: December 19, 2012, 03:10:42 am »
It's also worthy to note that the ++ operation already stores the incremented value back to where it was read from, so the →{C+D}r part is completely unnecessary (and may not even work 100% of the time, since ++ doesn't always return the incremented value)

Offline stevon8ter

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 663
  • Rating: +10/-0
    • View Profile
Re: Bug Reports
« Reply #1781 on: December 19, 2012, 03:31:49 am »
{^r}

Shouldn't it be ^r
?
None of my posts are meant offending... I you feel hurt by one of my posts, tell me ... So i can appoligise me and/or explain why i posted it


Hi there, I'm the allmighty (read as: stupid, weak...) STEVON8TER

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Bug Reports
« Reply #1782 on: December 19, 2012, 03:35:02 am »
I believe that is SourceCoder syntax, in which the radian r symbol is represented as {^r}

Offline stevon8ter

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 663
  • Rating: +10/-0
    • View Profile
Re: Bug Reports
« Reply #1783 on: December 19, 2012, 03:36:50 am »
Oooh ok sorry :p just thought: hmmm doesn't look right xD
But ok then it's runer's solution xp
None of my posts are meant offending... I you feel hurt by one of my posts, tell me ... So i can appoligise me and/or explain why i posted it


Hi there, I'm the allmighty (read as: stupid, weak...) STEVON8TER

Offline zero44

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 128
  • Rating: +21/-0
  • <!--//www.ustr.net/infrared/infrared1.shtml-->
    • View Profile
    • zero44
Re: Bug Reports
« Reply #1784 on: December 19, 2012, 04:05:08 am »
OK ...
all I reported seems to be fixed
after looking at asm through my secret exA project, I saw that [H/V]Line(arg,arg,arg) called CD0100 , and 0001 is a space with random code
routine call for HLine(16,,) : 211000E5E5CD(XXXX) ► double E5 causes stack overflow/corruption because of no double D1 to match it ...
and for circle after analyzing it I guessed that some pixels was inverted twice.

Another bug, on a simple program compilation (1st pass, I think) :
UNKNOWN ERROR
long freeze, like a lots of getKey^r (2nd and Alpha worked, but ...)
after a long time (time to found pen and paper) there was the normal blinking indicator after prgmNAME, I pressed [ON]►shutdown►RAM Cleared.
prgm had GetCalc(Y1), Copy(Y1,, ... and nothing else especially.
____________