Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Potential problems on Windows due to conflicting CRT libraries

Đang mở
#23,713 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@bellenot đang làm issue này rồi.

Từ ngày 14/10/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

improvement in:Core Libraries
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

Ngôn ngữ chính
C++
Star
3.3k
Fork
1.6k
Merge trung bình
2 ngày 14 giờ
Pull request đã merge (30 ngày)
198

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của root-project/root

Tất cả issue của root-project/root

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.