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

🐞 System terminal broken by CodeEdit #1419

Closed
austincondiff opened this issue Sep 5, 2023 · 3 comments
Closed

🐞 System terminal broken by CodeEdit #1419

austincondiff opened this issue Sep 5, 2023 · 3 comments
Labels
bug Something isn't working terminal

Comments

@austincondiff
Copy link
Collaborator

austincondiff commented Sep 5, 2023

Description

When CodeEdit is running for a while and I try starting Terminal.app, I see this:

image

According to this stack overflow question, closing the problem application fixes it. I close CodeEdit, open Terminal.app and it works.

Additional Context

After trying to build CodeEdit, I get this...

image

Upon clicking details...

Details

Pseudo Terminal Setup Error
Domain: IDEPseudoTerminalDomain
Code: 7
Failure Reason: ErrorCode: 7 Errno: 6
User Info: {
    DVTErrorCreationDateKey = "2023-09-08 01:38:56 +0000";
    IDERunOperationFailingWorker = DBGLLDBLauncher;
}
--
The operation couldn’t be completed. Device not configured
Domain: NSPOSIXErrorDomain
Code: 6
Failure Reason: Device not configured
--

Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {
    "device_model" = "MacBookPro18,2";
    "device_osBuild" = "13.4.1 (22F82)";
    "device_platform" = "com.apple.platform.macosx";
    "launchSession_schemeCommand" = Run;
    "launchSession_state" = 1;
    "launchSession_targetArch" = arm64;
    "operation_duration_ms" = 66;
    "operation_errorCode" = 7;
    "operation_errorDomain" = IDEPseudoTerminalDomain;
    "operation_errorWorker" = DBGLLDBLauncher;
    "operation_name" = IDERunOperationWorkerGroup;
    "param_consoleMode" = 0;
    "param_debugger_attachToExtensions" = 0;
    "param_debugger_attachToXPC" = 1;
    "param_debugger_type" = 3;
    "param_destination_isProxy" = 0;
    "param_destination_platform" = "com.apple.platform.macosx";
    "param_diag_MainThreadChecker_stopOnIssue" = 0;
    "param_diag_MallocStackLogging_enableDuringAttach" = 0;
    "param_diag_MallocStackLogging_enableForXPC" = 1;
    "param_diag_allowLocationSimulation" = 1;
    "param_diag_checker_tpc_enable" = 1;
    "param_diag_gpu_frameCapture_enable" = 0;
    "param_diag_gpu_shaderValidation_enable" = 0;
    "param_diag_gpu_validation_enable" = 0;
    "param_diag_memoryGraphOnResourceException" = 0;
    "param_diag_queueDebugging_enable" = 1;
    "param_diag_runtimeProfile_generate" = 0;
    "param_diag_sanitizer_asan_enable" = 0;
    "param_diag_sanitizer_tsan_enable" = 0;
    "param_diag_sanitizer_tsan_stopOnIssue" = 0;
    "param_diag_sanitizer_ubsan_stopOnIssue" = 0;
    "param_diag_showNonLocalizedStrings" = 0;
    "param_diag_viewDebugging_enabled" = 1;
    "param_diag_viewDebugging_insertDylibOnLaunch" = 1;
    "param_install_style" = 0;
    "param_launcher_UID" = 2;
    "param_launcher_allowDeviceSensorReplayData" = 0;
    "param_launcher_kind" = 0;
    "param_launcher_style" = 99;
    "param_launcher_substyle" = 8192;
    "param_runnable_appExtensionHostRunMode" = 0;
    "param_runnable_productType" = "com.apple.product-type.application";
    "param_testing_launchedForTesting" = 0;
    "param_testing_suppressSimulatorApp" = 0;
    "param_testing_usingCLI" = 0;
    "sdk_canonicalName" = "macosx13.3";
    "sdk_osVersion" = "13.3";
    "sdk_variant" = macos;
}
--


System Information

macOS Version 13.4.1 (Build 22F82)
Xcode 14.3.1 (21815) (Build 14E300c)
Timestamp: 2023-09-07T20:38:56-05:00

I closed Terminal, restarted Xcode and it built just fine.

When I first built CodeEdit, I opened the terminal utility and the terminal in the drawer looks fine. I opened Terminal.app again and I get the same error:

[forkpty: Device not configured]
[Could not create a new process and open a pseudo-tty.]

I open subsequent tabs in my terminal and the terminal is blank.

@austincondiff austincondiff added the bug Something isn't working label Sep 5, 2023
@github-actions github-actions bot added terminal needs refinement This issue is not complete and has to be refined by the maintainers labels Sep 5, 2023
@austincondiff austincondiff moved this from 🆕 New to 📋 Todo in CodeEdit Project Sep 5, 2023
@austincondiff austincondiff removed the needs refinement This issue is not complete and has to be refined by the maintainers label Sep 5, 2023
@0xWDG
Copy link
Collaborator

0xWDG commented Sep 10, 2023

‍ 1. Did you used the terminal in CodeEdit?

‍ 2. Did you sent a process to the background?
‍ (multiple ways, e.g. putting & on the end of the command example: brew upgrade &),

‍ 2.a if you did that did you use disown to separate it from the CLI process?

‍ (why those questions, it could be that there was still a process running somewhwere)

@austincondiff
Copy link
Collaborator Author

I did not use the terminal in CE, just opened it

@austincondiff
Copy link
Collaborator Author

This hasn't happened to me in some time. I have updated to Sonoma since. Not sure if that fixed it or not but I am closing this for now unless someone else experiences this.

@github-project-automation github-project-automation bot moved this from 📋 Todo to 🏁 Complete in CodeEdit Project Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working terminal
Projects
Status: 🏁 Complete
Development

No branches or pull requests

2 participants