Skip to content

pyside2 segmentation fault #27991

@marcelotduarte

Description

@marcelotduarte

Description / Steps to reproduce the issue

test_qt.py

from PySide2.QtCore import QTimer
from PySide2.QtWidgets import QApplication, QLabel

app = QApplication([])
label = QLabel("Hello from Qt!")
label.show()
timer = QTimer()

def quit():
    print(label.text())
    app.quit()

timer.start(500)
timer.timeout.connect(quit)
app.exec_()

$ python test_qt.py
Segmentation fault python test_qt.py

Expected behavior

No error.

Actual behavior

Segmentation fault (tested only on UCRT64).

Verification

Windows Version

MINGW64_NT-10.0-26200

MINGW environments affected

  • MINGW64
  • MINGW32
  • UCRT64
  • CLANG64
  • CLANGARM64

Are you willing to submit a PR?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions