Author Topic: Bug Reports  (Read 456956 times)

0 Members and 4 Guests are viewing this topic.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Bug Reports
« Reply #1860 on: August 11, 2013, 03:12:05 pm »
You mean scrolling to errors? Are you using an old version of zStart? I forgot to mention it in the changelog, but Axe 1.2.1+ now checks if zStart exists, and if so, uses its instant goto function for going to errors instead of Axe's. Unfortunately, the API instant goto function was broken in some older versions of zStart, but there's no way for Axe to easily know what version it is so Axe will blindly use the broken API function in older versions of zStart.
Yes I mean scrolling to errors. I use the latest versions of both Axe and zStart.

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: Bug Reports
« Reply #1861 on: August 11, 2013, 03:29:06 pm »
I get it on compiling every program.

Sometimes it happens when I just quitted a Asm program.

But I can't explain more: I just get more often Unknown Error with zStart than normally. You should backup program before compiling.

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: Bug Reports
« Reply #1862 on: August 16, 2013, 04:46:24 am »
I think I got a pointer to these unknown errors: I think that's related to RAM allocation for programs. Trying to compile two time a 16kb program made Axe crashed.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Bug Reports
« Reply #1863 on: August 16, 2013, 05:03:12 am »
I get it on compiling every program.

Sometimes it happens when I just quitted a Asm program.

But I can't explain more: I just get more often Unknown Error with zStart than normally. You should backup program before compiling.

I think I got a pointer to these unknown errors: I think that's related to RAM allocation for programs. Trying to compile two time a 16kb program made Axe crashed.

I'm fairly confident that the primary culprit of unknown compilation errors has been fixed for the next version of Axe, as well as the general freezing of error messages. The unknown errors would crop up more often when compiling large archived source files, a case which you seem to fit. For now, the only possible fix I can offer is to unarchive and rearchive programs that cause unknown errors.

I don't understand how you could get an unknown compilation error from Axe when exiting an assembly program, though, considering Axe shouldn't even be running any more.
« Last Edit: August 16, 2013, 05:05:10 am by Runer112 »

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: Bug Reports
« Reply #1864 on: August 16, 2013, 06:39:29 am »
I said that I got a Unknwon error when compilong a program. It had more than 6KB Buff...

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: Bug Reports
« Reply #1865 on: October 03, 2013, 06:27:12 pm »
Plop,

In Axe 1.2.1a, Exch() seems to use indirection twice. To exchange two bytes situated at for example L1 and L2, I had to do :

:L1->r1
:L2->r2
:Exch(°r1,°r2,2)

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Bug Reports
« Reply #1866 on: October 03, 2013, 08:03:49 pm »
Plop,

In Axe 1.2.1a, Exch() seems to use indirection twice. To exchange two bytes situated at for example L1 and L2, I had to do :

:L1->r1
:L2->r2
:Exch(°r1,°r2,2)


I don't believe anything has changed with Exch() in a long time, so I'm not sure why that behavior would occur. Can you supply a bit more background information, like the code around that and where it becomes clear that it has gone wrong?

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: Bug Reports
« Reply #1867 on: October 04, 2013, 12:46:05 am »
Well, I use it in a 3D sort function, so I can write it here if you want :

:Lbl SortFaces
:
:.Computes average Z-value of all faces
:For(r1,0,{CurP-1}-1)
:0→{r1*2+GDB1ZAVRG→r3}r
:For(r2,0,{r1+CurVPP}-1)
:{r3}r+{{r1*{CurP-2}+r2+CurP}*6+GDB1RV+4}r→{r3}r
:End
:{r3}r//{r1+CurVPP}→{r3}r
:End
:
:For(r1,0,{CurP-1}-1)
:r1→{r1+GDB1SORT}
:End
:
:While 1
:0→r6
:For(r1,0,{CurP-1}-2)
:If {{r1+GDB1SORT}*2+GDB1ZAVRG?→r2}r]]{{r1+GDB1SORT+1}*2+GDB1ZAVRG→r3}r
:Exch(°r2,°r3,2)
:{r1+GDB1SORT}rr→{r1+GDB1SORT}r
:1→r6
:End
:End
:End!If r6
:Return


CurP is a pointer to list of numbers between 0 and 7 inclusive. CurP-1 is 6, and CurP-2 is 4.
GDB1ZAVRG is a pointer to 64 free bytes.
GDB1RV is a pointer to a list of 12 6-bytes rotated vertices arranged as follow : X, Y, Z (all being words)
CurVPP is a pointer to 6 bytes, all set at 4.
GDB1SORT is a pointer to 32 free bytes.
« Last Edit: October 04, 2013, 12:46:21 am by Matrefeytontias »

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Bug Reports
« Reply #1868 on: October 04, 2013, 12:54:42 am »
Exch() seems to work as expected, with one level of indirection, for me.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Bug Reports
« Reply #1869 on: October 19, 2013, 05:21:43 am »
I got a weird bug.

  • I try to compile Pokemon Topaze, it says "invalid token" on "Lbl MUR", and there is no invalid token.
  • I try again without changing anything, it compiles.


So I wanted to report it, and make a screenshot to show you

  • I try to compile Pokemon Topaze and get "invalid token", but on a ">" this time, not on "Lbl MUR"
  • I try again without changing anything, it compiles.


(when looking at the screenshot, don't look at the entire compilation the second time if you don't want to waste one minute, just wait for it to go past 12358 which was the step where the bug happened the first time to see that the bug didn't appear the second time)
« Last Edit: October 19, 2013, 05:24:05 am by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: Bug Reports
« Reply #1870 on: October 19, 2013, 05:44:11 am »
Maybe because you used zStart, it iccurs to me sometimes like because of the zstart copy/paste method of editing archived programs.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Bug Reports
« Reply #1871 on: October 22, 2013, 03:30:05 am »
Yeah I often get this issue too. May or may not be zStart related.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Bug Reports
« Reply #1872 on: October 22, 2013, 11:47:35 am »
If you guys ever get compilation errors that you think are bugs, press STAT! Then post the error dump here, as it carries a lot of really useful debugging information for me.

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: Bug Reports
« Reply #1873 on: October 26, 2013, 04:08:22 pm »
Bug with Axe 1.2.2 : seems that the app doesn't know how to count free app pages. I still have at least 2 app pages and 26k of free ROM, and it won't compile a 15k app.

Error code like I saw it on-screen :
              0B
370040F1801113FF
FF4000748674FB49
76
« Last Edit: October 26, 2013, 04:12:50 pm by Matrefeytontias »

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: Bug Reports
« Reply #1874 on: November 13, 2013, 03:46:07 am »
Another bug with Axe 1.2.2 : it seems that you forgot to check whether we compile as  an app or not before saying "APP TOO BIG". I want to compile a 16464 bytes MirageOS program, but it won't do.

1097E710AFA74E43
A668A668DB990012
0B378B810011FF00
040A406D4AD14976