Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-37040

Recursive import triggers segfault

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 4.8.6
    • Core: Resource System
    • None
    • Linux Tails distribution, 0.22.1 (most current)

    Description

      The attached python script imports PyQt4 and creates an QApplication object. Afterwards it dynamically imports itself again (be sure to save the attachment with filename 'myself.py').

      1. Run the provided script.
      2. Read the output of the script.

      Expected output: Any kind of python exception.
      Actual output: A segfault of the program.

      This code is insane, but in any case no segfault shall occur in python.

      Attachments

        Activity

          People

            hjk hjk
            meisterluk Lukas Prokop
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: