Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25785

LLDB: <built-in function SBProcess_GetSTDOUT> returned NULL without setting an error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.15.0
    • Fix Version/s: None
    • Component/s: Debugger
    • Labels:
      None
    • Platform/s:
      macOS

      Description

      When launching the debuger inside Qt Creator, very frequently the following error happens: eSystemError: <built-in function SBProcess_GetSTDOUT> returned NULL without setting an error

      When it happens, the debugger will hang when interacting with it in the UI or when hitting a breakpoint. The only solution is to abort the debugger (2 times) and relaunch hoping that the error does not happen again.

       

      lldb version:

      =========

      lldb-1200.0.44.2, Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)

       

      Full error:

      =======

      eERROR: Lldb stderr: Exception in thread Thread-1:
      eERROR: Lldb stderr: Traceback (most recent call last):
      e File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/threading.py", line 932, in _bootstrap_inner
      e self.run()
      e File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/threading.py", line 870, in run
      e self._target(*self._args, **self._kwargs)
      e File "/opt/packages/qtcreator/4.15/Qt Creator.app/Contents/Resources/debugger/lldbbridge.py", line 1012, in loop
      e self.handleEvent(event)
      e File "/opt/packages/qtcreator/4.15/Qt Creator.app/Contents/Resources/debugger/lldbbridge.py", line 1427, in handleEvent
      eERROR: Lldb stderr: self.handleInferiorOutput(self.process.GetSTDOUT, "stdout")
      e File "/opt/packages/qtcreator/4.15/Qt Creator.app/Contents/Resources/debugger/lldbbridge.py", line 1435, in handleInferiorOutput
      e msg = proc(1024)
      e File "/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python3/lldb/_init_.py", line 8616, in GetSTDOUT
      eERROR: Lldb stderr: return _lldb.SBProcess_GetSTDOUT(self, dst)
      eSystemError: <built-in function SBProcess_GetSTDOUT> returned NULL without setting an error

       

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              hjk hjk
              Reporter:
              est Esteban Tovagliari
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes