processing / processing/processing4

Could not run the sketch. ERROR: transport error 202: bind failed:

未关闭
#1,500 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug
主要语言
Java
星标
497
派生
183
平均合并
4 小时 39 分钟
30 天内合并 PR
3

描述

Most appropriate sub-area of Processing 4?

PDE

Processing version

4.5.2 and previous versions

Operating system

Windows 10

Bug description

I sometimes get the following error:

ERROR: transport error 202: bind failed: Permission denied
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [s\src\jdk.jdwp.agent\share\native\libjdwp\debugInit.c:734]
Using startup command: D:\Program_Portable\Processing-4.4.10\app\resources\jdk\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=8053,server=y,suspend=y,quiet=y -Djna.nosys=true -Djava.library.path=;D:\Program_Portable\Processing-4.4.10\app\resources\core\library;D:\Program_Portable\Processing-4.4.10;
*** ...The remaining paths removed... ***
Steps to reproduce this
  1. It happens occasionally, so I can't reproduce.

  2. Launch a sketch repeatedly, and it may eventually show up.

Additional context

See this topic:

https://discourse.processing.org/t/could-not-run-the-sketch-error-transport-error-202-bind-failed/47420

Would you like to work on the issue?

Yes, I’d like to help with this

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 PDE 的草图启动路径开始,检查报告中显示的启动命令,尤其是使用端口 8053 的 JDWP 传输配置。在 Windows 10 上反复启动草图,同时观察 bind 何时失败,并将其行为与链接的 Discourse 主题进行比较。当间歇性启动失败可以复现,并且其原因或经过验证的修复方案已记录时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
desktop, tooling
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。