Skip to content
Tcl Source Code History Of Ticket 218765ffffffffff
Login

History Of Ticket 218765ffffffffff

Artifacts Associated With Ticket 218765ffffffffff

  1. Ticket change [c57039d19e] (rid 112004) by nobody on 2000-10-26 01:05:06:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 2046 Bug
      Version: 8.1
      SubmitDate: '1999-05-12'
      LastModified: '1999-09-15'
      Severity: MED
      Status: Released
      Submitter: pat
      ChangedBy: hobbs
      OS: Other
      OSVersion: BSD/OS 4.0.1
      Machine: NA
      FixedDate: '1999-09-15'
      FixedInVersion: 8.2
      ClosedDate: '2000-10-25'
      
      
      Name:
      Robert Hare
      
      Extensions:
      None
      
      CustomShell:
      None
      
      ReproducibleScript:
      If the simple script:
                 for {set i 0} {i < 10000} {incr i} {}
          is executed from the tclsh it will return:
                 syntax error in expression "i < 10000"
          as expected.  However if the script is placed in a file and then
          sourced, the following error occurs:
                 Tcl_AppendStringsToObj called with shared object
                 Abort (core dumped)
      
      ObservedBehavior:
      It shouldn't fail.  I have compiled the libraries and tclsh with -g
          (debugging), however it still occurs on an "out-of-the-box" compilation.
           Here is a stack
          trace (LONG):
          
          #0  0xc110d65 in kill ()
          #1  0xc15ca5d in abort ()
          #2  0xc0bb6e5 in Tcl_PanicVA (
              format=0xc0e1889 "Tcl_AppendStringsToObj called with shared object",
          
              argList=0x8045c8c
          "L\222\f\f°\\\004\b#\224\f\fèâ\004\b¼\\\004\bè\237\016\f\t") at
          ./../generic/tclPanic.c:93
          #3  0xc0bb73d in Tcl_Panic (
              arg1=0xc0e1889 "Tcl_AppendStringsToObj called with shared object")
              at ./../generic/tclPanic.c:121
          #4  0xc0c9277 in Tcl_AppendStringsToObjVA (objPtr=0x804e2e8, 
              argList=0x8045cbc "Ì\\\004\b") at ./../generic/tclStringObj.c:420
          #5  0xc0c9423 in Tcl_AppendStringsToObj (arg1=0x804e2e8)
              at ./../generic/tclStringObj.c:514
          #6  0xc0bfb52 in LogSyntaxError (infoPtr=0x80460ec)
              at ./../generic/tclParseExpr.c:1828
          #7  0xc0bf1a5 in ParsePrimaryExpr (infoPtr=0x80460ec)
              at ./../generic/tclParseExpr.c:1419
          #8  0xc0be841 in ParseUnaryExpr (infoPtr=0x80460ec)
              at ./../generic/tclParseExpr.c:1087
          #9  0xc0be6c2 in ParseMultiplyExpr (infoPtr=0x80460ec)
              at ./../generic/tclParseExpr.c:1005
          #10 0xc0be5da in ParseAddExpr (infoPtr=0x80460ec)
              at ./../generic/tclParseExpr.c:943
          #11 0xc0be4f2 in ParseShiftExpr (infoPtr=0x80460ec)
              at ./../generic/tclParseExpr.c:881
          #12 0xc0be3da in ParseRelationalExpr (infoPtr=0x80460ec)
              at ./../generic/tclParseExpr.c:813
          #13 0xc0be2f2 in ParseEqualityExpr (infoPtr=0x80460ec)
              at ./../generic/tclParseExpr.c:751
          #14 0xc0be222 in ParseBitAndExpr (infoPtr=0x80460ec)
              at ./../generic/tclParseExpr.c:691
          #15 0xc0be152 in ParseBitXorExpr (infoPtr=0x80460ec)
              at ./../generic/tclParseExpr.c:630
          #16 0xc0be082 in ParseBitOrExpr (infoPtr=0x80460ec)
              at ./../generic/tclParseExpr.c:569
          #17 0xc0bdfb2 in ParseLandExpr (infoPtr=0x80460ec)
              at ./../generic/tclParseExpr.c:509
          #18 0xc0bdee2 in ParseLorExpr (infoPtr=0x80460ec)
              at ./../generic/tclParseExpr.c:449
          #19 0xc0bdcfb in ParseCondExpr (infoPtr=0x80460ec)
              at ./../generic/tclParseExpr.c:336
          #20 0xc0bdc55 in Tcl_ParseExpr (interp=0x8050000, 
              string=0x806b5e0 "i < 10000", numBytes=9, parsePtr=0x8046144)
              at ./../generic/tclParseExpr.c:276
          #21 0xc085e35 in TclCompileExpr (interp=0x8050000, 
              script=0x806b5e0 "i < 10000", numBytes=9, envPtr=0x8046328)
              at ./../generic/tclCompExpr.c:279
          #22 0xc07387a in Tcl_ExprObj (interp=0x8050000, objPtr=0x8059288, 
              resultPtrPtr=0x8046aec) at ./../generic/tclBasic.c:3664
          #23 0xc072cb8 in Tcl_ExprBooleanObj (interp=0x8050000, objPtr=0x8059288,
          
              ptr=0x8046b40) at ./../generic/tclBasic.c:3117
          #24 0xc078cde in Tcl_ForObjCmd (dummy=0x0, interp=0x8050000, objc=5, 
              objv=0x8046be4) at ./../generic/tclCmdAH.c:1562
          #25 0xc0bc3c9 in EvalObjv (interp=0x8050000, objc=5, objv=0x8046be4, 
              command=0x8054dc0 "for {set i 0} {i < 10000} {incr i} {\n}\n",
          length=39, 
              flags=0) at ./../generic/tclParse.c:923
          #26 0xc0bccac in Tcl_EvalEx (interp=0x8050000, 
              script=0x8054dc0 "for {set i 0} {i < 10000} {incr i} {\n}\n",
          numBytes=39, 
              flags=0) at ./../generic/tclParse.c:1384
          #27 0xc0b1b1f in Tcl_EvalFile (interp=0x8050000, fileName=0x804b350
          "/tmp/foo")
              at ./../generic/tclIOUtil.c:323
          #28 0xc07ed3f in Tcl_SourceObjCmd (dummy=0x0, interp=0x8050000, objc=2,
          
              objv=0x8051000) at ./../generic/tclCmdMZ.c:684
          #29 0xc093d22 in TclExecuteByteCode (interp=0x8050000,
          codePtr=0x8056c80)
              at ./../generic/tclExecute.c:843
          #30 0xc072326 in Tcl_EvalObjEx (interp=0x8050000, objPtr=0x804e048,
          flags=0)
              at ./../generic/tclBasic.c:2699
          #31 0xc0a3ae7 in Tcl_RecordAndEvalObj (interp=0x8050000,
          cmdPtr=0x804e048, 
              flags=0) at ./../generic/tclHistory.c:142
          #32 0xc0b581c in Tcl_Main (argc=1, argv=0x80477a0, 
              appInitProc=0x80485f8 <Tcl_AppInit>) at ./../generic/tclMain.c:236
          #33 0x80485e6 in main (argc=1, argv=0x80477a0) at
          ./../unix/tclAppInit.c:86
          #34 0x8048588 in __start ()
      
      DesiredBehavior:
      syntax error in expression "i < 10000"
      
      
      
      Fixed in 8.2. 
      -- 09/15/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.1"
    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: "Syntax error in script causes Abort"
    11. type initialized to: "Bug"
  2. Ticket change [2af032d782] (rid 118653) by welch on 2000-10-26 08:28:14:

    1. closedate changed to: "2000-10-26T01:28:14"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [6f8d41f549] (rid 100336) by dgp on 2001-04-18 07:06:24:

    1. closedate changed to: "2001-04-18T00:06:24"
    2. closer changed to: "dgp"
    3. subsystem changed to: "45. Parsing and Eval"