Application.ProcessMessages crashed with Access violation
При этом все повторяется на Lazarus 3.4-0, 3.6-0 и 3.8-0, которые взял с SourceForge и собирал из исходников. Проблемы при использовании дефолтного gtk2 в Lazarus.
- Код: Выделить всё
xchgeaxeax@home-kde ~/.lazarus/Lazarus-3.8-0 $ uname -r
6.6.57-calculate
xchgeaxeax@home-kde ~/.lazarus/Lazarus-3.8-0 $ eix x11-libs/gtk+
[I] x11-libs/gtk+
Доступные версии:
(2) 2.24.33-r3^t
(3) 3.24.35^t 3.24.41^t 3.24.41-r1^t 3.24.42-r1^t ~3.24.48^t
{+X aqua broadway cloudproviders colord cups examples gtk-doc +introspection sysprof test vim-syntax wayland xinerama ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
Установленные версии: 2.24.33-r3(2)^t(00:59:05 14.05.2023)(cups introspection xinerama -aqua -examples -test -vim-syntax ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="32 64 -x32") 3.24.42-r1(3)^t(10:14:44 07.08.2024)(X cups introspection wayland xinerama -aqua -broadway -cloudproviders -colord -examples -gtk-doc -sysprof -test -vim-syntax ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="32 64 -x32")
Домашняя страница: https://www.gtk.org/
Описание: Gimp ToolKit +
xchgeaxeax@home-kde ~/.lazarus/Lazarus-3.8-0 $ gdb -v
GNU gdb (Gentoo 15.2 vanilla) 15.2
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
xchgeaxeax@home-kde ~/.lazarus/Lazarus-3.8-0 $ fpc -v
Free Pascal Compiler version 3.2.2 [2022/04/01] for x86_64
Copyright (c) 1993-2021 by Florian Klaempfl and others
Fatal: No source file name in command line
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode
xchgeaxeax@home-kde ~/.lazarus/Lazarus-3.8-0 $ ./startlazarus
Gtk-Message: 11:50:06.240: Failed to load module "appmenu-gtk-module"
Info: (startlazarus) [TLazarusManager.Run] starting /home/xchgeaxeax/.lazarus/Lazarus-3.8-0/lazarus ...
Info: (startlazarus) [TLazarusManager.Run] exe=/home/xchgeaxeax/.lazarus/Lazarus-3.8-0/lazarus Params=[--started-by-startlazarus
--no-splash-screen
--force-new-instance
]
Gtk-Message: 11:50:06.469: Failed to load module "appmenu-gtk-module"
Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] PrimaryConfigPath="/home/xchgeaxeax/.lazarus"
Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] SecondaryConfigPath="/etc/lazarus"
Hint: (lazarus) [TMainIDE.DoOpenProjectFile] "/home/xchgeaxeax/PRJ/lazarus/problem/project1.lpi"
Hint: (lazarus) [TBuildManager.SetBuildTarget] Old=x86_64-linux-gtk2 New=x86_64-linux-gtk2 Changed: OS/CPU=True LCL=False
LoadLFM Creating designer for hidden component of /home/xchgeaxeax/PRJ/lazarus/problem/unit1.pas
InitOpenedProjectFile select form in designer: Form1:TForm1 TDesigner
Hint: (lazarus) [TMainIDE.DoRunProjectWithDebug] INIT
Note: (lazarus) [TMainIDE.DoBuildProject] MainBuildBoss.DoCheckIfProjectNeedsCompilation nothing to be done
Hint: (lazarus) [TMainIDE.DoRunProjectWithDebug] Debugger=TFpDebugDebugger
Hint: (lazarus) [TMainIDE.DoRunProjectWithDebug] END
----------------
Application.ProcessMessages crashed with Access violation