You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

WinDbg Preview中通过pykd导入numpy致调试器冻结问题求助

WinDbg Preview导入numpy导致调试器冻结问题

在使用WinDbg Preview 1.2210.3001.0搭配pykd 0.3.4.15时,导入numpy会导致调试器冻结,状态栏长时间(可能永久)显示BUSY。

问题隔离测试结果

  • 使用WinDbg 10.0.22621.755 AMD64(非Preview版本)不会复现该问题
  • 导入其他模块无此问题
  • 无论是否使用pykd引导程序,问题均会复现
  • pykd的其他功能均可正常使用
  • 无论是在交互模式(如下方示例)还是通过脚本(以!py -g、!py -l、!py -m等方式运行)导入numpy,问题都会复现

系统配置及复现步骤示例

0: kd> version
Microsoft (R) Windows Debugger Version 10.0.25200.1003 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.

Extension DLL chain:
    pykd.dll: image 2.0.0.25, API 0.0.0, built Wed Jan  6 04:35:42 2021

0: kd> !pykd.info
pykd bootstrapper version: 2.0.0.25

Installed python:

Version:        Status:     Image:
------------------------------------------------------------------------------
* 3.9 x86-64    Loaded      C:\Users\redacted\AppData\Local\Programs\Python\Python39\python39.dll

0: kd> !py
Python 3.9.12 (tags/v3.9.12:b28265d, Mar 23 2022, 23:52:46) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> import numpy

预期结果

预期上述操作中import numpy能成功完成,调试器能在短时间内退出BUSY状态,而非冻结。

内容的提问来源于stack exchange,提问作者MickeyRandall4

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.30 23:24:41