Skip to content
Tcl Source Code History Of Ticket 8d71525c18
Login

History Of Ticket 8d71525c18

Artifacts Associated With Ticket 8d71525c18

  1. Ticket change [c24d92e439] (rid 208838) by fxcoudert on 2023-02-17 13:27:38:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-plain"
    4. comment initialized to:
      The crash was observed within Homebrew testing: https://github.com/Homebrew/homebrew-core/issues/122541 and https://github.com/Homebrew/homebrew-core/pull/123513
      
      It occurs only on macOS 13 (not earlier versions) and for ARM processors.
      
      $ expect -v                                   
      expect version 5.45.4
      $ echo "exec true; puts Done" | expect                  
      child killed: segmentation violation
          while executing
      "exec true"
      
      
      The backtrace is the following:
      
      Crashed Thread:        0  Dispatch queue: com.apple.main-thread
      
      Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
      Exception Codes:       KERN_INVALID_ADDRESS at 0x03c9039c00840081 -> 0xffff839c00840081 (possible pointer authentication failure)
      Exception Codes:       0x0000000000000001, 0x03c9039c00840081
      
      Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
      Terminating Process:   exc handler [91230]
      
      VM Region Info: 0xffff839c00840081 is not in any region.  Bytes after previous region: 18446501751126491266  
            REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
            MALLOC_NANO (reserved)   600018000000-600020000000 [128.0M] rw-/rwx SM=NUL  ...(unallocated)
      --->  
            UNUSED SPACE AT END
      
      Application Specific Information:
      crashed on child side of fork pre-exec
      
      
      Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
      0   dyld                          	       0x1a9536dc8 dyld4::APIs::_dyld_fork_child() + 48
      1   dyld                          	       0x1a9536db0 dyld4::APIs::_dyld_fork_child() + 24
      2   libSystem.B.dylib             	       0x1b4ee1a50 libSystem_atfork_child + 44
      3   libsystem_c.dylib             	       0x1a970f9f0 fork + 112
      4   libtcl8.6.dylib               	       0x10444566c TclpCreateProcess + 212
      5   libtcl8.6.dylib               	       0x10441a744 TclCreatePipeline + 2332
      6   libtcl8.6.dylib               	       0x10441aaa8 Tcl_OpenCommandChannel + 80
      7   libtcl8.6.dylib               	       0x1043fbecc Tcl_ExecObjCmd + 460
      8   libtcl8.6.dylib               	       0x104363104 TclNRRunCallbacks + 80
      9   libtcl8.6.dylib               	       0x104364124 TclEvalEx + 1640
      10  libtcl8.6.dylib               	       0x104364a58 Tcl_Eval + 40
      11  libexpect5.45.4.dylib         	       0x1041c4ad4 exp_interpret_cmdfile + 188
      12  expect                        	       0x1040efe0c main + 168
      13  dyld                          	       0x1a94ffe50 start + 2544
      
    5. foundin initialized to: "8.6.13"
    6. is_private initialized to: "0"
    7. login: "fxcoudert"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "2133665594e72b6dbcbc4ebe5c08ff3fbc08b489"
    10. resolution initialized to: "None"
    11. severity initialized to: "Severe"
    12. status initialized to: "Open"
    13. submitter initialized to: "fxcoudert"
    14. subsystem initialized to: "45. Parsing and Eval"
    15. title initialized to:
      expect 5.45.4 + tcl 8.6.13 segfault on macOS 13 (Ventura)
      
    16. type initialized to: "Bug"