Recent

Author Topic: Post your internal error here (You've Got a Friend in Me)  (Read 8073 times)

cpicanco

  • Hero Member
  • *****
  • Posts: 664
  • Behavioral Scientist and Programmer
    • Portfolio
Post your internal error here (You've Got a Friend in Me)
« on: February 01, 2024, 02:13:49 pm »
Quote
sdl.app.stimulus.pas(111,35) Error: Compilation raised exception internally
Verbose: Compilation aborted
Debug: An unhandled exception occurred at $0000000100028FB4:
Debug: EAccessViolation: Access violation
Debug:   $0000000100028FB4  GETNAME,  line 2066 of cclasses.pas
Debug:   $000000010004AF8E  GENERATE_OBJECTPASCAL_HELPER_KEY,  line 2995 of symtable.pas
Debug:   $000000010004E1B4  GET_OBJECTPASCAL_HELPERS,  line 4403 of symtable.pas
Debug:   $000000010004E311  SEARCH_LAST_OBJECTPASCAL_HELPER,  line 4436 of symtable.pas
Debug:   $000000010004E42F  SEARCH_OBJECTPASCAL_HELPER,  line 4464 of symtable.pas
Debug:   $0000000100184A74  TRY_TYPE_HELPER,  line 2120 of pexpr.pas
Debug:   $000000010018465F  POSTFIXOPERATORS,  line 2861 of pexpr.pas
Debug:   $00000001001864E4  FACTOR,  line 3744 of pexpr.pas
Debug:   $0000000100188960  SUB_EXPR,  line 4648 of pexpr.pas
Debug:   $0000000100188999  SUB_EXPR,  line 4653 of pexpr.pas
Debug:   $0000000100188999  SUB_EXPR,  line 4653 of pexpr.pas
Debug:   $0000000100188999  SUB_EXPR,  line 4653 of pexpr.pas
Debug:   $0000000100189E51  EXPR,  line 4936 of pexpr.pas
Debug:   $00000001001A30C7  STATEMENT,  line 1441 of pstatmnt.pas
Debug:   $00000001001A354D  STATEMENT_BLOCK,  line 1579 of pstatmnt.pas
Debug:   $0000000100141D9A  BLOCK,  line 407 of psub.pas
Debug:   $0000000100145A50  PARSE_BODY,  line 2486 of psub.pas

You've Got a Friend in Me
Be mindful and excellent with each other.
https://github.com/cpicanco/

Bart

  • Hero Member
  • *****
  • Posts: 5573
    • Bart en Mariska's Webstek
Re: Post your internal error here (You've Got a Friend in Me)
« Reply #1 on: February 01, 2024, 06:58:25 pm »
Crashes in the compiler should (if still present with fpc main (formerly known as trunk)) be reported in the freepascal bugtracker.
(Preferrably after you search the bugtracker to see if it hasn't been reported already.)

Bart

cpicanco

  • Hero Member
  • *****
  • Posts: 664
  • Behavioral Scientist and Programmer
    • Portfolio
Re: Post your internal error here (You've Got a Friend in Me)
« Reply #2 on: February 01, 2024, 07:30:57 pm »
This one is my buddy. I reported it. I am joking about the fact it is just don't go away. He is a true friend. If you also have a true friends like him, fell free to post it here (after doing it too in the bug tracker, of course).

(PS.: I will check if it still there for me in trunk soon)
« Last Edit: February 08, 2024, 05:13:10 pm by cpicanco »
Be mindful and excellent with each other.
https://github.com/cpicanco/

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11361
  • Debugger - SynEdit - and more
    • wiki
Re: Post your internal error here (You've Got a Friend in Me)
« Reply #3 on: February 01, 2024, 07:37:51 pm »
He is a true friend. If you also have a true friend like him, fell free post it here

I rarely have long term friends like that, I make new friends all the time. Most don't stay for long. (I just know how to debug.... / though my friends aren't usually parts of the compiler)
;) ;) ;)

Eugene Loza

  • Hero Member
  • *****
  • Posts: 729
    • My games in Pascal
Re: Post your internal error here (You've Got a Friend in Me)
« Reply #4 on: February 01, 2024, 08:51:24 pm »
Yeah, gotta crop 40k lines of code to minimal reproduction ... maybe... some day... (sigh)

gameplayercharacter.pas(269,45) Error: Internal error 2010122901
My FOSS games in FreePascal&CastleGameEngine: https://decoherence.itch.io/ (Sources: https://gitlab.com/EugeneLoza)

cpicanco

  • Hero Member
  • *****
  • Posts: 664
  • Behavioral Scientist and Programmer
    • Portfolio
Re: Post your internal error here (You've Got a Friend in Me)
« Reply #5 on: February 01, 2024, 09:58:17 pm »
Yeah, gotta crop 40k lines of code to minimal reproduction ... maybe... some day... (sigh)

gameplayercharacter.pas(269,45) Error: Internal error 2010122901

 :D

He is a true friend. If you also have a true friend like him, fell free post it here

I rarely have long term friends like that, I make new friends all the time. Most don't stay for long. (I just know how to debug.... / though my friends aren't usually parts of the compiler)
;) ;) ;)

You are awesome Martin_fr, I am deeply greatful for all your work! (Even when I don't known how to debug and make decent contributions for the community.)
Be mindful and excellent with each other.
https://github.com/cpicanco/

Eugene Loza

  • Hero Member
  • *****
  • Posts: 729
    • My games in Pascal
Re: Post your internal error here (You've Got a Friend in Me)
« Reply #6 on: February 04, 2024, 11:12:07 pm »
There we go again, my old 200611011 friend :)

This one however is already reported with a minimal reproduction https://gitlab.com/freepascal.org/fpc/source/-/issues/40601
My FOSS games in FreePascal&CastleGameEngine: https://decoherence.itch.io/ (Sources: https://gitlab.com/EugeneLoza)

Eugene Loza

  • Hero Member
  • *****
  • Posts: 729
    • My games in Pascal
Re: Post your internal error here (You've Got a Friend in Me)
« Reply #7 on: February 05, 2024, 09:03:22 am »
I didn't ask for more friends...  :-\

gameparticle.pas(59,21) Error: Internal error 200204175

My FOSS games in FreePascal&CastleGameEngine: https://decoherence.itch.io/ (Sources: https://gitlab.com/EugeneLoza)

cpicanco

  • Hero Member
  • *****
  • Posts: 664
  • Behavioral Scientist and Programmer
    • Portfolio
Re: Post your internal error here (You've Got a Friend in Me)
« Reply #8 on: February 08, 2024, 05:11:49 pm »
I didn't ask for more friends...  :-\

gameparticle.pas(59,21) Error: Internal error 200204175



Is this map a global variable/singleton?

I have a singleton called "Pool" that have many friends. Could it possibly be some kind of pattern?

Be mindful and excellent with each other.
https://github.com/cpicanco/

Eugene Loza

  • Hero Member
  • *****
  • Posts: 729
    • My games in Pascal
Re: Post your internal error here (You've Got a Friend in Me)
« Reply #9 on: February 08, 2024, 05:46:56 pm »
Indeed, Map is a global variable, singleton.

It also goes in pair with "Error: Illegal qualifier" (pointing to a different line, but same error number in minimal reproduction at https://gitlab.com/freepascal.org/fpc/source/-/issues/40601)
« Last Edit: February 08, 2024, 05:48:32 pm by Eugene Loza »
My FOSS games in FreePascal&CastleGameEngine: https://decoherence.itch.io/ (Sources: https://gitlab.com/EugeneLoza)

cpicanco

  • Hero Member
  • *****
  • Posts: 664
  • Behavioral Scientist and Programmer
    • Portfolio
Re: Post your internal error here (You've Got a Friend in Me)
« Reply #10 on: February 08, 2024, 06:20:21 pm »
Here it is. For this one you got it, Eugene Loza!
Be mindful and excellent with each other.
https://github.com/cpicanco/

Thaddy

  • Hero Member
  • *****
  • Posts: 17206
  • Ceterum censeo Trump esse delendam
Re: Post your internal error here (You've Got a Friend in Me)
« Reply #11 on: February 08, 2024, 06:22:59 pm »
That looks like programmer error or an external library issue...
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

Eugene Loza

  • Hero Member
  • *****
  • Posts: 729
    • My games in Pascal
Re: Post your internal error here (You've Got a Friend in Me)
« Reply #12 on: February 08, 2024, 06:32:14 pm »
Here it is. For this one you got it, Eugene Loza!
Hmmmm... Interesting, my Lazarus doesn't show the stacktrace :) The one that I didn't crop down to minimal reproduction yet - just shows addresses without lines reference (code compiled with Debug mode, so line info should be available), and the ones from the ticket - just shows exception/internal error and that's all.
While was typing understood: Aaaaaah, I guess I need to rebuild Lazarus/FPC itself in debug mode. Unfortunately I'm not that experienced user :D
My FOSS games in FreePascal&CastleGameEngine: https://decoherence.itch.io/ (Sources: https://gitlab.com/EugeneLoza)

cpicanco

  • Hero Member
  • *****
  • Posts: 664
  • Behavioral Scientist and Programmer
    • Portfolio
Re: Post your internal error here (You've Got a Friend in Me)
« Reply #13 on: February 08, 2024, 06:38:39 pm »
That looks like programmer error or an external library issue...

What do you mean?
Be mindful and excellent with each other.
https://github.com/cpicanco/

cpicanco

  • Hero Member
  • *****
  • Posts: 664
  • Behavioral Scientist and Programmer
    • Portfolio
Re: Post your internal error here (You've Got a Friend in Me)
« Reply #14 on: February 08, 2024, 06:42:49 pm »
Here it is. For this one you got it, Eugene Loza!
Hmmmm... Interesting, my Lazarus doesn't show the stacktrace :) The one that I didn't crop down to minimal reproduction yet - just shows addresses without lines reference (code compiled with Debug mode, so line info should be available), and the ones from the ticket - just shows exception/internal error and that's all.
While was typing understood: Aaaaaah, I guess I need to rebuild Lazarus/FPC itself in debug mode. Unfortunately I'm not that experienced user :D

I got +1 in Wisdow from Olly here https://gitlab.com/freepascal.org/fpc/source/-/issues/40487#note_1624422425.

Do you use fpcupdeluxe Eugene?
Be mindful and excellent with each other.
https://github.com/cpicanco/

 

TinyPortal © 2005-2018