Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 674afc972618fbf4ff335e69d21c389f09bf5314
Ticket: 46f801ea5a25e2885588864ef2096fff09edd08a
Tcl bug: unexpected stack trace in "unknown"
User & Date: bigfaceworm on 2017-06-06 18:34:56
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    Unsure how to reproduce outside of my application (trying to port from 8.4 to 8.6).  I tried, but cannot.  So I'm providing the errorInfo and errorCode that result from this problem.  It *appears* to be related to a call through incr Tcl, and perhaps *its* unknown method, which calls ::tailcall, and maybe that messes up the expected call stack.
    
    errorInfo:
    
    Tcl bug: unexpected stack trace in "unknown"
        while executing
    "error "Tcl bug: unexpected stack trace in \"unknown\"" {}  [list CORE UNKNOWN BADTRACE $einfo $expect $errInfo]"
        (procedure "::unknown" line 92)
        invoked from within
    "CConsoleMainWindow $m_consoleMainWindow $this"
        while constructing object "::CConsoleApp::cConsoleApp0" in ::CConsoleApp::constructor (body line 28)
        invoked from within
    "::itcl::parser::handleClass CConsoleApp ::CConsoleApp #auto"
        invoked from within
    "CConsoleApp #auto"
        (object "::CCmdCalConsoleStartup::cCmdCalConsoleStartup0" method "::CCmdCalConsoleStartup::Execute" body line 4)
        invoked from within
    "::CConsoleApp::Create"
        (object "::CCmdCalConsoleStartup::cCmdCalConsoleStartup0" method "::CCmdCalConsoleStartup::Execute" body line 6)
        invoked from within
    "$cmdConsoleStartup Execute"
        (procedure "rve_OpenSpiceFile" line 8)
        invoked from within
    "rve_OpenSpiceFile $arg1 1 $spiceTopCell"
        (procedure "rve_startup" line 36)
        invoked from within
    "rve_startup"
    
    
    errorCode:
    
    CORE UNKNOWN BADTRACE {
        (while configuring option "-iconclosebtn" for widget "::.m_consoleMainWindow.m_mainPaneManager.m_termPaneFrame")
        invoked from within
    "::itcl::builtin::Archetype configure $option {*}$args"
        (object "::.m_consoleMainWindow.m_mainPaneManager.m_termPaneFrame" method "::itk::Archetype::configure" body line 2)
        invoked from within
    "$paneFrame configure  -background [option get . mutedBackground MutedBackground]  -activebackground [option get . selectBackground SelectBackground]  ..."
        (object "::CConsoleApp::.m_consoleMainWindow" method "::CConsoleMainWindow::CreatePaneFrames" body line 18)
        invoked from within
    "::CPaneFrameHelper::Initialize $m_termPaneFrame"
        (object "::CConsoleApp::.m_consoleMainWindow" method "::CConsoleMainWindow::CreatePaneFrames" body line 44)
        invoked from within
    "$this CreatePaneFrames"
        while constructing object "::CConsoleApp::.m_consoleMainWindow" in ::CConsoleMainWindow::constructor (body line 41)
        invoked from within
    "::itcl::parser::handleC} {
        invoked from within
    "CConsoleMainWindow .m_consoleMainWindow ::CConsoleApp::cConsoleApp0"
        ("uplevel" body line 1)
        invoked from within
    "uplevel 1 $args"} {
        (while configuring option "-iconclosebtn" for widget "::.m_consoleMainWindow.m_mainPaneManager.m_termPaneFrame")
        invoked from within
    "::itcl::builtin::Archetype configure $option {*}$args"
        (object "::.m_consoleMainWindow.m_mainPaneManager.m_termPaneFrame" method "::itk::Archetype::configure" body line 2)
        invoked from within
    "$paneFrame configure  -background [option get . mutedBackground MutedBackground]  -activebackground [option get . selectBackground SelectBackground]  ..."
        (object "::CConsoleApp::.m_consoleMainWindow" method "::CConsoleMainWindow::CreatePaneFrames" body line 18)
        invoked from within
    "::CPaneFrameHelper::Initialize $m_termPaneFrame"
        (object "::CConsoleApp::.m_consoleMainWindow" method "::CConsoleMainWindow::CreatePaneFrames" body line 44)
        invoked from within
    "$this CreatePaneFrames"
        while constructing object "::CConsoleApp::.m_consoleMainWindow" in ::CConsoleMainWindow::constructor (body line 41)
        invoked from within
    "::itcl::parser::handleClass CConsoleMainWindow ::CConsoleMainWindow .m_consoleMainWindow ::CConsoleApp::cConsoleApp0"
        ("uplevel" body line 1)
        invoked from within
    "uplevel 1 $args"}
    
    additionally, the 3 variables mentioned in the unexpected stack trace have the following values:
    
    einfo:
    
     {
        (while configuring option "-iconclosebtn" for widget "::.m_consoleMainWindow.m_mainPaneManager.m_termPaneFrame")
        invoked from within
    "::itcl::builtin::Archetype configure $option {*}$args"
        (object "::.m_consoleMainWindow.m_mainPaneManager.m_termPaneFrame" method "::itk::Archetype::configure" body line 2)
        invoked from within
    "$paneFrame configure  -background [option get . mutedBackground MutedBackground]  -activebackground [option get . selectBackground SelectBackground]  ..."
        (object "::CConsoleApp::.m_consoleMainWindow" method "::CConsoleMainWindow::CreatePaneFrames" body line 18)
        invoked from within
    "::CPaneFrameHelper::Initialize $m_termPaneFrame"
        (object "::CConsoleApp::.m_consoleMainWindow" method "::CConsoleMainWindow::CreatePaneFrames" body line 44)
        invoked from within
    "$this CreatePaneFrames"
        while constructing object "::CConsoleApp::.m_consoleMainWindow" in ::CConsoleMainWindow::constructor (body line 41)
        invoked from within
    "::itcl::parser::handleC}
    
    expect:
    
    {
        invoked from within
    "CConsoleMainWindow .m_consoleMainWindow ::CConsoleApp::cConsoleApp0"
        ("uplevel" body line 1)
        invoked from within
    "uplevel 1 $args"}
    
    errInfo:
    
    {
        (while configuring option "-iconclosebtn" for widget "::.m_consoleMainWindow.m_mainPaneManager.m_termPaneFrame")
        invoked from within
    "::itcl::builtin::Archetype configure $option {*}$args"
        (object "::.m_consoleMainWindow.m_mainPaneManager.m_termPaneFrame" method "::itk::Archetype::configure" body line 2)
        invoked from within
    "$paneFrame configure  -background [option get . mutedBackground MutedBackground]  -activebackground [option get . selectBackground SelectBackground]  ..."
        (object "::CConsoleApp::.m_consoleMainWindow" method "::CConsoleMainWindow::CreatePaneFrames" body line 18)
        invoked from within
    "::CPaneFrameHelper::Initialize $m_termPaneFrame"
        (object "::CConsoleApp::.m_consoleMainWindow" method "::CConsoleMainWindow::CreatePaneFrames" body line 44)
        invoked from within
    "$this CreatePaneFrames"
        while constructing object "::CConsoleApp::.m_consoleMainWindow" in ::CConsoleMainWindow::constructor (body line 41)
        invoked from within
    "::itcl::parser::handleClass CConsoleMainWindow ::CConsoleMainWindow .m_consoleMainWindow ::CConsoleApp::cConsoleApp0"
        ("uplevel" body line 1)
        invoked from within
    "uplevel 1 $args"}
    
    
    there's some truncation going on with the itcl::parser::handleClass
    
  5. foundin changed to: "8.6.6"
  6. is_private changed to: "0"
  7. login: "bigfaceworm"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "5cf9569cda9cff4e20f184ff96974aff0f932dfb"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "bigfaceworm"
  14. subsystem changed to: "18. Commands M-Z"
  15. title changed to: "Tcl bug: unexpected stack trace in "unknown""
  16. type changed to: "Bug"