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

[BUG] opensumi 启动报错,闪退 #3124

Closed
zhuzeyu22 opened this issue Oct 17, 2023 · 8 comments
Closed

[BUG] opensumi 启动报错,闪退 #3124

zhuzeyu22 opened this issue Oct 17, 2023 · 8 comments
Labels
🐞 bug Something isn't working 🧐 need reproduce

Comments

@zhuzeyu22
Copy link
Contributor

image

  • OS: [Windows11]
  • Browser: [electron]
  • OpenSumi Version: [2.24.5]
@zhuzeyu22 zhuzeyu22 added the 🐞 bug Something isn't working label Oct 17, 2023
@erha19
Copy link
Member

erha19 commented Oct 17, 2023

这个问题之前遇到过类似问题,可以自行排查一下 electron/electron#35801

可能是错误的 Electron 版本中使用部分原生 API 导致的闪退

@zhuzeyu22
Copy link
Contributor Author

这个问题之前遇到过类似问题,可以自行排查一下 electron/electron#35801

可能是错误的 Electron 版本中使用部分原生 API 导致的闪退

目前使用的是
node/14.17.6/x64 (Fermium) [current] [default]

"electron": "18.3.4",
"electron-builder": "^23.6.0",
"electron-devtools-installer": "^3.2.0",
"electron-rebuild": "^3.2.9",

@zhuzeyu22
Copy link
Contributor Author

zhuzeyu22 commented Oct 17, 2023

这个问题之前遇到过类似问题,可以自行排查一下 electron/electron#35801

可能是错误的 Electron 版本中使用部分原生 API 导致的闪退

补充,该编译打包后的版本在大部分计算机上正常运行,有问题的计算机型号为:
acer暗影骑士擎
win11家庭版 Acer Nitro AN5-58

@erha19
Copy link
Member

erha19 commented Oct 17, 2023

@zhuzeyu22 单一机型的问题可能就是系统级别的问题,可以尝试升级一下 Electron 版本看是否能解决

@zhuzeyu22
Copy link
Contributor Author

@zhuzeyu22 单一机型的问题可能就是系统级别的问题,可以尝试升级一下 Electron 版本看是否能解决

是的,似乎是系统级别的问题,同型号机型其他的设备是正常使用的,可能是系统环境受到了影响,正在尝试清理系统环境。

@zhuzeyu22
Copy link
Contributor Author

zhuzeyu22 commented Oct 17, 2023

@zhuzeyu22 单一机型的问题可能就是系统级别的问题,可以尝试升级一下 Electron 版本看是否能解决

尝试在 electron 层使用

// 提高兼容性
app.disableDomainBlockingFor3DAPIs();
app.disableHardwareAcceleration();

但是似乎没有效果

@opensumi
Copy link
Contributor

opensumi bot commented Oct 25, 2023

Hello, @zhuzeyu22, the information you provided is not enough for us to troubleshoot the problem. Please explain the reproduction steps in detail. Thanks so much for your cooperation! The issue will be closed without any replay within 15 days.

你好 @zhuzeyu22,你所提供的信息不足于我们排查问题, 请提供一个可以复现的案例,可以通过我们的起步项目 ide-startup 进行尝试复现你的问题, 谢谢! 15 天内未回复 issue 自动关闭。

@zhuzeyu22
Copy link
Contributor Author

使用 --disable-sandox 临时解决该问题

@erha19 erha19 closed this as completed Oct 30, 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 🧐 need reproduce
Projects
None yet
Development

No branches or pull requests

2 participants