Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2026-05

Bug Reporting in Lazarus on New Fedora 44 install.

7 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Danny Gowin

I need to report a bug in Lazarus running on Fedora. Work items · FPC Source · GitLab<https://gitlab.com/freepascal.org/fpc/source/-/work_items?sort=created_date&state=opened&first_page_size=20>

Fedora 44, Lazarus version 4.6, FPC Version 3.2.2, Project: Simple Program.

Program mytestprog01;
Uses crt;
Begin
    Writeln('Hello World');
    Readln;
end.

When Compile Run is initiated.

1.
Run With Debugger.

A terminal Window is NOT initiated.
The program can be Stopped. But the IDE returns no Error.

The compiled program executes correctly when run manually from a terminal.

Question: Lazarus on Fedora, is the IDE making a call to an obsolete terminal program like xterm?

This feature works correctly on the Windows 11, Lazarus version 4.6, FPC Version 3.2.2, Project: Simple Program.

Dan Gowin
Advanced Services Engineer
[cid:aa4ecb03-1062-438e-baa8-c7ba21f9fac5]
www.Trace3.com
(317) 439-7198 desk
(317) 439-7198 mobile

Tomas Hajny
to Danny Gowin

On 2026-05-06 16:24, Danny Gowin via fpc-pascal wrote:

Hello Dan,

Show quoted text 5 lines
I need to report a bug in Lazarus running on Fedora. Work items · FPC Source · GitLab Fedora 44, Lazarus version 4.6, FPC Version 3.2.2, Project: Simple Program.

.
.

Question: Lazarus on Fedora, is the IDE making a call to an obsolete terminal program like xterm?

.
.

I cannot answer your question, it might be better addressed to the Lazarus list rather than FPC list. Also, if you intend to report a bug, make sure to report it as a bug in Lazarus rather than in FPC - your link to Gitlab pointed to FPC repository and FPC bugs rather than Lazarus.

Tomas

Martin Frb
to Danny Gowin: I need to report a bug in Lazarus running on Fedora. Work items · FPC Source ·…
Danny Gowin wrote 35 lines
I need to report a bug in Lazarus running on Fedora. Work items · FPC Source · GitLab <https://gitlab.com/freepascal.org/fpc/source/-/work_items?sort=created_date&state=opened&first_page_size=20> Fedora 44, Lazarus version 4.6, FPC Version 3.2.2, Project: Simple Program. *Program mytestprog01;* * * *Uses crt;* * * *Begin* *    Writeln('Hello World');* *    Readln;* *end.* When Compile Run is initiated. 1. Run With Debugger. _A terminal Window is NOT initiated._ The program can be Stopped. But the IDE returns no Error. The compiled program executes correctly when run manually from a terminal. Question: Lazarus on Fedora, is the IDE making a call to an obsolete terminal program like xterm? This feature works correctly on the Windows 11, Lazarus version 4.6, FPC Version 3.2.2, Project: Simple Program.

Actually a Lazarus question, not an FPC question.

Currently on Linux, all terminal IO is redirected to Menu: view > debug windows > console

But, that is a very simple text console without terminal functionality. You will see text, and be able to enter text... nothing else.

On Windows the OS opens a new terminal window for the debugged app. On Linux the caller (here IDE) would need to start a terminal (xterm, gnome-term, ...) and run the app inside => that is not supported currently.

There are a few "workarounds"

1) Tools >Options > debugger backend : there is a setting about PTY If you have a terminal open, and know its pty, then you can enter this pty in the settings, and all in/output is redirected.

2) (not tested myself)
Run the app in gdbserver inside a terminal, and use the gdb server debugger to connect to it.

Danny Gowin
to Tomas Hajny: . . . . I cannot answer your question, it might be better addressed to the Lazarus list…

Thank you.

Work items · Lazarus · GitLab<https://gitlab.com/freepascal.org/lazarus/lazarus/-/work_items?sort=created_date&state=opened&first_page_size=20> Dan Gowin
Advanced Services Engineer
[cid:66f6b8d0-2d06-4124-85ab-6c9c6ae5a2a6]
www.Trace3.com
(317) 439-7198 desk
(317) 439-7198 mobile
________________________________

Earlier message 32 lines
From: Tomas Hajny Sent: Thursday, May 7, 2026 4:01 AM To: FPC-Pascal users discussions Cc: Danny Gowin Subject: Re: [fpc-pascal] Bug Reporting in Lazarus on New Fedora 44 install. [You don't often get email from Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] On 2026-05-06 16:24, Danny Gowin via fpc-pascal wrote: Hello Dan, > I need to report a bug in Lazarus running on Fedora. > Work items · FPC Source · GitLab > > Fedora 44, Lazarus version 4.6, FPC Version 3.2.2, Project: Simple > Program. . . > Question: Lazarus on Fedora, is the IDE making a call to an obsolete > terminal program like xterm? . . I cannot answer your question, it might be better addressed to the Lazarus list rather than FPC list. Also, if you intend to report a bug, make sure to report it as a bug in Lazarus rather than in FPC - your link to Gitlab pointed to FPC repository and FPC bugs rather than Lazarus. Tomas
gabor
to Danny Gowin: I need to report a bug in Lazarus running on Fedora. Work items · FPC Source ·…

Have you tried adding {$APPTYPE CONSOLE} at the beginning of your code?

Regards,
Michał.

W dniu 2026-05-06 o 16:24, Danny Gowin via fpc-pascal pisze:

Show quoted text 44 lines
I need to report a bug in Lazarus running on Fedora. Work items · FPC Source · GitLab <https://gitlab.com/freepascal.org/fpc/ source/-/work_items?sort=created_date&state=opened&first_page_size=20> Fedora 44, Lazarus version 4.6, FPC Version 3.2.2, Project: Simple Program. *Program mytestprog01;* * * *Uses crt;* * * *Begin* *    Writeln('Hello World');* *    Readln;* *end.* When Compile Run is initiated. 1. Run With Debugger. _A terminal Window is NOT initiated._ The program can be Stopped. But the IDE returns no Error. The compiled program executes correctly when run manually from a terminal. Question: Lazarus on Fedora, is the IDE making a call to an obsolete terminal program like xterm? This feature works correctly on the Windows 11, Lazarus version 4.6, FPC Version 3.2.2, Project: Simple Program. Dan Gowin Advanced Services Engineer www.Trace3.com (317) 439-7198 desk (317) 439-7198 mobile _______________________________________________ fpc-pascal maillist - https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Danny Gowin
to gabor

I'll try it out but...

This feature works correctly on the Windows 11, Lazarus version 4.6, FPC Version 3.2.2, Project: Simple Program.

Dan Gowin
Advanced Services Engineer
[cid:5394d56a-46b8-4e0a-bc7a-63f7c5715d3f]
www.Trace3.com
(317) 439-7198 desk
(317) 439-7198 mobile
________________________________

Earlier message 58 lines
From: gabor Sent: Friday, May 8, 2026 10:47 AM To: FPC-Pascal users discussions Cc: Danny Gowin Subject: Re: [fpc-pascal] Bug Reporting in Lazarus on New Fedora 44 install. [You don't often get email from Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Have you tried adding {$APPTYPE CONSOLE} at the beginning of your code? Regards, Michał. W dniu 2026-05-06 o 16:24, Danny Gowin via fpc-pascal pisze: > I need to report a bug in Lazarus running on Fedora. > Work items · FPC Source · GitLab <https://gitlab.com/freepascal.org/fpc/ > source/-/work_items?sort=created_date&state=opened&first_page_size=20> > > Fedora 44, Lazarus version 4.6, FPC Version 3.2.2, Project: Simple Program. > > *Program mytestprog01;* > * > * > *Uses crt;* > * > * > *Begin* > *    Writeln('Hello World');* > *    Readln;* > *end.* > > When Compile Run is initiated. > > 1. > Run With Debugger. > > > _A terminal Window is NOT initiated._ > The program can be Stopped. But the IDE returns no Error. > > The compiled program executes correctly when run manually from a terminal. > > Question: Lazarus on Fedora, is the IDE making a call to an obsolete > terminal program like xterm? > > This feature works correctly on the Windows 11, Lazarus version 4.6, FPC > Version 3.2.2, Project: Simple Program. > > Dan Gowin > Advanced Services Engineer > > www.Trace3.com<http://www.Trace3.com> > (317) 439-7198 desk > (317) 439-7198 mobile > > _______________________________________________ > fpc-pascal maillist - > https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Danny Gowin
to Danny Gowin

Thank you for all your help.
I have someone on the Lazarus IDE teams working on it.

https://gitlab.com/freepascal.org/lazarus/lazarus/-/work_items/42276 Dan Gowin
Advanced Services Engineer
[cid:715d0de4-5af4-4528-88f7-b6602e201961]
www.Trace3.com
(317) 439-7198 desk
(317) 439-7198 mobile
________________________________

Earlier message 74 lines
From: Danny Gowin Sent: Friday, May 8, 2026 11:07 AM To: gabor ; FPC-Pascal users discussions Subject: Re: [fpc-pascal] Bug Reporting in Lazarus on New Fedora 44 install. I'll try it out but... This feature works correctly on the Windows 11, Lazarus version 4.6, FPC Version 3.2.2, Project: Simple Program. Dan Gowin Advanced Services Engineer [cid:5394d56a-46b8-4e0a-bc7a-63f7c5715d3f] www.Trace3.com (317) 439-7198 desk (317) 439-7198 mobile ________________________________ From: gabor Sent: Friday, May 8, 2026 10:47 AM To: FPC-Pascal users discussions Cc: Danny Gowin Subject: Re: [fpc-pascal] Bug Reporting in Lazarus on New Fedora 44 install. [You don't often get email from Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Have you tried adding {$APPTYPE CONSOLE} at the beginning of your code? Regards, Michał. W dniu 2026-05-06 o 16:24, Danny Gowin via fpc-pascal pisze: > I need to report a bug in Lazarus running on Fedora. > Work items · FPC Source · GitLab <https://gitlab.com/freepascal.org/fpc/ > source/-/work_items?sort=created_date&state=opened&first_page_size=20> > > Fedora 44, Lazarus version 4.6, FPC Version 3.2.2, Project: Simple Program. > > *Program mytestprog01;* > * > * > *Uses crt;* > * > * > *Begin* > *    Writeln('Hello World');* > *    Readln;* > *end.* > > When Compile Run is initiated. > > 1. > Run With Debugger. > > > _A terminal Window is NOT initiated._ > The program can be Stopped. But the IDE returns no Error. > > The compiled program executes correctly when run manually from a terminal. > > Question: Lazarus on Fedora, is the IDE making a call to an obsolete > terminal program like xterm? > > This feature works correctly on the Windows 11, Lazarus version 4.6, FPC > Version 3.2.2, Project: Simple Program. > > Dan Gowin > Advanced Services Engineer > > www.Trace3.com<http://www.Trace3.com> > (317) 439-7198 desk > (317) 439-7198 mobile > > _______________________________________________ > fpc-pascal maillist - > https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal