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

开启输入法时运行QT GUI程序,weasel.dll会引起崩溃 #1448

Open
3 tasks
ZHCSOFT opened this issue Dec 12, 2024 · 2 comments
Open
3 tasks

开启输入法时运行QT GUI程序,weasel.dll会引起崩溃 #1448

ZHCSOFT opened this issue Dec 12, 2024 · 2 comments

Comments

@ZHCSOFT
Copy link

ZHCSOFT commented Dec 12, 2024

上报前请检查

  • 我遇到的问题没有其他人在 issue 里提到过
  • 我的小狼毫版本于 rime/weasel 下载
  • 我在使用小狼毫的最新发布版本,或最新发布版本后的 CI 构建

操作系统信息

  • OS 详细版本: Windows 11 Pro N OS Build 26100.2605
  • 小狼毫版本: 0.16.3.0

描述遇到的问题
运行自行开发的QT-GUI程序,在窗口渲染成功之前出现因 weasel.dll 异常导致的崩溃
位于 dllmain.cpp 的第65行:
'''
if (!InitializeCriticalSectionAndSpinCount(&g_cs, 0))
'''

Screenshot 2024-12-12 100741

Screenshot 2024-12-12 100454

复现步骤
重现问题的步骤,如:

  1. 在Visual Studio 2022中打开C++ - QT开发的GUI软件
  2. 捕获异常

用户文件
请于此附上 weasel 用户文件夹下的内容,方便开发者调试问题

截图
如果问题需要,可附上 GIF 图片

其他补充说明
如果有其他补充说明,可以写在这里

@ZHCSOFT
Copy link
Author

ZHCSOFT commented Dec 12, 2024

Screenshot 2024-12-12 101434

@fxliang
Copy link
Contributor

fxliang commented Dec 12, 2024

你可以试将这个0改成 4000,编译weasel并重新安装看看情况有没有改善解决

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

2 participants