Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8a7f59bf45fb6d938cf83723feacac48b5204f57786efb239197e8bf4ad880a6
Ticket: fec0c17d39db02faffa101ebb605d0958dbf3466
segfault compiling deeply nested [catch]
User & Date: dgp on 2017-11-28 13:30:41
Changes

  1. icomment:
    
    Script results in a deeply recursive call stack compiling the script.  Here's one round of it:
    
    #35003 0x00000000004bfebe in TclCompileScript (interp=0x828378, 
        script=0x7ffff7e0319f "catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catc"..., 
        numBytes=0, envPtr=0x7fffffffbef0)
        at /home/dgp/fossil/tcl8.6/generic/tclCompile.c:2198
    #35004 0x00000000004c1d44 in TclCompileCmdWord (interp=0x828378, 
        tokenPtr=0x7ffffffeb1d8, count=1, envPtr=0x7fffffffbef0)
        at /home/dgp/fossil/tcl8.6/generic/tclCompile.c:2563
    #35005 0x0000000000444868 in TclCompileCatchCmd (interp=0x828378, 
        parsePtr=0x7ffffffeb130, cmdPtr=0x830838, envPtr=0x7fffffffbef0)
        at /home/dgp/fossil/tcl8.6/generic/tclCompCmds.c:647
    #35006 0x00000000004de2fb in TclAttemptCompileProc (interp=0x828378, 
        parsePtr=0x7ffffffeb130, depth=1, cmdPtr=0x830838, envPtr=0x7fffffffbef0)
        at /home/dgp/fossil/tcl8.6/generic/tclEnsemble.c:3212
    #35007 0x00000000004bf36a in CompileCmdCompileProc (interp=0x828378, 
        parsePtr=0x7ffffffeb130, cmdPtr=0x830838, envPtr=0x7fffffffbef0)
        at /home/dgp/fossil/tcl8.6/generic/tclCompile.c:1952
    #35008 0x00000000004bf963 in CompileCommandTokens (interp=0x828378, 
        parsePtr=0x7ffffffeb130, envPtr=0x7fffffffbef0)
        at /home/dgp/fossil/tcl8.6/generic/tclCompile.c:2067
    #35009 0x00000000004bfebe in TclCompileScript (interp=0x828378, 
        script=0x7ffff7e03198 "catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catc"..., 
        numBytes=0, envPtr=0x7fffffffbef0)
    
  2. login: "dgp"
  3. mimetype: "text/plain"