Overview
| Artifact ID: | be2f8778bb6fcd57e40a2ed7bb40c9409b998aee |
|---|---|
| Ticket: | 408840ffffffffffffffffffffffffffffffffff
Patch for TIP 17 |
| User & Date: | dgp on 2001-03-21 21:47:21 |
Changes
- icomment:
Logged In: YES user_id=80530 Here's one test case on one of my old Linux boxes. I see similar problems with newer installations. $ uname -a Linux rhea 2.0.35 #1 Tue Jul 14 23:56:39 EDT 1998 i686 unknown $ cd tcl/unix $ ./configure --disable-shared --enable-symbols ... $ make ... $ gdb ./tclsh ... (gdb) run Starting program: /home/dgporter/cvs/tcl/unix/./tclsh % set a 1 Program received signal SIGSEGV, Segmentation fault. chunk_alloc (ar_ptr=0x400bebd0, nb=136) at malloc.c:2622 malloc.c:2622: No such file or directory. (gdb) bt #0 chunk_alloc (ar_ptr=0x400bebd0, nb=136) at malloc.c:2622 #1 0x40069fa5 in __libc_malloc (bytes=130) at malloc.c:2566 #2 0x80dc001 in TclpAlloc (nbytes=130) at ./../generic/tclAlloc.c:671 #3 0x806cddc in Tcl_Alloc (size=130) at ./../generic/tclCkalloc.c:983 #4 0x805ad76 in Tcl_NewStringObj ( bytes=0x810e7ea "\n variable history\n if {![info exists history]} {\n\tarray set history {\n\t nextid\t0\n\t keep\t20\n\t oldest\t-20\n\t}\n }\n}\n\n# history --\n#\n#\tThis is the main history command. See the man page"..., length=129) at ./../generic/tclStringObj.c:208 #5 0x8056f31 in Tcl_EvalTokens (interp=0x80f1a70, tokenPtr=0xbfffe1b4, count=1) at ./../generic/tclParse.c:1259 #6 0x805717d in Tcl_EvalEx (interp=0x80f1a70, script=0x810e5a8 "# history.tcl --\n#\n# Implementation of the history command.\n#\n# RCS: @(#) $Id: history.tcl,v 1.4 2000/05/15 21:48:44 ericm Exp $\n#\n# Copyright (c) 1997 Sun Microsystems, Inc.\n#\n# See the file \"license"..., numBytes=9002, flags=0) at ./../generic/tclParse.c:1381 #7 0x80b0cad in Tcl_FSEvalFile (interp=0x80f1a70, fileName=0x8106798) at ./../generic/tclIOUtil.c:995 #8 0x8076822 in Tcl_SourceObjCmd (dummy=0x0, interp=0x80f1a70, objc=2, objv=0x80f9128) at ./../generic/tclCmdMZ.c:886 #9 0x8056929 in EvalObjv (interp=0x80f1a70, objc=2, objv=0x80f9128, command=0x80dd9aa "", length=0, flags=262144) at ./../generic/tclParse.c:932 #10 0x8056aab in Tcl_EvalObjv (interp=0x80f1a70, objc=2, objv=0x80f9128, flags=262144) at ./../generic/tclParse.c:1019 #11 0x8068d0b in Tcl_EvalObjEx (interp=0x80f1a70, objPtr=0x81067c8, flags=262144) at ./../generic/tclBasic.c:2679 #12 0x8058d44 in Tcl_UplevelObjCmd (dummy=0x0, interp=0x80f1a70, objc=1, objv=0x80f340c) at ./../generic/tclProc.c:604 #13 0x808fed6 in TclExecuteByteCode (interp=0x80f1a70, codePtr=0x80fd3c0) at ./../generic/tclExecute.c:874 #14 0x8069012 in Tcl_EvalObjEx (interp=0x80f1a70, objPtr=0x80fa140, flags=0) at ./../generic/tclBasic.c:2837 #15 0x805947f in TclObjInterpProc (clientData=0x80fa3d0, interp=0x80f1a70, objc=3, objv=0x80f33f8) at ./../generic/tclProc.c:1014 #16 0x808fed6 in TclExecuteByteCode (interp=0x80f1a70, codePtr=0x80ff8b8) at ./../generic/tclExecute.c:874 #17 0x8069012 in Tcl_EvalObjEx (interp=0x80f1a70, objPtr=0x80fa260, flags=0) at ./../generic/tclBasic.c:2837 #18 0x805947f in TclObjInterpProc (clientData=0x80fa688, interp=0x80f1a70, objc=4, objv=0x80f33e8) at ./../generic/tclProc.c:1014 #19 0x808fed6 in TclExecuteByteCode (interp=0x80f1a70, codePtr=0x80fc9c8) at ./../generic/tclExecute.c:874 #20 0x8069012 in Tcl_EvalObjEx (interp=0x80f1a70, objPtr=0x80f07f0, flags=131072) at ./../generic/tclBasic.c:2837 #21 0x80a25db in Tcl_RecordAndEvalObj (interp=0x80f1a70, cmdPtr=0x80fa128, flags=0) at ./../generic/tclHistory.c:133 #22 0x8053bc4 in Tcl_Main (argc=1, argv=0xbffff8f0, appInitProc=0x805353c <Tcl_AppInit>) at ./../generic/tclMain.c:315 #23 0x805352a in main (argc=1, argv=0xbffff8f0) at ./../unix/tclAppInit.c:99 - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"