Skip to content
Tcl Source Code History Of Ticket 1743302fffffffff
Login

History Of Ticket 1743302fffffffff

Artifacts Associated With Ticket 1743302fffffffff

  1. Ticket change [849f7abd69] (rid 117588) by das on 2007-06-26 02:40:25:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The recent TclStackAlloc changes appear to have broken the TCL_COMPILE_DEBUG build:
      
      $ ../tcl/unix/configure --enable-symbols=compile
      $ make gdb
      gdb ./tclsh --command=gdb.run
      GNU gdb 6.3.50-20050815 (Apple version gdb-573) (Fri Oct 20 15:50:43 GMT 2006)
      Copyright 2004 Free Software Foundation, Inc.
      GDB is free software, covered by the GNU General Public License, and you are
      welcome to change it and/or distribute copies of it under certain conditions.
      Type "show copying" to see the conditions.
      There is absolutely no warranty for GDB.  Type "show warranty" for details.build
      This GDB was configured as "i386-apple-darwin"...
      Reading symbols for shared libraries .... done
      
      (gdb) r
      Starting program: /TclTk/build/tclsh 
      Reading symbols for shared libraries . done
      Reading symbols for shared libraries ..... done
      
      Program received signal EXC_BAD_ACCESS, Could not access memory.
      Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
      0x0a069707 in GrowEvaluationStack (eePtr=0x0, growth=5, move=0) at /TclTk/tcl/generic/tclExecute.c:657
      657         ExecStack *esPtr = eePtr->execStackPtr, *oldPtr = NULL;
      (gdb) bt
      #0  0x0a069707 in GrowEvaluationStack (eePtr=0x0, growth=5, move=0) at /TclTk/tcl/generic/tclExecute.c:657
      #1  0x0a0699cb in StackAllocWords (interp=0x13008, numWords=5) at /TclTk/tcl/generic/tclExecute.c:794
      #2  0x0a069b4c in TclStackAlloc (interp=0x13008, numBytes=20) at /TclTk/tcl/generic/tclExecute.c:876
      #3  0x0a0b54db in TclResetShadowedCmdRefs (interp=0x13008, newCmdPtr=0xb708) at /TclTk/tcl/generic/tclNamesp.c:2659
      #4  0x0a0132e1 in Tcl_CreateObjCommand (interp=0x13008, cmdName=0xa1093ec "evalstats", proc=0xa085f24 <EvalStatsCmd>, clientData=0x0, deleteProc=0) at /TclTk/tcl/generic/tclBasic.c:1976
      #5  0x0a069320 in InitByteCodeExecution (interp=0x13008) at /TclTk/tcl/generic/tclExecute.c:482
      #6  0x0a069488 in TclCreateExecEnv (interp=0x13008) at /TclTk/tcl/generic/tclExecute.c:536
      #7  0x0a0115b5 in Tcl_CreateInterp () at /TclTk/tcl/generic/tclBasic.c:473
      #8  0x0a0b1a68 in Tcl_Main (argc=1, argv=0xbffff5c8, appInitProc=0x26b7 <Tcl_AppInit>) at /TclTk/tcl/generic/tclMain.c:349
      #9  0x000026ac in main (argc=1, argv=0xbffff5c8) at /TclTk/tcl/unix/tclAppInit.c:87
      
      
    4. foundin initialized to: "obsolete: 8.5a6"
    5. is_private initialized to: "0"
    6. priority initialized to: "9 Immediate"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "das"
    10. subsystem initialized to: "41. Memory Allocation"
    11. title initialized to: "TclStackAlloc crash in TCL_COMPILE_DEBUG build"
    12. type initialized to: "Bug"
  2. Ticket change [59064c0458] (rid 117903) by dgp on 2007-06-26 10:02:45:

    1. assignee changed to: "msofer"
    2. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      For safety, I'll add the
      fallback checks to include
      a check for the case that
      iPtr->eePtr == NULL to prevent
      crashes like this.
      
      That said, the [evalstats]
      command is rather weird and
      strangely placed.  It's a command
      getting created in an interp
      before that interp is fully
      initialized.  Stranger still,
      it's a command that apparently
      gets created in only the first
      interp created in the process.
      Someone more familiar with this
      command, and what it's supposed
      to do, should consider what needs
      doing for better thread safety,
      multi-interp availability, etc.
      for this debugging command, and
      also whether it really is best
      created where it is created.
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. subsystem changed to: "47. Bytecode Compiler"
    6. username: "dgp"
  3. Ticket change [74a5fd1954] (rid 105244) by dgp on 2007-06-26 10:12:36:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      crash prevention fix committed.
      
      dropping prio for the remaining
      code review issues.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. priority changed to: "5 Medium"
    5. username: "dgp"
  4. Ticket change [c146c31969] (rid 111295) by msofer on 2008-09-13 13:09:29:

    1. closedate changed to: "2008-09-13T06:09:29"
    2. closer changed to: "msofer"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"
  5. Ticket change [a5554fe405] (rid 110356) by dgp on 2008-09-15 11:51:33:

    1. assignee changed to: "dgp"
    2. icomment:
      not clear whether the code review
      mentioned before got done.
      
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. priority changed to: "3 Low"
    6. status changed to: "Open"
    7. username: "dgp"
  6. Ticket change [d4776eea25] (rid 141718) by dgp on 2015-05-11 17:29:26:

    1. closer changed to: "nobody"
    2. comment changed to:
      The recent TclStackAlloc changes appear to have broken the TCL_COMPILE_DEBUG build:
      
      $ ../tcl/unix/configure --enable-symbols=compile
      $ make gdb
      gdb ./tclsh --command=gdb.run
      GNU gdb 6.3.50-20050815 (Apple version gdb-573) (Fri Oct 20 15:50:43 GMT 2006)
      Copyright 2004 Free Software Foundation, Inc.
      GDB is free software, covered by the GNU General Public License, and you are
      welcome to change it and/or distribute copies of it under certain conditions.
      Type "show copying" to see the conditions.
      There is absolutely no warranty for GDB.  Type "show warranty" for details.build
      This GDB was configured as "i386-apple-darwin"...
      Reading symbols for shared libraries .... done
      
      (gdb) r
      Starting program: /TclTk/build/tclsh 
      Reading symbols for shared libraries . done
      Reading symbols for shared libraries ..... done
      
      Program received signal EXC_BAD_ACCESS, Could not access memory.
      Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
      0x0a069707 in GrowEvaluationStack (eePtr=0x0, growth=5, move=0) at /TclTk/tcl/generic/tclExecute.c:657
      657         ExecStack *esPtr = eePtr->execStackPtr, *oldPtr = NULL;
      (gdb) bt
      #0  0x0a069707 in GrowEvaluationStack (eePtr=0x0, growth=5, move=0) at /TclTk/tcl/generic/tclExecute.c:657
      #1  0x0a0699cb in StackAllocWords (interp=0x13008, numWords=5) at /TclTk/tcl/generic/tclExecute.c:794
      #2  0x0a069b4c in TclStackAlloc (interp=0x13008, numBytes=20) at /TclTk/tcl/generic/tclExecute.c:876
      #3  0x0a0b54db in TclResetShadowedCmdRefs (interp=0x13008, newCmdPtr=0xb708) at /TclTk/tcl/generic/tclNamesp.c:2659
      #4  0x0a0132e1 in Tcl_CreateObjCommand (interp=0x13008, cmdName=0xa1093ec "evalstats", proc=0xa085f24 <EvalStatsCmd>, clientData=0x0, deleteProc=0) at /TclTk/tcl/generic/tclBasic.c:1976
      #5  0x0a069320 in InitByteCodeExecution (interp=0x13008) at /TclTk/tcl/generic/tclExecute.c:482
      #6  0x0a069488 in TclCreateExecEnv (interp=0x13008) at /TclTk/tcl/generic/tclExecute.c:536
      #7  0x0a0115b5 in Tcl_CreateInterp () at /TclTk/tcl/generic/tclBasic.c:473
      #8  0x0a0b1a68 in Tcl_Main (argc=1, argv=0xbffff5c8, appInitProc=0x26b7 <Tcl_AppInit>) at /TclTk/tcl/generic/tclMain.c:349
      #9  0x000026ac in main (argc=1, argv=0xbffff5c8) at /TclTk/tcl/unix/tclAppInit.c:87
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. severity changed to: "Minor"
    6. title changed to: "[evalstats] audit"