Recent

Author Topic: Internal error 200611031  (Read 17046 times)

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Internal error 200611031
« on: January 02, 2018, 01:57:18 pm »
I recently got an internal error 200611031 in a certain unit.
But it is always at line 87 no matter what code there is standing.

Does anyone know how to solve this?
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

Thaddy

  • Hero Member
  • *****
  • Posts: 14201
  • Probably until I exterminate Putin.
Re: Internal error 200611031
« Reply #1 on: January 02, 2018, 02:11:05 pm »
You probably have a f*cked up install but if you are interested it is easy to find in the compiler sources.
See in symsym.pas:
Specialize a type, not a var.

Eugene Loza

  • Hero Member
  • *****
  • Posts: 663
    • My games in Pascal
Re: Internal error 200611031
« Reply #2 on: January 02, 2018, 02:15:29 pm »
Try "Clean up and build"
Alternatively you may try installing a newer FPC version (3.1.1+)
My FOSS games in FreePascal&CastleGameEngine: https://decoherence.itch.io/ (Sources: https://gitlab.com/EugeneLoza)

Thaddy

  • Hero Member
  • *****
  • Posts: 14201
  • Probably until I exterminate Putin.
Re: Internal error 200611031
« Reply #3 on: January 02, 2018, 02:16:45 pm »
You are not using a fork like CodeTyphon or Newpascal? are you?
If not add example to reproduce...
Specialize a type, not a var.

Thaddy

  • Hero Member
  • *****
  • Posts: 14201
  • Probably until I exterminate Putin.
Re: Internal error 200611031
« Reply #4 on: January 02, 2018, 02:22:36 pm »
Try "Clean up and build"
Alternatively you may try installing a newer FPC version (3.1.1+)
Not necessary. Always advise latest release. You may also want to know about internal error coding: afaik it's a date + info,
« Last Edit: January 02, 2018, 02:26:41 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 #5 on: January 02, 2018, 02:36:48 pm »
You are not using a fork like CodeTyphon or Newpascal? are you?
If not add example to reproduce...
Both are a no


i am using extra: powerpdf 0.9.15, EC_Controls and dcpcrypt 2.0.4.1


But i am already using Lazarus 1.8.0 / FPC 3.0.4 on Mac OS X El Capitan

I had this once before, but then i was doing this
Code: Pascal  [Select][+][-]
  1. function SingleQuotedStr (St: String) : String;
  2. begin
  3.   SingleQuotedStr := Chr(39)+ St + Chr(39);
  4. end;    // SingleQuotedStr    
Instead of this

Code: Pascal  [Select][+][-]
  1. function SingleQuotedStr (St: String) : String;
  2. begin
  3.   Result := Chr(39)+ St + Chr(39);
  4. end;    // SingleQuotedStr    
« Last Edit: January 02, 2018, 02:42:29 pm by madref »
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

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: Internal error 200611031
« Reply #6 on: January 02, 2018, 02:38:04 pm »
You probably have a f*cked up install but if you are interested it is easy to find in the compiler sources.
See in symsym.pas:


How to UN-f*ck it?
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

Thaddy

  • Hero Member
  • *****
  • Posts: 14201
  • Probably until I exterminate Putin.
Re: Internal error 200611031
« Reply #7 on: January 02, 2018, 03:53:37 pm »
clean up and re-install? but this code may save you and is standard:
Code: Pascal  [Select][+][-]
  1. {$ifdef fpc}{$mode delphi}{$H+}{$I-}{$endif}
  2. uses sysutils;
  3. var s:string = 'blaat';
  4. begin
  5.   writeln(QuotedStr(s));
  6. end.

Note: it is a bad installation because it is not reproducible here... Not with your code, not with my code, not since 2006,  and there is a standard function for it.
« Last Edit: January 02, 2018, 03:59:07 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 #8 on: January 02, 2018, 03:59:40 pm »
It doesn't matter what is standing at line 87.


Now it stops at
Code: [Select]
    // Maak een multipart deel aan.Because this is now line 87

And that is a commented line
« Last Edit: January 02, 2018, 04:01:44 pm by madref »
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

Thaddy

  • Hero Member
  • *****
  • Posts: 14201
  • Probably until I exterminate Putin.
Re: Internal error 200611031
« Reply #9 on: January 02, 2018, 06:34:01 pm »
It doesn't matter what is standing at line 87.


Now it stops at
Code: [Select]
    // Maak een multipart deel aan.Because this is now line 87

And that is a commented line
That's why you have a F....s install in the first place.
All my platforms pass the tests, both stable 3.0.4 and version 3.1.1-r37880: Your compiler is screwed.
Specialize a type, not a var.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: Internal error 200611031
« Reply #10 on: January 02, 2018, 06:40:55 pm »
These things can happen. FPC is not error free, and sometimes internal errors occur. An internal error in a release version is always report worthy, unless already reported. (and even then it might we worthwhile to check if there already is a reproducable case)

In this case, if Thaddy had bothered to check mantis instead of a knee-jerk reaction, he would have found https://bugs.freepascal.org/view.php?id=32352 right on the first page with errors.

The trick then is to minimalize it to a fairly small source (e.g. a .dpr and one or two units max) without lazarus. Typically you start to cut source code and used units till the error doesn't occur anymore. If that happens, restore the last change, and cut something else etc.

No reproduction yet. Even a small lazarus project without much dependencies will be accepted, and I will try to reproduce it myself.

Thaddy

  • Hero Member
  • *****
  • Posts: 14201
  • Probably until I exterminate Putin.
Re: Internal error 200611031
« Reply #11 on: January 02, 2018, 07:23:15 pm »
In this case, if Thaddy had bothered to check mantis instead of a knee-jerk reaction, he would have found https://bugs.freepascal.org/view.php?id=32352 right on the first page with errors.
@Marco
I am fully aware of that report. Same thing: It is not reproducible and I test on many platforms both trunk and stable. It is not even intermittently reproducible for me.
Code to reproduce it, with platform, bitness, widgetset, FPC version and Laz version would be appreciated.

I happen to check these things, because I have little else to do because of my current health..You know that. (I 'll still be 100+ but..)
« Last Edit: January 02, 2018, 07:29:38 pm by Thaddy »
Specialize a type, not a var.

jamie

  • Hero Member
  • *****
  • Posts: 6090
Re: Internal error 200611031
« Reply #12 on: January 02, 2018, 11:39:50 pm »
Ok, I have to ask, what is on line 86 ?
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 #13 on: January 02, 2018, 11:42:31 pm »

Line 86:
Code: Pascal  [Select][+][-]
  1.     Mime.Header.From := SenderName + '<' + SenderEMail + '>';
That's why you have a F....s install in the first place.



But the question remain?
How to un-f*ck it?
« Last Edit: January 02, 2018, 11:45:58 pm by madref »
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 #14 on: January 02, 2018, 11:47:08 pm »
Comment that line and see if it compiles after that?
The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018