Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 849f7abd698cab9f185e4ea538b761f5b5c1756c
Ticket: 1743302fffffffffffffffffffffffffffffffff
[evalstats] audit
User & Date: das on 2007-06-26 02:40:25
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. 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
    
    
  4. foundin changed to: "obsolete: 8.5a6"
  5. is_private changed to: "0"
  6. priority changed to: "9 Immediate"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "das"
  10. subsystem changed to: "41. Memory Allocation"
  11. title changed to: "TclStackAlloc crash in TCL_COMPILE_DEBUG build"
  12. type changed to: "Bug"