Skip to content

ios-deploy: SystemError: <built-in function SBProcess_GetSTDOUT> returned NULL without setting an error #604

@mjimenez4000

Description

@mjimenez4000

Command:
ios-deploy --noninteractive --envs IOS_AUTOMATED_BUILD=1 --args "$IOS_COMMAND" --bundle ./build/Release-iphoneos/sslsdkclienttest.app

Expected behavior

ios-deploy --noninteractive --envs IOS_AUTOMATED_BUILD=1 --args "$IOS_COMMAND" --bundle ./build/Release-iphoneos/sslsdkclienttest.app
.
.
.
PROCESS_EXITED

Actual behavior.

ios-deploy --noninteractive --envs IOS_AUTOMATED_BUILD=1 --args "$IOS_COMMAND" --bundle ./build/Release-iphoneos/sslsdkclienttest.app
.
.
.
2024-07-18 14:51:12.884990-0400 sslsdkclienttest[Traceback (most recent call last):
  File "/tmp/A29079A2-0D15-4FEF-BFE6-D444DDD19F8A/fruitstrap_00008030_00160D2801F1802E.py", line 155, in autoexit_command
    ProcessSTDOUT()
  File "/tmp/A29079A2-0D15-4FEF-BFE6-D444DDD19F8A/fruitstrap_00008030_00160D2801F1802E.py", line 125, in ProcessSTDOUT
    stdout = process.GetSTDOUT(1024)
  File "/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python/lldb/__init__.py", line 8392, in GetSTDOUT
    return _lldb.SBProcess_GetSTDOUT(self, dst)
SystemError: <built-in function SBProcess_GetSTDOUT> returned NULL without setting an error
(lldb)

Steps to reproduce the problem

This SystemError seems to happen sporadically where most runs get this error while some runs do not.

System Specs

Please run the commands below in your Terminal.app and include it in the issue. Check when done and include results below.

  • 1. system_profiler SPSoftwareDataType

Software:

System Software Overview:

  System Version: macOS 14.3 (23D56)
  Kernel Version: Darwin 23.3.0
  Boot Volume: Macintosh HD
  Boot Mode: Normal
  Computer Name: XXX
  User Name: XXX
  Secure Virtual Memory: Enabled
  System Integrity Protection: Enabled
  Time since boot: 37 days, 5 hours, 39 minutes
  • 2. ios-deploy -V

1.12.2

  • 3. xcodebuild -version

Xcode 15.0
Build version 15A240d

  • 4. xcode-select --print-path

/Applications/Xcode.app/Contents/Developer

  • 5. gcc --version

Apple clang version 15.0.0 (clang-1500.0.40.1)
Target: arm64-apple-darwin23.3.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

  • 6. lldb --version

lldb-1500.0.22.8
Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions