3 Replies
      Latest reply on Dec 16, 2019 12:42 AM by eskimo
      OTISdev Level 1 Level 1 (0 points)

        I am currently facing the issue, that whenever i call a C++ exposed function spawning openMP threads insight a python process (Python3.7 multiprocessing) the python processes that spawned additional threads gets immediatly killed without any error message from python. Is this due to a change in thread spawning in Catalina ? Does anyone know how to overcome this problem ?

        • Re: Catalina Python process bug
          eskimo Apple Staff Apple Staff (13,065 points)

          Is this due to a change in thread spawning in Catalina?

          I’m not away of any significant changes to how threads are spawn on 10.15.

          the python processes that spawned additional threads gets immediatly killed without any error message from python

          Does it generate a crash report?  If so, post it here because it might contain some useful clues.

          Share and Enjoy

          Quinn “The Eskimo!”
          Apple Developer Relations, Developer Technical Support, Core OS/Hardware
          let myEmail = "eskimo" + "1" + "@apple.com"

            • Re: Catalina Python process bug
              OTISdev Level 1 Level 1 (0 points)

              Sadly i cannot provide a report. Trying to catch BaseException or printing the traceback stack does not result in any output.

                • Re: Catalina Python process bug
                  eskimo Apple Staff Apple Staff (13,065 points)

                  Sadly i cannot provide a [crash] report.

                  Bummer.  A crash report will sometimes make it easy to cut through the layers of abstraction to help you isolate the OS-level cause of your issue.  Without it, there’s really no shortcut here: You will have to dig through those abstraction layers in order to debug this.

                  Share and Enjoy

                  Quinn “The Eskimo!”
                  Apple Developer Relations, Developer Technical Support, Core OS/Hardware
                  let myEmail = "eskimo" + "1" + "@apple.com"