Potential problems on Windows due to conflicting CRT libraries
维护者通常 1 天内回复
@bellenot 已经在做这个了。
开始于 2026年10月14日。
评估
这个 Issue 还没有评估数据。
描述
Explain what you would like to see improved and how.
As we found in https://github.com/root-project/root/issues/22449, on Windows we can end up with different C Runtime (CRT) libraries loaded concurrently (https://github.com/root-project/root/pull/22986#issuecomment-5318274672).
One problem is that allocated objects cannot (at least sometimes) be transferred between compiled and interpreted code because the heap manager freeing the object is different from the one allocating it. For RVec, this is fixed/hidden in https://github.com/root-project/root/pull/22986 by using the C++ new/delete.
As Microsoft points out (https://learn.microsoft.com/en-us/cpp/c-runtime-library/potential-errors-passing-crt-objects-across-dll-boundaries) in principle also new/delete can be affected as well as other objects, e.g. file handles. Requires further investigation.
ROOT version
master
Installation method
From sources
Operating system
Windows
Additional context
No response
- 主要语言
- C++
- 星标
- 3.3k
- 派生
- 1.6k
- 平均合并
- 2 天 14 小时
- 30 天内合并 PR
- 198
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
root-project/root 的其他 Issue
-
thisroot.sh: wrong ROOTSYS in zsh when the shell's command line has a newline可能已有人在做 @dpiparo 于 2 天前认领。 未关闭bug in:Build System
难度 2/5 1-3 小时 新手友好度 86/100
root-project/root#23746 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[tmva][sofie] Inputs of unsupported type (e.g. float16) give code that does not compile instead of an error可能已有人在做 @lmoneta 于 12 天前认领。 未关闭AI-Assisted bug in:SOFIE
难度 2/5 1-3 小时 新手友好度 65/100
root-project/root#23655 · 已指派 1 人 ·
维护者通常 1 天内回复
-
in:Core Libraries
难度 4/5 3-5 天 新手友好度 48/100
root-project/root#23777 ·
维护者通常 1 天内回复
-
out of bound access when building TLegend可能已有人在做 @vepadulano 于 1 天前认领。 未关闭bug in:Graphics
root-project/root#23767 · 已指派 1 人 ·
维护者通常 1 天内回复
-
`TChain::GetEntries` internal caching ineffective?可能已有人在做 @pcanal 于 5 天前认领。 未关闭improvement in:TTree
root-project/root#23738 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 root-project/root 的全部 Issue
相似的 Issue
-
v9.6.0: CMake incorrectly enforces presence of libevdev可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 67/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 65/100
mltframework/shotcut#1943 ·
维护者通常 1 天内回复
-
Rowan (2017) electron heating gives NaN for beta > beta_max; clip() then sets electrons to kel_min未关闭
难度 2/5 1-3 小时 新手友好度 72/100
parthenon-hpc-lab/kharma#213 · 1 条评论 ·
维护者通常 3 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
metasequoiaime/msime#9113 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
tone-3000/tone3000-plugin#257 · 1 条评论 ·
维护者通常 1 天内回复