* * *

Author Topic: Internal error 200611031  (Read 6412 times)

madref

  • Sr. Member
  • ****
  • Posts: 481
  • ..... A day not Laughed is a day not Lived !!
    • 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 win, no matter the outcome.

Lazarus 1.8.4 / FPC 3.0.4
Lazarus Trunk / FPC Trunk
Mac OS X High Sierra

jamie

  • Hero Member
  • *****
  • Posts: 917
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.

madref

  • Sr. Member
  • ****
  • Posts: 481
  • ..... A day not Laughed is a day not Lived !!
    • 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 win, no matter the outcome.

Lazarus 1.8.4 / FPC 3.0.4
Lazarus Trunk / FPC Trunk
Mac OS X High Sierra

jamie

  • Hero Member
  • *****
  • Posts: 917
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 »

soerensen3

  • Full Member
  • ***
  • Posts: 156
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

  • Sr. Member
  • ****
  • Posts: 481
  • ..... A day not Laughed is a day not Lived !!
    • 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 win, no matter the outcome.

Lazarus 1.8.4 / FPC 3.0.4
Lazarus Trunk / FPC Trunk
Mac OS X High Sierra

fjabouley

  • New member
  • *
  • Posts: 31
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

  • Sr. Member
  • ****
  • Posts: 481
  • ..... A day not Laughed is a day not Lived !!
    • 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 win, no matter the outcome.

Lazarus 1.8.4 / FPC 3.0.4
Lazarus Trunk / FPC Trunk
Mac OS X High Sierra

BrunoK

  • Jr. Member
  • **
  • Posts: 72
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.
Lazarus trunk 2018.10.01 (+/- patches regarding enabled). FPC 3.0.4 32 bits. Windows 10 Pro x64 (v. 1803)

Thaddy

  • Hero Member
  • *****
  • Posts: 7136
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 »
inline variables like in D10.3 are a bit like Brexit: if you are given the wrong information it sounds like a good idea. Every kid loves candy, but it makes you fat and your teeth will disappear.

madref

  • Sr. Member
  • ****
  • Posts: 481
  • ..... A day not Laughed is a day not Lived !!
    • 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 win, no matter the outcome.

Lazarus 1.8.4 / FPC 3.0.4
Lazarus Trunk / FPC Trunk
Mac OS X High Sierra

Nitorami

  • Sr. Member
  • ****
  • Posts: 344
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: 7136
Re: Internal error 200611031
« Reply #27 on: July 10, 2018, 10:36:04 pm »
@Nitorami
Internal errors should always be reported. Period!.
inline variables like in D10.3 are a bit like Brexit: if you are given the wrong information it sounds like a good idea. Every kid loves candy, but it makes you fat and your teeth will disappear.

BrunoK

  • Jr. Member
  • **
  • Posts: 72
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 ?
Lazarus trunk 2018.10.01 (+/- patches regarding enabled). FPC 3.0.4 32 bits. Windows 10 Pro x64 (v. 1803)

fjabouley

  • New member
  • *
  • Posts: 31
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 »

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus