rodg@rodg-HP-EliteDesk-705-G4-SFF:~$ cd /usr/share/lazarus/4.2.0/
rodg@rodg-HP-EliteDesk-705-G4-SFF:/usr/share/lazarus/4.2.0$ gdb lazarus
GNU gdb (Ubuntu 15.0.50.20240403-0ubuntu1) 15.0.50.20240403-git
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.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from lazarus...
(gdb) r
Starting program: /usr/share/lazarus/4.2.0/lazarus
This GDB supports auto-downloading debuginfo from the following URLs:
<https://debuginfod.ubuntu.com>
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
Downloading separate debug info for system-supplied DSO at 0x7ffff7fc3000
Downloading separate debug info for /lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0
warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libgobject-2.0.so.0
warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libgobject-2.0.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libgobject-2.0.so.0
warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libglib-2.0.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libglib-2.0.so.0
warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libgthread-2.0.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libgthread-2.0.so.0
warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libgmodule-2.0.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libgmodule-2.0.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libpango-1.0.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libcairo.so.2
Downloading separate debug info for /lib/x86_64-linux-gnu/libatk-1.0.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libpangocairo-1.0.so.0
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libgio-2.0.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libgio-2.0.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libXi.so.6
Downloading separate debug info for /lib/x86_64-linux-gnu/libXrandr.so.2
Downloading separate debug info for /lib/x86_64-linux-gnu/libXcursor.so.1
Downloading separate debug info for /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libxcb.so.1
Downloading separate debug info for /lib/x86_64-linux-gnu/libpng16.so.16
Downloading separate debug info for /lib/x86_64-linux-gnu/libpcre2-8.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libfribidi.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libharfbuzz.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libfreetype.so.6
Downloading separate debug info for /lib/x86_64-linux-gnu/libxcb-render.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libxcb-shm.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libmount.so.1
Downloading separate debug info for /lib/x86_64-linux-gnu/libselinux.so.1
Downloading separate debug info for /lib/x86_64-linux-gnu/libexpat.so.1
Downloading separate debug info for /lib/x86_64-linux-gnu/libgraphite2.so.3
Downloading separate debug info for /lib/x86_64-linux-gnu/libblkid.so.1
Downloading separate debug info for /lib/x86_64-linux-gnu/libbsd.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libmd.so.0
Downloading separate debug info for /usr/lib/x86_64-linux-gnu/gtk-2.0/modules/libatk-bridge.so
Downloading separate debug info for /lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libatspi.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libsystemd.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libcap.so.2
warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libcap.so.2
Downloading separate debug info for /lib/x86_64-linux-gnu/libcap.so.2
Downloading separate debug info for /lib/x86_64-linux-gnu/libgcrypt.so.20
Downloading separate debug info for /lib/x86_64-linux-gnu/liblzma.so.5
Downloading separate debug info for /lib/x86_64-linux-gnu/libgpg-error.so.0
Gtk-Message: 10:02:22.430: Failed to load module "canberra-gtk-module"
[New Thread 0x7ffff5ece6c0 (LWP 17226)]
Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] PrimaryConfigPath="/home/rodg/.lazarus"
Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] SecondaryConfigPath="/etc/lazarus"
Downloading separate debug info for /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so
Downloading separate debug info for /lib/x86_64-linux-gnu/libibus-1.0.so.5
Downloading separate debug info for /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
warning: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
Downloading separate debug info for /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
Downloading separate debug info for /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so
warning: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so
Downloading separate debug info for /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so
[New Thread 0x7fffeffff6c0 (LWP 17244)]
[New Thread 0x7fffef7fe6c0 (LWP 17245)]
[New Thread 0x7fffeeffd6c0 (LWP 17246)]
[New Thread 0x7fffee7fc6c0 (LWP 17247)]
[New Thread 0x7fffedffb6c0 (LWP 17248)]
Looking for code tools config file: "/home/rodg/.lazarus/codetoolsoptions.xml"
NOTE: codetools config file not found - using defaults
NOTE: help options config file not found - using defaults
[Detaching after fork from child process 17249]
[Detaching after fork from child process 17251]
[Thread 0x7fffee7fc6c0 (LWP 17247) exited]
Hint: (lazarus) [TMainIDE.DoOpenProjectFile] "/home/rodg/Lazarus Projects/Test/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/rodg/Lazarus Projects/Test/unit1.pas
InitOpenedProjectFile select form in designer: Form1:TForm1 TDesigner
******** Highlighter.NeedScan ************
Hint: (lazarus) [TMainIDE.DoRunProjectWithDebug] INIT
Hint: (lazarus) Project needs building: Compile was incomplete for Project
[Detaching after fork from child process 17280]
[New Thread 0x7fffee7fc6c0 (LWP 17281)]
Info: (lazarus) Execute Title="Compile Project, Target: /home/rodg/Lazarus Projects/Test/project1"
Info: (lazarus) Working Directory="/home/rodg/Lazarus Projects/Test/"
Info: (lazarus) Executable="/usr/bin/fpc"
Info: (lazarus) Param[0]="-MObjFPC"
Info: (lazarus) Param[1]="-Scghi"
Info: (lazarus) Param[2]="-Cg"
Info: (lazarus) Param[3]="-O1"
Info: (lazarus) Param[4]="-gw3"
Info: (lazarus) Param[5]="-gl"
Info: (lazarus) Param[6]="-l"
Info: (lazarus) Param[7]="-vewnhibq"
Info: (lazarus) Param[8]="-Fi/home/rodg/Lazarus Projects/Test/lib/x86_64-linux"
Info: (lazarus) Param[9]="-Fu/home/rodg/Lazarus Projects/Test/"
Info: (lazarus) Param[10]="-Fu/usr/share/lazarus/4.2.0/lcl/units/x86_64-linux/gtk2"
Info: (lazarus) Param[11]="-Fu/usr/share/lazarus/4.2.0/lcl/units/x86_64-linux"
Info: (lazarus) Param[12]="-Fu/usr/share/lazarus/4.2.0/components/freetype/lib/x86_64-linux"
Info: (lazarus) Param[13]="-Fu/usr/share/lazarus/4.2.0/components/lazutils/lib/x86_64-linux"
Info: (lazarus) Param[14]="-Fu/usr/share/lazarus/4.2.0/packager/units/x86_64-linux"
Info: (lazarus) Param[15]="-FU/home/rodg/Lazarus Projects/Test/lib/x86_64-linux/"
Info: (lazarus) Param[16]="-FE/home/rodg/Lazarus Projects/Test/"
Info: (lazarus) Param[17]="-o/home/rodg/Lazarus Projects/Test/project1"
Info: (lazarus) Param[18]="-dLCL"
Info: (lazarus) Param[19]="-dLCLgtk2"
Info: (lazarus) Param[20]="project1.lpr"
[Detaching after fork from child process 17282]
lazarus: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
[Thread 0x7fffee7fc6c0 (LWP 17281) exited]
[Thread 0x7fffeeffd6c0 (LWP 17246) exited]
[Thread 0x7fffef7fe6c0 (LWP 17245) exited]
[Thread 0x7fffeffff6c0 (LWP 17244) exited]
[Thread 0x7ffff5ece6c0 (LWP 17226) exited]
[Thread 0x7ffff69c6980 (LWP 17163) exited]
[Thread 0x7fffedffb6c0 (LWP 17248) exited]
[New process 17163]
[Inferior 1 (process 17163) exited with code 01]
(gdb) bt
No stack.
(gdb)