Lazarus

Using the Lazarus IDE => Designer => Topic started by: mishalazarus on March 29, 2021, 06:34:39 pm

Title: Package window SIGSEGV on close
Post by: mishalazarus on March 29, 2021, 06:34:39 pm
Is it just me or is this a bug in Lazarus?

When I close my package window this happens.

Thank you.
Misha

[Edited title to be meaningful]
Title: Re: Package window SIGSEGV on close
Post by: JuhaManninen on March 30, 2021, 10:53:09 am
I cannot reproduce.
OS? Widgetset?
Does it happen with all packages or just one? Which one?
Please test also with Lazarus trunk.
Title: Re: Package window SIGSEGV on close
Post by: trev on March 30, 2021, 11:07:37 am
OS? Widgetset?

This info is in the About image which was posted.
Title: Re: Package window SIGSEGV on close
Post by: JuhaManninen on March 30, 2021, 01:08:54 pm
This info is in the About image which was posted.
Ok yes, sorry.
The other screenshot mentions TreeFilterEdit. The package editor has one and I tried typing something there before closing the package editor. Still no SIGSEGV.
Can somebody reproduce?
Title: Re: Package window SIGSEGV on close
Post by: mishalazarus on March 31, 2021, 08:28:02 am
Thank you for your help. I guess it is a problem in my package finalization section.
Title: Re: Package window SIGSEGV on close
Post by: JuhaManninen on March 31, 2021, 11:07:18 am
Thank you for your help. I guess it is a problem in my package finalization section.
It is still a bug in the package editor. It should not crash in any situation.
Please test with Lazarus trunk. It has changes for the package editor. If you still get a crash there, then please copy a package that triggers it.
Title: Re: Package window SIGSEGV on close
Post by: mishalazarus on April 17, 2021, 05:17:09 pm
Hello again.

I opened this package but didn't install it or even compile it.

It isn't part of my IDE yet. But after I close the package window and click Lazarus File menu I get access violation after access violation and have to Ctrl C the entire IDE.

When I open the IDE again everything else is fine.

It is a possible bug in Lazarus.
Title: Re: Package window SIGSEGV on close
Post by: mishalazarus on April 17, 2021, 05:23:48 pm
I attach source code.

Please don't use this code. It is just for this bug report.

TinyPortal © 2005-2018