Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2e31ee16bd84aa135b029cf984779552e6f6a0e066402a39df665602154b2b96
Ticket: c837eb353edd846b9f1b79b95432d65dd63d08cd
64 bit build of TCL coredumps in AIX
User & Date: Ayappan on 2021-03-17 13:55:04
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    I built tcl 8.6.10 in 64bit mode in AIX 7.1 with the below configuration.
    
    export CC="cc_r -q64"
    export CFLAGS="-g"
    export LDFLAGS="-Wl,-blibpath:/usr/opt/tcl_64/lib:/usr/lib:/lib"
    export OBJECT_MODE=64
    
    ./configure --prefix=/usr/opt/tcl_64 --enable-shared --enable-threads --enable-64bit
    gmake -j4
    
    While executing the built tclsh , it coredumps.
    
    # ./tclsh
    % ls
    Segmentation fault (core dumped)
    
    # dbx ./tclsh core
    Type 'help' for help.
    [using memory image in core]
    reading symbolic information ...
    
    Segmentation fault in unnamed block in TEBCresume at line 2372 in file "/final_tcl_tk_expect/tcl_64bit/tcl8.6.10/generic/tclExecute.c" ($t1)
     2372       inst = *pc;
    (dbx) where
    unnamed block in TEBCresume(data = 0x00000001100a8e98, interp = 0x000000011002c200, result = 0), line 2372 in "tclExecute.c"
    unnamed block in TEBCresume(data = 0x00000001100a8e98, interp = 0x000000011002c200, result = 0), line 2372 in "tclExecute.c"
    unnamed block in TEBCresume(data = 0x00000001100a8e98, interp = 0x000000011002c200, result = 0), line 2372 in "tclExecute.c"
    unnamed block in TEBCresume(data = 0x00000001100a8e98, interp = 0x000000011002c200, result = 0), line 2372 in "tclExecute.c"
    TEBCresume(data = 0x00000001100a8e98, interp = 0x000000011002c200, result = 0), line 2372 in "tclExecute.c"
    unnamed block in TclNRRunCallbacks(interp = 0x0ffffffffffff690, result = 0, rootPtr = 0x09001000a116f6f8), line 4492 in "tclBasic.c"
    TclNRRunCallbacks(interp = 0x0ffffffffffff690, result = 0, rootPtr = 0x09001000a116f6f8), line 4492 in "tclBasic.c"
    Tcl_EvalObjv(interp = 0x09001000a116f6f8, objc = 0, objv = 0x0000000000000001, flags = 0), line 4215 in "tclBasic.c"
    ReleaseData(dataPtr = (nil), ??, ??), line 172 in "tclOptimize.c"
    Tcl_MainEx(argc = 150994943, argv = (nil), appInitProc = (nil), interp = (nil)), line 520 in "tclMain.c"
    main(argc = 0, argv = (nil)), line 84 in "tclAppInit.c"
    (dbx)
    
    The "gmake test" also coredumps with the same stack.
    
  5. foundin changed to: "8.6.10"
  6. is_private changed to: "0"
  7. login: "Ayappan"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "04cbc137e7ca0524b5c2205dc84b3f5a1750114c"
  10. resolution changed to: "None"
  11. severity changed to: "Severe"
  12. status changed to: "Open"
  13. submitter changed to: "Ayappan"
  14. subsystem changed to: "47. Bytecode Compiler"
  15. title changed to: "64 bit build of TCL coredumps in AIX"
  16. type changed to: "Bug"