Recent

Author Topic: Internal error 200611031  (Read 17049 times)

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: Internal error 200611031
« Reply #15 on: January 02, 2018, 11:55:14 pm »
It doesn't matter what stands at that line.
When it stops, it always stops a line 87.
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

jamie

  • Hero Member
  • *****
  • Posts: 6090
Re: Internal error 200611031
« Reply #16 on: January 03, 2018, 12:31:56 am »
do a full folder clean out and re-install the files.

 I think it's a possibility you could of corrupted a file by accident.
The only true wisdom is knowing you know nothing

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: Internal error 200611031
« Reply #17 on: January 03, 2018, 12:43:48 am »
which folder...?
and how do you do a full folder clean out?
what does it even mean?
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

jamie

  • Hero Member
  • *****
  • Posts: 6090
Re: Internal error 200611031
« Reply #18 on: January 03, 2018, 01:10:51 am »
It means make sure you start with a completely empty folder.
and install the product again.

 even deleting the folder would be a good start then install it..
« Last Edit: January 03, 2018, 01:14:17 am by jamie »
The only true wisdom is knowing you know nothing

soerensen3

  • Full Member
  • ***
  • Posts: 213
Re: Internal error 200611031
« Reply #19 on: January 03, 2018, 01:32:36 am »
Have you tried a recompile clean/cleanup and build on your packages/your project. I sometimes had to do this for some reason.
Lazarus 1.9 with FPC 3.0.4
Target: Manjaro Linux 64 Bit (4.9.68-1-MANJARO)

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: Internal error 200611031
« Reply #20 on: January 03, 2018, 09:44:48 am »
It means make sure you start with a completely empty folder.
and install the product again.

 even deleting the folder would be a good start then install it..
So delete lazarus, fpc, fpc-scr and all its associated files
then re-install all?


or do you mean delete all my app-source files and copy them to a new folder?
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

fjabouley

  • Full Member
  • ***
  • Posts: 128
Re: Internal error 200611031
« Reply #21 on: March 07, 2018, 09:54:11 am »
Hello all,
I got the same issue for a while now (but with 3 lines).
It does not want to compile showing that error.
The workaround is to add and then delete a line for example (anywhere in the code and because 3 lines show the error, I have to do this 3 times), then it compiles correctly...
Very weird bug.
Cleaning all and installing again lazarus makes it work for some time, then it starts again to show that error...
« Last Edit: March 07, 2018, 10:00:33 am by fjabouley »

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: Internal error 200611031
« Reply #22 on: March 07, 2018, 04:11:00 pm »
i still don't know why it did that.
But after a complete delete of all the lazarus files and programs, a complete new install and a delete of my app's LIB-directory it didn't return.


So i really think it was a bad install or something like that.
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

BrunoK

  • Sr. Member
  • ****
  • Posts: 452
  • Retired programmer
Re: Internal error
« Reply #23 on: July 10, 2018, 05:06:28 pm »
I have had the problem just now.

It seems to be caused by the fact that *.o and *.ppu can be found in different directories, maybe with different compile options, in my case my development directory and my trunk directory where I modified sources.

Backups are always useful before massive deletes ...

Working solution this time :
1° with the file exlorer select *.ppu files in all the concerned directories, that is yours and lazarus's and delete them.
2° same with *.o  files in all the concerned directories, BE CAREFUL to delete only files with .o and .or extensions because with f*** W10  it also selects .odt.

Recompile.

That got rid of the 200611031 this time.

Thaddy

  • Hero Member
  • *****
  • Posts: 14204
  • Probably until I exterminate Putin.
Re: Internal error 200611031
« Reply #24 on: July 10, 2018, 05:34:18 pm »
Internal errors should always be reported.
On mantis under "compiler". With version of FPC, Laz, and if you are using trunk with revsion number.
Lazarus has no internal errors. It relies on the compiler.
It would be very helpful and respected to report internal errors.
« Last Edit: July 10, 2018, 06:28:31 pm by Thaddy »
Specialize a type, not a var.

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: Internal error 200611031
« Reply #25 on: July 10, 2018, 07:10:45 pm »
I noticed that when I get this error a had a fault in my source code.
My background in programming is Turbo Pascal 5, from way back....
In Pascal you assign the result of a function to the function name
Code: [Select]
function Test: Integer;
begin
  do a lot
  Test := Do a lot;
end;


In Lazarus it becomes
Code: [Select]
result := Do a lot;

And this creates this particular error
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

Nitorami

  • Sr. Member
  • ****
  • Posts: 481
Re: Internal error 200611031
« Reply #26 on: July 10, 2018, 08:13:37 pm »
You can still assign the function result to the function name, that works in all compiler modes, while "result" only works in objfpc and delphi mode. That has nothing to do with Lazarus, it's just the compiler.

Thaddy

  • Hero Member
  • *****
  • Posts: 14204
  • Probably until I exterminate Putin.
Re: Internal error 200611031
« Reply #27 on: July 10, 2018, 10:36:04 pm »
@Nitorami
Internal errors should always be reported. Period!.
Specialize a type, not a var.

BrunoK

  • Sr. Member
  • ****
  • Posts: 452
  • Retired programmer
Re: Internal error 200611031
« Reply #28 on: July 10, 2018, 11:36:03 pm »
At Daddy how is your article on the satanic use of FreeAndNil going ?

fjabouley

  • Full Member
  • ***
  • Posts: 128
Re: Internal error 200611031
« Reply #29 on: August 19, 2018, 11:00:35 am »
Same issue here, and for many weeks/months...
I got 2 compiler options (for 32 / 64 bits).
And the error pops up randomly while compiling.
The workaround is to delete and insert a line (it changes nothing but then it can compile).
Althought it takes few seconds everytime I compile, It's really annoying.
« Last Edit: August 19, 2018, 11:15:54 am by fjabouley »

 

TinyPortal © 2005-2018