Skip to content
Tcl Source Code History Of Ticket 218858
Login

History Of Ticket 218858

Artifacts Associated With Ticket 218858

  1. Ticket change [4e1effef11] (rid 127172) by nobody on 2000-10-26 01:06:46:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 2427 Bug
      Version: 8.2b1
      SubmitDate: '1999-07-21'
      LastModified: '1999-07-22'
      Severity: CRIT
      Status: Released
      Submitter: techsupp
      ChangedBy: redman
      OS: Solaris
      OSVersion: SunOS sssue450 5.5.1 Generic_103640-24 sun4u sparc SUNW,Ultra-4
      Machine: Other
      FixedDate: '1999-07-22'
      FixedInVersion: 8.2b2
      ClosedDate: '2000-10-25'
      
      
      Name:
      Jay Schmidgall
      
      ReproducibleScript:
      array set anArray(anArrayElement) {}
          
          causes a segmentation violation in tcl8.2b1 as well as tcl8.1.1
      
      ObservedBehavior:
      sssue450:.../tclhttpd2.2/lib>  ~/bin/sun-elf/bin/tclsh8.2
          % array set foo(foo) {}
          Segmentation fault (core dumped)
          sssue450:.../tclhttpd2.2/lib> dbx ~/bin/sun-elf/bin/tclsh8.2 core
          Reading symbolic information for /home/fos/jay/bin/sun-elf/bin/tclsh8.2
          core file header read successfully
          Reading symbolic information for rtld /usr/lib/ld.so.1
          Reading symbolic information for /home/fos/jay/lib/libtcl8.2.so
          Reading symbolic information for /lib/libdl.so.1
          Reading symbolic information for /lib/libsocket.so.1
          Reading symbolic information for /lib/libnsl.so.1
          Reading symbolic information for /lib/libm.so.1
          Reading symbolic information for /lib/libc.so.1
          Reading symbolic information for /lib/libintl.so.1
          Reading symbolic information for /lib/libmp.so.1
          Reading symbolic information for /lib/libw.so.1
          Reading symbolic information for
          /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
          program terminated by signal SEGV (no mapping at the fault address)
          Current function is TclArraySet
           3261       TclSetVarArray(varPtr);
          (dbx) where
          =>[1] TclArraySet(interp = 0x23798, arrayNameObj = 0x2ae60, arrayElemObj
          = 0x231b0), line 3261 in
          "/home/fos/jay/src/tcl8.2b1/unix/../generic/tclVar.c"
            [2] Tcl_ArrayObjCmd(dummy = (nil), interp = 0x23798, objc = 4, objv =
          0x259b0), line 3108 in
          "/home/fos/jay/src/tcl8.2b1/unix/../generic/tclVar.c"
            [3] TclExecuteByteCode(interp = 0x23798, codePtr = 0x2a498), line 844
          in "/home/fos/jay/src/tcl8.2b1/unix/../generic/tclExecute.c"
            [4] Tcl_EvalObjEx(interp = 0x23798, objPtr = 0x2b3d0, flags = 0), line
          2698 in "/home/fos/jay/src/tcl8.2b1/unix/../generic/tclBasic.c"
            [5] Tcl_RecordAndEvalObj(interp = 0x23798, cmdPtr = 0x2b3d0, flags =
          0), line 142 in
          "/home/fos/jay/src/tcl8.2b1/unix/../generic/tclHistory.c"
            [6] Tcl_Main(argc = 1, argv = 0xeffff9c4, appInitProc =
          &Tcl_AppInit(Tcl_Interp *interp) at 0x10ab8), line 236 in
          "/home/fos/jay/src/tcl8.2b1/unix/../generic/tclMain.c"
            [7] main(argc = 1, argv = 0xeffff9c4), line 83 in
          "/home/fos/jay/src/tcl8.2b1/unix/../unix/tclAppInit.c"
          (dbx)
      
      DesiredBehavior:
      sssue450:.../tclhttpd2.2/lib>  ~/bin/sun-elf/bin/tclsh8.2
          % array set foo(foo) {}
          %
          
          or perhaps
          
          sssue450:.../tclhttpd2.2/lib>  ~/bin/sun-elf/bin/tclsh8.2
          % array set foo(foo) {}
          can't set "foo(foo)": variable isn't array
          
          which would be similar to
          % array set foo(foo) { bar baz }
          can't set "foo(foo)(bar)": variable isn't array
      
      
      
      This is definitely a bug.
       
      -- 07/22/1999 redman
      
      Fixed the problem, now gives an error for "array set a(b) {}"
       
      -- 07/22/1999 redman
      
    4. foundin initialized to: "obsolete: 8.2b1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to: "Tclsh dumps core when performing array set"
    11. type initialized to: "Bug"
  2. Ticket change [ec9cb8b059] (rid 103735) by welch on 2000-10-26 08:30:14:

    1. closedate changed to: "2000-10-26T01:30:14"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Deleted"
  3. Ticket change [015d75ca8d] (rid 119470) by dgp on 2001-04-18 21:45:44:

    1. closedate changed to: "2001-04-18T14:45:44"
    2. closer changed to: "dgp"
    3. subsystem changed to: "07. Variables"