[Lazarus] Mysterious crash with Lazarus on RPi4B running PiOS bookworm 32 bit
Bo Berglund
bo.berglund at gmail.com
Thu Dec 7 21:58:28 CET 2023
On Thu, 07 Dec 2023 18:34:57 +0100, Bo Berglund via lazarus
<lazarus at lists.lazarus-ide.org> wrote:
>I will make a new attempt by starting over from scratch on a new system disk and
>just install fpc/lazarus and of course xrdp so I can use the desktop on the
>headless system. But it will take some time to reach the same point...
>3rd or 4th time I do this...
>
OK so now I am done with the latest attempt...
I scrapped the SD-card for the last attempt and started over fresh.
The only things I did before the fpc/lazarus test was the following:
- Configured the new SDcard using Pi-Imager for bookworm 32 bit.
- Started the system anew and connected by SSH
- sudo apt update && sudo apt full-upgrade
- Used apt to install the following standard packages:
sudo apt install xrdp screen shellcheck openvpn fonts-hack-ttf subversion
- Then:
sudo apt install fpc lazarus
Now I could connect to the GUI screen using the RDP client on Windows10.
And I could start Lazarus from the main menu/Programming and it started up as I
am used to.
Then I went straight to Tools/Options/Environment/Editor/Display/Colors
On that dialog I clicked the "Comment" line in the list of items to set the
color for.
And instantly the remote desktop session disappeared!
So no matter if one uses VNC or RDP to get a GUI remote screen the exact same
action kills the user session instantly without leaving any trace in the logs
that I have been able to find.
And this time I have installed Fpc/Lazarus using apt so an error in my own
handling of source installs is not in play here.
It must be something Lazarus does that is forbidden on 32 bit Pi-OS Bookworm...
But what is it?
Doing the same on 64 bit Pi-OS Bookworm works exactly as expected, i.e. no
surprises...
Colors can be set and all is fine and dandy.
--
Bo Berglund
Developer in Sweden
More information about the lazarus
mailing list