Sign in Join

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

Mailing lists / lazarus / 2016-01

Bug 28281

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Michael Van Canneyt

Hi,

Any news on bug 29281 ?

http://bugs.freepascal.org/view.php?id=28281

I can add the following extra info:

if compilation fails, it quite often never detects this and fails to show the compiler error. I need to do a recompile, "abort" the previous build, and then it sometimes shows the actual error.

Also, I get a 100% failure rate when I press ctrl-F9 when the project inspector is the active dialog.

Michael.

Reply by email

Mattias Gaertner
to Michael Van Canneyt
Show quoted text 11 lines
Hi, Any news on bug 29281 ? http://bugs.freepascal.org/view.php?id=28281 I can add the following extra info: if compilation fails, it quite often never detects this and fails to show the compiler error. I need to do a recompile, "abort" the previous build, and then it sometimes shows the actual error.

I wonder why it happens only on your platform. Perhaps it is only triggered by specific stdout/stderr content length and error IDs. This would explain, why a recompile works, where the output is shorter than a full compile.

Also, I get a 100% failure rate when I press ctrl-F9 when the project inspector is the active dialog.

I have no idea, how the project inspector could influence the external tools. I hope it is not some memory corruption.

Mattias

Reply by email

Michael Van Canneyt
to Mattias Gaertner
Mattias Gaertner wrote 19 lines
On Mon, 25 Jan 2016 21:37:16 +0100 (CET) Michael Van Canneyt wrote: > > Hi, > > Any news on bug 29281 ? > > http://bugs.freepascal.org/view.php?id=28281 > > I can add the following extra info: > > if compilation fails, it quite often never detects this and fails to show the compiler error. > I need to do a recompile, "abort" the previous build, and then it sometimes shows the actual error. I wonder why it happens only on your platform. Perhaps it is only triggered by specific stdout/stderr content length and error IDs. This would explain, why a recompile works, where the output is shorter than a full compile.

I can reproduce it on 2 machines. One a desktop, one a laptop. Both run the same Kubuntu version, have more or less the same configuration.

Since my report is marked as related to/duplicate of another, it's not just me that has this...

Show quoted text 5 lines
> Also, I get a 100% failure rate when I press ctrl-F9 when the project > inspector is the active dialog. I have no idea, how the project inspector could influence the external tools. I hope it is not some memory corruption.

Maybe the problem is keyboard (keyup/keydown/onkey events) related. Keydown caught in project inspector, transferred to mainform (or wherever) for processing, keyup caught somewhere else, command again executed. Something like that.

It doesn't happen when I select the compile item from the run menu. That would support this theory.

Anyway, I will test tonight with your new define.
We'll see where this gets us. Thanks for looking into this.

Michael.

Reply by email

Michael Van Canneyt
to Michael Van Canneyt
Michael Van Canneyt wrote 14 lines
> > I have no idea, how the project inspector could influence the external > tools. I hope it is not some memory corruption. Maybe the problem is keyboard (keyup/keydown/onkey events) related. Keydown caught in project inspector, transferred to mainform (or wherever) for processing, keyup caught somewhere else, command again executed. Something like that. It doesn't happen when I select the compile item from the run menu. That would support this theory. Anyway, I will test tonight with your new define. We'll see where this gets us. Thanks for looking into this.

Uploaded a file.

I had it now during compilation of the IDE itself: it was just stuck.

Looking at the log file, the thread ends normally, which seems to indicate that the notification of the end of compilation is somehow not registered ?

Michael.

Reply by email