Recent

Author Topic: Lazarus Stays unresponsive on startup  (Read 1534 times)

delphin

  • New Member
  • *
  • Posts: 21
Lazarus Stays unresponsive on startup
« on: April 16, 2022, 10:08:50 pm »
Someone else has observed that the latest version of lazarus loads much slower and also hangs for about 5 seconds at startup (does not respond), then recovers.

Thanks in avance

Jose

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9855
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Stays unresponsive on startup
« Reply #1 on: April 17, 2022, 01:12:52 am »
What OS ?
What packages installed?

One possibility, that I had recently: FPPKG => maybe if its config points to an old on longer existing url. Backup/Delete it's config, then recreate it when Lazarus prompts.

Under Win: C:\Users\_USERNAME_\AppData\Local\FreePascal\fppkg\

delphin

  • New Member
  • *
  • Posts: 21
Re: Lazarus Stays unresponsive on startup
« Reply #2 on: April 18, 2022, 10:31:33 am »
Hi friend.

Thanks for your help.

SO Windows 10 Prof.

packages installed

With online package Manager

DCPCrypt (Parcially I think is dependency of FPSpreedSheet, if i try install completly show warning "packages are not tested" )
FPSpreedSheet  (I not install this, is dependency , lazreport ?? )
JujiboUtils
Rx
ZeosDBO

And LazReport with Install/Unistall Packages menu Lazarus

Thanks in advance.

Jose.

delphin

  • New Member
  • *
  • Posts: 21
Re: Lazarus Stays unresponsive on startup(SOLVED)
« Reply #3 on: April 19, 2022, 04:20:13 pm »
Hi friends.

the problem was the microsoft antivirus that checks compressed .exe files  :o

Thanks.

Jose.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9855
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Stays unresponsive on startup
« Reply #4 on: April 19, 2022, 05:08:30 pm »
the problem was the microsoft antivirus that checks compressed .exe files  :o

Compressed? Why? How? Upx?

There is no point to compress the lazarus.exe. Really not... Even Memory sticks are not that small.
Also the rest of the installation, takes far more space than the exe.

You can (after a rebuild) do:
Code: Text  [Select][+][-]
  1. C:\lazarus\fpc\3.2.2\bin\x86_64-win64\strip.exe  lazarus.exe

And if, you somehow really need to look at each KB, then enable Windows build in compression in the (advanced) properties of the containing folder/drive. (Assuming it is supported by the filesystem with which you formatted the drive)

Or do you mean to say the AV uses more time, if the file is in a folder with compression enabled? If that is the case, then any other access to files in the folder is likely equally affected....

 

TinyPortal © 2005-2018