Recent

Author Topic: Package window SIGSEGV on close  (Read 3664 times)

mishalazarus

  • Newbie
  • Posts: 6
Package window SIGSEGV on close
« 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]
« Last Edit: March 30, 2021, 02:00:49 am by trev »

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4458
  • I like bugs.
Re: Package window SIGSEGV on close
« Reply #1 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.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: Package window SIGSEGV on close
« Reply #2 on: March 30, 2021, 11:07:37 am »
OS? Widgetset?

This info is in the About image which was posted.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4458
  • I like bugs.
Re: Package window SIGSEGV on close
« Reply #3 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?
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

mishalazarus

  • Newbie
  • Posts: 6
Re: Package window SIGSEGV on close
« Reply #4 on: March 31, 2021, 08:28:02 am »
Thank you for your help. I guess it is a problem in my package finalization section.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4458
  • I like bugs.
Re: Package window SIGSEGV on close
« Reply #5 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.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

mishalazarus

  • Newbie
  • Posts: 6
Re: Package window SIGSEGV on close
« Reply #6 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.

mishalazarus

  • Newbie
  • Posts: 6
Re: Package window SIGSEGV on close
« Reply #7 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