Recent

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

mishalazarus

  • New member
  • *
  • 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: 3900
  • 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: 1474
  • 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.
Lazarus 2.1 r65061 FPC 3.3.1 r49223 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.1 r65182 FPC 3.3.1 r49223 macOS 11.4 aarch64 Xcode 12.4
Lazarus 2.1 r61574 FPC 3.3.1 r42318 FreeBSD 12.1 amd64 VMware VM
Lazarus 2.1 r61574 FPC 3.0.4 Ubuntu 20.04 Parallels VM
Lazarus 2.0.10 FPC 3.2.0 Win10 Parallels VM

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3900
  • 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

  • New member
  • *
  • 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: 3900
  • 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

  • New member
  • *
  • 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

  • New member
  • *
  • 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