[Lazarus] Lazarus totally destroyed... :(

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Nov 20 15:26:16 CET 2020


On Fri, 20 Nov 2020 13:09:18 +0100 (CET)
Michael Van Canneyt <michael at freepascal.org> wrote:

>[...]
> home:~/lazarus>  svn status -q
> home:~/lazarus> delp -r .  
> DelPascal Version 1.3
> Copyright (c) 1999-2012 by the Free Pascal Development Team
> 
>   - Removed 67 *.compiled (32.215 Bytes)
>   - Removed  2 *.o (20.664 Bytes)
>   - Removed  2 *.ppu (5.374 Bytes)
>   - Total 58.253 Bytes Freed
> home:~/lazarus> make ide PP=ppcx64-3.2.0  
> make -C ide ide
>[...]
> svn2revisioninc.pas(62,3) Fatal: Can't find unit FileUtil used by
> Svn2RevisionInc

Normal after cleaning ppu files.

Note that "make help" does not mention "make ide", because it is merely
a part.

A "make all" does
make lazbuild lcl basecomponents ide starter

Does that compile?

>[...]
> If I then start the new binary and ask to build from inside the IDE,
> the error with LazControlDsgn again pops up. After I fix that, it
> compiles.
> 
> However, when restarting, I get attached layout. Not really nice.

Where is the attachment?

 
> If I remove the config dir ~/.lazarus (I know of no other way to fix
> the layout thing), again: crash:
> 
> home:~/lazarus> ./lazarus  
> 
> (lazarus:12619): Gtk-WARNING **: 13:08:24.335: Unable to locate theme
> engine in module_path: "adwaita", Hint: (lazarus)
> [TMainIDE.ParseCmdLineOptions]
> PrimaryConfigPath="/home/michael/.lazarus" Hint: (lazarus)
> [TMainIDE.ParseCmdLineOptions]
> SecondaryConfigPath="/etc/lazarus" [TIDEProtocol.Load]  error reading
> "/home/michael/.lazarus/protocol.xml": Access violation

Can you create a stacktrace?


>[...] [TEnvironmentOptions.Load]  error reading
> "/home/michael/.lazarus/environmentoptions.xml": Access violation
> Hint: (lazarus) [TMainIDE.Destroy] B  -> inherited Destroy...
> TMainIDE Hint: (lazarus) [TMainIDE.Destroy] END [FORMS.PP]
> ExceptionOccurred Sender=EAccessViolation Exception=Access violation
> Stack trace: $00000000004408D0  SYSGETMEM_FIXED,  line 963
> of ../inc/heap.inc $0000000000440C25  SYSGETMEM,  line 1082
> of ../inc/heap.inc $00000000004414F7  SYSREALLOCMEM,  line 1478
> of ../inc/heap.inc $000000000043F732  REALLOCMEM,  line 350
> of ../inc/heap.inc $0000000000C46607  ADD,  line 548 of

That's probably a follow up of the above AV.

> idetranslations.pas $0000000000C44D04  COLLECTTRANSLATIONS,  line 189
> of idetranslations.pas $0000000000C4626B  TRANSLATERESOURCESTRINGS,
> line 504 of idetranslations.pas $00000000004B77CE
> LOADGLOBALOPTIONS,  line 1251 of main.pp $00000000004B9112  CREATE,
> line 1528 of main.pp $00000000004208D6  main,  line 141 of lazarus.pp
> $000000000044C910  SYSENTRY,  line 141 of system.pp
> TApplication.HandleException: EAccessViolation
> 
> 
> 
> So, seems to me there is a combination of things happening:
> 
> - Some old config files in my lazarus tree prevent compiling - fixed
> by doing a new checkout.
> - Clearly not everything is cleaned regarding compile files:
>    see LazControlDsgn issue (this is in the new checkout).

Do you know what the "2 *.ppu" files are?

 
> - When upgrading an 'old' lazarus config, some things seem to go awry
> when restoring window positions.

Can you send me the old layout?
 
> - The IDE does not handle missing ~/.lazarus any more.

Seems to work here.


> I tried using startlazarus, but this gives the same issue.

Works here too.
I wonder what is different on your system.

Mattias



More information about the lazarus mailing list