Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 16d2a048af7b46f299d4bf7ef6ad1b0def50457fc8250325da5bac57f966d43d
Ticket: 407b70361c1487732ef3e1fff67d61e60903431a
New test failures. Maybe unix pipe troubles?
User & Date: gustafn3 on 2023-07-24 17:31:46
Changes

  1. icomment:
    I can confirm the problem. It looks to me like a bug in the version of libc that is used in CentOS 7. The spawn call on CentOS returns a valid PID and a status code of 0, indicating success, while on other systems, the proper error code is returned.
    
    CentOS 7 ships with GNU libc 2.17, which was released 2012-12-25 (more than 10 years old). For example, Ubuntu 20.04 (not a forefront version, either) ships with GLIBC 2.31. The changelog of GNU libc shows various fixes for posix_spawn after 2.17.
    
    I will add a fix to the posix-spawn branch this evening or tomorrow.
    
  2. login: "gustafn3"
  3. mimetype: "text/plain"