View Issue Details

IDProjectCategoryView StatusLast Update
0031971FPCCompilerpublic2020-10-10 23:31
Reportersimone Assigned To 
Status newResolutionopen 
Summary0031971: Internal error 2011031501
DescriptionIn a large project (10KLoc + third party components) I get "Internal error 2011031501" in compiling, when I modify data structure in type sections of units. If I delete lib directory and then I compile again, I have no errors.

I have reduced my program to reproduce errors in a smaller source code. In the attached archive there is also a third party library TEvsSimpleGraph ( that I used with some little modifications in my original project.

Steps To Reproduce- Lazarus Version:
    . Version #:1.6.4
    . Date 2017-02-27
    . FPC Version: 3.0.2
    . SVN Revision: 54278
    . i386-win-win32/64

- Open MyGraphEditor.lpi and compile with F9.
- In MainGUI.pas, remove comment at line 24
- Compile again with F9.
->USimpleGraphHelpers.pas(20,4) Error: Internal error 2011031501
- Delete lib directory
- In MainGUI.pas, reintroduce comment at line 24
- Compile again with F9.
- In Layer.pas, remove comment at line 20
->USimpleGraphHelpers.pas(20,4) Error: Internal error 2011031501
- Delete lib directory
- In Layer.pas, reintroduce comment at line 20
- Compile again with F9.
- In UndoRedoClasses.pas, remove comment at line 25
- Compile again with F9.
->USimpleGraphHelpers.pas(20,4) Error: Internal error 2011031501
TagsNo tags attached.
Fixed in Revision
Attached Files



2017-06-06 13:01


Maxim Ganetsky

2017-06-06 14:29

reporter   ~0100908

This bug belongs to FPC project. Moving.

Benito van der Zander

2020-10-10 23:31

reporter   ~0126228

I just got that as well:

> xquery.internals.protectionbreakers.pas(158,5) Fatal: Internal error 2011031501

I had not made a change in that file. I was changing types in other files though, interface and implementation only types.

r47006, amd64 linux

Issue History

Date Modified Username Field Change
2017-06-06 13:01 simone New Issue
2017-06-06 13:01 simone File Added: internal error 2011031501.rar
2017-06-06 14:29 Maxim Ganetsky Note Added: 0100908
2017-06-06 14:29 Maxim Ganetsky Project Lazarus => FPC
2020-10-10 23:31 Benito van der Zander Note Added: 0126228