Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
6 tasks done
mjimenez4000 opened this issue Jul 18, 2024 · 0 comments

Comments

@mjimenez4000
Copy link

mjimenez4000 commented Jul 18, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant