Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#38438 - [python-pyqt5] apps crash on exit in QWidget::~QWidget();

Attached to Project: Arch Linux
Opened by Ahmed W. (OneOfOne) - Thursday, 09 January 2014, 18:25 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 08 February 2014, 16:02 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
PyQt5 apps crash on using qApp.quit() (or app_instance.quit())

Additional info:
* package version(s) : .*pyqt5.* 5.1 / 5.2

Steps to reproduce:
Use a simple PyQt5 app :


from PyQt5.QtGui import *
from PyQt5.QtWidgets import *
if __name__ == '__main__':
app = QApplication(sys.argv)
btn = QPushButton('Test');
btn.clicked.connect(app.quit);

btn.show();
sys.exit(app.exec())

Click the test button and watch a segmentation fault, using gdb it dies in QWidget::~QWidget();
Writing the same test app in C++ doesn't result in a crash.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Saturday, 08 February 2014, 16:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  qt5-base 5.2.1-1
Comment by Andrea Scarpino (BaSh) - Thursday, 09 January 2014, 20:51 GMT
  • Field changed: Summary (PyQt5 apps crash on exit in QWidget::~QWidget(); → [python-pyqt5] apps crash on exit in QWidget::~QWidget();)
  • Field changed: Status (Unconfirmed → Assigned)
  • Field changed: Category (Packages: Extra → Upstream Bugs)
  • Task assigned to Andrea Scarpino (BaSh)
This is probably upstream, please report there.

Is this Python 2 or 3?
Comment by Ahmed W. (OneOfOne) - Friday, 10 January 2014, 12:50 GMT
Both Python 2 and 3, exact same crash, I couldn't find an upstream bugzilla for it, my googling skills has failed me.
Comment by Andrea Scarpino (BaSh) - Friday, 10 January 2014, 12:54 GMT
Right, if I'm not wrong they use their mailing list to track bugs.
Comment by Andrea Scarpino (BaSh) - Thursday, 06 February 2014, 20:53 GMT
Status with Qt 5.2.1? Did you report this upstream?
Comment by Ahmed W. (OneOfOne) - Thursday, 06 February 2014, 21:03 GMT
I didn't have a chance, however it seems fixed with 5.2.1, so this bug can be closed.

Loading...