tadeja commented on PR #49961:
URL: https://github.com/apache/arrow/pull/49961#issuecomment-4450663500

   Minimal standalone repro for MinGW gcc 16.1 shared_ptr/weak_ptr regression:
   
https://github.com/tadeja/arrow/blob/6a0cc7aa572eac9f3d6065463f73c3d74cf56503/cpp/tools/gh-49958-mingw-bad-weak-ptr-repro.cc
   
   [Logs of the failing job AMD64 Windows MinGW MINGW64 
C++](https://github.com/apache/arrow/actions/runs/25857678307/job/75979557628?pr=49961#step:6:1)
 :
   ```bash
   Run g++ - v
           g++ \ ...
   Thread model: posix
   Supported LTO compression algorithms: zlib zstd
   gcc version 16.1.0 (Rev3, Built by MSYS2 project) 
   Error: Process completed with exit code 127.
   ```
   ---
   
   The same source built in the same MSYS2 environment with `clang` + `libc++` 
runs OK for the configured duration (32 threads, 30 seconds, ~80M successful 
weak_ptr.lock() + shared_from_this() iterations)
   [Logs of AMD64 Windows MinGW CLANG64 
C++](https://github.com/apache/arrow/actions/runs/25857678307/job/75979557607?pr=49961#step:6:1)
 :
   ```bash
   Run clang++ -v ...
   clang version 22.1.4 (https://github.com/msys2/MINGW-packages 
42681e05ad3617c25e48a935a48eddc72a3ac7e2)
   Target: x86_64-w64-windows-gnu
   Thread model: posix
   InstalledDir: D:/a/_temp/msys64/clang64/bin
   done: stage=6 checks=81223917 lock_ok=81223917 lock_fail=0 
check_enter=81223917 check_ok=81223917 bad_weak_ptr=0 impossible_expired=0
   No failure observed in this run
   ```
   
   [bad_weak_ptr repro Ubuntu 
GCC](https://github.com/apache/arrow/actions/runs/25857678307/job/75979557566?pr=49961#step:3:28)
 :
   ```bash
   Run g++ ...
   [done: stage=6 checks=23082825 lock_ok=23082825 lock_fail=0 
check_enter=23082825 check_ok=23082825 bad_weak_ptr=0 impossible_expired=0
   No failure observed in this 
run](https://github.com/apache/arrow/actions/runs/25857678307/job/75979557566?pr=49961#step:3:29)
   ```
   
   [bad_weak_ptr repro Ubuntu 
Clang](https://github.com/apache/arrow/actions/runs/25857678307/job/75979557627?pr=49961#step:3:29)
 :
   ```bash
   Run clang++ ...
   done: stage=6 checks=20968808 lock_ok=20968808 lock_fail=0 
check_enter=20968808 check_ok=20968808 bad_weak_ptr=0 impossible_expired=0
   No failure observed in this run
   ```
   
   [bad_weak_ptr repro macOS 
Clang](https://github.com/apache/arrow/actions/runs/25857678307/job/75979557573?pr=49961#step:3:23)
 :
   ```bash
   Run clang++ ...
   done: stage=6 checks=18397767 lock_ok=18397767 lock_fail=0 
check_enter=18397767 check_ok=18397767 bad_weak_ptr=0 impossible_expired=0
   No failure observed in this run
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to