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

扩展宿主意外终止 #536

Closed
degawong opened this issue Sep 1, 2021 · 6 comments
Closed

扩展宿主意外终止 #536

degawong opened this issue Sep 1, 2021 · 6 comments
Labels
bug Something isn't working

Comments

@degawong
Copy link

degawong commented Sep 1, 2021

Describe the bug
扩展宿主意外终止

Error information
{bfeb6848-04cb-4090-9776-a4e27e8018ec}

Server logs
文件夹为空,安装之后点击按钮右下角就返回扩展宿主意外终止

Environment
{f8d95f5a-033f-45a5-b141-1f85d9d04836}

@degawong degawong added the bug Something isn't working label Sep 1, 2021
@degawong
Copy link
Author

degawong commented Sep 1, 2021

#503linux arm,此issuewindows平台

@YXL76
Copy link
Owner

YXL76 commented Sep 1, 2021

尝试关闭regex workbench

@YXL76
Copy link
Owner

YXL76 commented Sep 1, 2021

我看到不少类似的问题:regexworkbench#14regexworkbench#15

@degawong
Copy link
Author

degawong commented Sep 1, 2021

谢谢 @YXL76 ,我把regex workbench禁用之后,可以正常使用了,希望有时间可以解决下这个问题,谢谢你的贡献

@yume-chan
Copy link
Contributor

yume-chan commented Sep 15, 2021

See stephen-riley/pcre2-wasm#3

是那边用的 Emscripten 默认会监听进程的 uncaughtException 和 unhandledRejection 然后 crash 进程。

const socket = connect({ path: this._path }).setEncoding("utf8");
const listener = () => {
socket.destroy();
if (remain > 0) setTimeout(() => setTimer(remain - 1), 512);
else resolve(undefined);
};
socket
.once("connect", () => {
setTimeout(() => resolve(socket), 512);
socket.off("close", listener);
})
.once("close", listener);

可能是这里 socket 的 error 没捕获,触发了 uncaughtException

@YXL76
Copy link
Owner

YXL76 commented Sep 15, 2021

v9.2.4中修复

@YXL76 YXL76 closed this as completed Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants