Qt5: Sigsegv on closing application if buttons with standard icons are used
Original Reporter info from Mantis: Demetrius
-
Reporter name: Dzmitry K.
Original Reporter info from Mantis: Demetrius
- Reporter name: Dzmitry K.
Description:
I'm using Arch Linux on x86_64. I've tried compiling my application with Qt (I've formerly used GTK+2 interface to develop it), and I've noticed that it displays a SIGSEGV error when I exit it.
I've found that the issue is with the buttons (either TBitButton's or TButtonPanel's) that have standard icons (from the OS theme). If I remove the buttons, or use buttons without icons, or use custom icons (not from OS theme), then the problem doesn't occur.
I've tested this on 2 packages:
* lazarus-qt5 package (package version 2.0.6-2; Lazarus version #2 (closed).0.6, 2019-12-25, FPC Version: 3.0.6, x86_64-linux-qt5),
* SVN version as compiled via AUR package lazarus-qt5-svn (Version #: 2.1.0, Date: 2020-01-31, FPC version: 3.0.4, SVN Revision: 62599, x86_64-linux-qt5)
Some other package versions:
qt5pas 2.6.r61322-1
qt5-base 5.14.1-1
Steps to reproduce:
- Create a new project
- Place a
TBitButton
on the form
- Set
Kind
tobkOK
- Compile and run
- Close the window
Expected result:
The program should exit
Actual result:
An error with the following text:
Project project1 raised exception class 'External: SIGSEGV'.
Additional information:
I hope I've made the bug report correctly, but if I've missed something, please tell me! Thanks
Mantis conversion info:
- Mantis ID: 36641
- Build: 62599
- Version: 2.0.6