Assert when collecting backtraces
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- rust
调研方向
从 lib.rs:688 中的 gpu_allocator::VulkanAllocator::allocate 开始,沿着经过 gpu_allocator_wrapper.rs:100 的已报告调用路径进行调查,然后检查 src/dbghelp.rs:315 中 backtrace crate 的断言。在启用 store_stack_traces 的情况下复现或分析 Windows 崩溃;完成标准是 allocator 在收集 backtrace 时不再崩溃。
由索引模型根据 Issue 内容生成。
描述
When store_stack_traces is on (which it is by default) we occasionally get a crash in the backtrace crate. It would seem we're asserting in this line: https://github.com/rust-lang/backtrace-rs/blob/47069af003d7f4ca62f5b4517a43039c46dfc34d/src/dbghelp.rs#L315
OS Version: windows None (None)
Report Version: 104
Application Specific Information:
assertion failed: `(left == right)`
left: `128`,
right: `0`
Thread 0 Crashed:
0 std 0x7ff7e6d46b7c std::panicking::begin_panic_fmt (panicking.rs:437)
1 backtrace 0x7ff7e695cbdc backtrace::dbghelp::init (dbghelp.rs:315)
2 backtrace 0x7ff7e695b8f4 backtrace::symbolize::dbghelp::resolve (dbghelp.rs:76)
3 backtrace 0x7ff7e695995a [inlined] backtrace::symbolize::resolve_frame_unsynchronized (mod.rs:178)
4 backtrace 0x7ff7e695995a backtrace::symbolize::resolve_frame<T> (mod.rs:105)
5 backtrace 0x7ff7e6958ee8 backtrace::capture::Backtrace::resolve (capture.rs:232)
6 backtrace 0x7ff7e6958db5 backtrace::capture::Backtrace::new (capture.rs:141)
7 gpu_allocator 0x7ff7e6875c5f gpu_allocator::VulkanAllocator::allocate (lib.rs:688)
8 breda 0x7ff7e67c7a01 breda::renderer::vulkan::allocator::gpu_allocator_wrapper::{{impl}}::alloc (gpu_allocator_wrapper.rs:100)
...
- 主要语言
- Rust
- 星标
- 503
- 派生
- 87
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Traverse-Research/gpu-allocator 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
Traverse-Research/gpu-allocator#286 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 68/100
Traverse-Research/gpu-allocator#103 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 52/100
Traverse-Research/gpu-allocator#313 · 2 条评论 · 1 个 reaction ·
-
难度 5/5 一周以上 新手友好度 25/100
-
难度 3/5 1-2 天 新手友好度 65/100
查看 Traverse-Research/gpu-allocator 的全部 Issue
相似的 Issue
-
nn::linear: weight initialization depends on `bias` because the bias is created before the weight可能已有人在做 @monfortema 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
LaurentMazare/tch-rs#1067 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
FavioVazquez/mollify#62 ·
-
C-enhancement
难度 2/5 1-3 小时 新手友好度 68/100
obi1kenobi/cargo-semver-checks#1785 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 61/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
fendouai/awesome-deepseek-harness#125 ·
维护者通常 4 天内回复