Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
Forum Updated to NodeBB v4.3 + New Features

Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)

Scheduled Pinned Locked Moved Unsolved Qt for Python
15 Posts 3 Posters 3.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • szRicsiS Offline
    szRicsiS Offline
    szRicsi
    wrote on last edited by szRicsi
    #1

    Hello,

    I’ve just started learning Python programming on an online course where we are using PySide6 and QtQuick to display a simple window. I keep running into this error Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) with a simple window with basic shapes in it. You can check the code here: https://github.com/szricsi22/HelloWorldApp
    I use macOS Big Sur operating system on a Macbook Air M1.

    I would greatly appreciate some help.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      How are you installing your development environment ?
      Using virtualenv ?
      Conda ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      szRicsiS 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        How are you installing your development environment ?
        Using virtualenv ?
        Conda ?

        szRicsiS Offline
        szRicsiS Offline
        szRicsi
        wrote on last edited by
        #3

        @SGaist

        We used PyCharm where we created a virtualenv for our project then installed PySide6 with pip. It should work out of the box. Others had no problem with running this code.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Since you are on macOS, you should get a dialog with informations about the crash, can you show it ?
          Do you have the same issue if you show a simple dummy widget ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          szRicsiS 1 Reply Last reply
          0
          • SGaistS SGaist

            Since you are on macOS, you should get a dialog with informations about the crash, can you show it ?
            Do you have the same issue if you show a simple dummy widget ?

            szRicsiS Offline
            szRicsiS Offline
            szRicsi
            wrote on last edited by
            #5

            @SGaist

            The window alone shows up without error. It crashes only when I add a Rectangle to the window. The Code is pretty basic. All was generated by QtCreator. I don’t get any information about the crash, just the one I mentioned before.

            Képernyőfotó 2021-08-24 - 8.11.57.png

            eyllanescE 1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              What if you start your script with pdb running ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              szRicsiS 1 Reply Last reply
              0
              • szRicsiS szRicsi

                @SGaist

                The window alone shows up without error. It crashes only when I add a Rectangle to the window. The Code is pretty basic. All was generated by QtCreator. I don’t get any information about the crash, just the one I mentioned before.

                Képernyőfotó 2021-08-24 - 8.11.57.png

                eyllanescE Offline
                eyllanescE Offline
                eyllanesc
                wrote on last edited by eyllanesc
                #7

                @szRicsi Copy the code that appears in the console of your IDE: /Users/..../venv/bin/python /Users/.../HelloWorldApp/main.py and run it in the console of your OS, you may get more information about the error.

                If you want me to help you develop some work then you can write to my email: e.yllanescucho@gmal.com.

                1 Reply Last reply
                0
                • szRicsiS Offline
                  szRicsiS Offline
                  szRicsi
                  wrote on last edited by
                  #8
                  This post is deleted!
                  1 Reply Last reply
                  0
                  • szRicsiS Offline
                    szRicsiS Offline
                    szRicsi
                    wrote on last edited by szRicsi
                    #9

                    @SGaist @eyllanesc

                    Here is the full text from the console:
                    https://pastebin.com/57mDzRpF
                    password: 6QtUSf2eHk

                    eyllanescE 1 Reply Last reply
                    0
                    • szRicsiS szRicsi

                      @SGaist @eyllanesc

                      Here is the full text from the console:
                      https://pastebin.com/57mDzRpF
                      password: 6QtUSf2eHk

                      eyllanescE Offline
                      eyllanescE Offline
                      eyllanesc
                      wrote on last edited by
                      #10

                      @szRicsi I have not asked you that, have you been able to execute what I pointed out in my previous comment?

                      If you want me to help you develop some work then you can write to my email: e.yllanescucho@gmal.com.

                      szRicsiS 1 Reply Last reply
                      0
                      • eyllanescE eyllanesc

                        @szRicsi I have not asked you that, have you been able to execute what I pointed out in my previous comment?

                        szRicsiS Offline
                        szRicsiS Offline
                        szRicsi
                        wrote on last edited by
                        #11

                        @eyllanesc

                        Sorry i forgot because i can write one comment in 10 minute.

                        DE607A43-BC3F-4283-8BF1-F26A44F3D31D.jpeg

                        eyllanescE 1 Reply Last reply
                        0
                        • SGaistS SGaist

                          What if you start your script with pdb running ?

                          szRicsiS Offline
                          szRicsiS Offline
                          szRicsi
                          wrote on last edited by
                          #12

                          @SGaist

                          I get a lot of information but I don't know how can I send to you.. :(

                          Képernyőfotó 2021-08-25 - 8.22.39.png

                          1 Reply Last reply
                          0
                          • szRicsiS szRicsi

                            @eyllanesc

                            Sorry i forgot because i can write one comment in 10 minute.

                            DE607A43-BC3F-4283-8BF1-F26A44F3D31D.jpeg

                            eyllanescE Offline
                            eyllanescE Offline
                            eyllanesc
                            wrote on last edited by
                            #13

                            @szRicsi what is the output of QT_DEBUG_PLUGINS=1 /Users/..../venv/bin/python /Users/.../HelloWorldApp/main.py

                            If you want me to help you develop some work then you can write to my email: e.yllanescucho@gmal.com.

                            szRicsiS 1 Reply Last reply
                            0
                            • eyllanescE eyllanesc

                              @szRicsi what is the output of QT_DEBUG_PLUGINS=1 /Users/..../venv/bin/python /Users/.../HelloWorldApp/main.py

                              szRicsiS Offline
                              szRicsiS Offline
                              szRicsi
                              wrote on last edited by szRicsi
                              #14

                              @eyllanesc said in Process finished with exit code 139 (interrupted by signal 11: SIGSEGV):

                              QT_DEBUG_PLUGINS=1

                              Maybe this is what you ask : https://pastebin.com/493Tvq7f
                              password: echBy5Qp2S

                              1 Reply Last reply
                              0
                              • szRicsiS Offline
                                szRicsiS Offline
                                szRicsi
                                wrote on last edited by
                                #15

                                @SGaist @eyllanesc
                                These informations are enough for something?

                                1 Reply Last reply
                                0

                                • Login

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • Users
                                • Groups
                                • Search
                                • Get Qt Extensions
                                • Unsolved