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

History Of Ticket 1103371fffffffff

Artifacts Associated With Ticket 1103371fffffffff

  1. Ticket change [401bd47081] (rid 121571) by nobody on 2005-01-16 16:01:53:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      In tclvar.c::TclLookupSimpleVar(), I am getting a crash:
      
         Unhandled exception at 0x100a8526 (tcl84g.dll) in 
      PBX.exe: 0xC0000005: 
      Access violation reading location 0xfeeeffd6.
      
      It looks like the cxtNsPtr has a value of 0xfeeefeee that 
      it gets from 
      <globalNsPtr>. Why would this variable have this 
      question? I am not using 
      namespaces, at least I am not knowingly doing anything 
      with them or messing 
      with them. I am using 8.4.9, Windows XP SP-2, MS 
      VisualC++.net (2003)
      
          if ((cxtNsPtr->varResProc != NULL || iPtr-
      >resolverPtr != NULL) && 
      !(flags & LOOKUP_FOR_UPVAR))
      
          cxtNsPtr = 0xfeeefeee, cxtNsPtr->varResProc = ???? 
      Flags = 0x00000001 
      iPtr->resolverPtr is not null)
      
      Here is the stack:
      
      > tcl84g.dll!TclLookupSimpleVar(Tcl_Interp * 
      interp=0x00e80b90, const char * 
      > varName=0x00e80f00, int flags=0x00000001, const int 
      create=0x00000001, 
      > const char * * errMsgPtr=0x0012f3c8, int * 
      indexPtr=0x0012f3c4) Line 710 + 
      > 0x3 C
      
        tcl84g.dll!TclLookupVar(Tcl_Interp * 
      interp=0x00e80b90, const char * 
      part1=0x00e80f00, const char * part2=0x00000000, int 
      flags=0x00000001, const 
      char * msg=0x100e6874, int createPart1=0x00000001, 
      int 
      createPart2=0x00000001, Var * * 
      arrayPtrPtr=0x0012f3fc) Line 270 + 0x1d C
      
        tcl84g.dll!Tcl_SetVar2Ex(Tcl_Interp * 
      interp=0x00e80b90, const char * 
      part1=0x00e80f00, const char * part2=0x00000000, 
      Tcl_Obj * 
      newValuePtr=0x00e96838, int flags=0x00000001) Line 
      1462 + 0x22 C
      
        tcl84g.dll!Tcl_SetVar2(Tcl_Interp * 
      interp=0x00e80b90, const char * 
      part1=0x00e80f00, const char * part2=0x00000000, 
      const char * 
      newValue=0x0012f57c, int flags=0x00000001) Line 1398 
      + 0x19 C
      
        tcl84g.dll!Tcl_SetVar(Tcl_Interp * interp=0x00e80b90, 
      const char * 
      varName=0x00e80f00, const char * 
      newValue=0x0012f57c, int flags=0x00000001) 
      Line 1342 + 0x17 C
      
        PBX.exe!tclBase::setVar
      (std::basic_string<char,std::char_traits<char>,std::alloc
      ator<char> 
       > varName={...}, 
      std::basic_string<char,std::char_traits<char>,std::alloca
      tor<char> > 
      value={...}) Line 90 + 0x2c C++
      
      The last call of mine was to Tcl_SetVar( theTcl, 
      varName.c_str(), 
      value.c_str(), TCL_GLOBAL_ONLY ); both varName and 
      value are both populated 
      so it is getting <const char *> with actual values (not 
      null) and theTcl is 
      a result of Tcl_CreateInterp() followed by Tcl_Init().
      
      For reference, I am calling Tcl_FindExecutable(), 
      Tcl_CreateInterp(), and Tcl_Init(), in that order.
      
      Any ideas?
      
      Thanks
      
      ---Brian
      
      
      
    4. foundin initialized to: "obsolete: 8.4.9"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "50. Embedding Support"
    10. title initialized to: "TclLookupSimpleVar Interp->globalNsPtr"
    11. type initialized to: "Bug"
  2. Ticket change [5cfa95758f] (rid 115386) by bn9606 on 2005-01-16 23:10:46:

    1. icomment:
      Logged In: YES 
      user_id=1198298
      
      I was the poster... didn't sign in initially.
      
      This was posted in comp.lang.tcl, was advised to open bug 
      report here.
      
      ---Brian
      
      
    2. login: "bn9606"
    3. mimetype: "text/plain"
    4. username: "bn9606"
  3. Ticket change [de573e5608] (rid 114828) by dgp on 2005-01-17 01:35:48:

    1. assignee changed to: "msofer"
    2. priority changed to: "7 High"
    3. subsystem changed to: "07. Variables"
  4. Ticket change [8d96b5f260] (rid 127955) by bn9606 on 2005-01-17 08:33:29:

    1. icomment:
      Logged In: YES 
      user_id=1198298
      
      This one looks like my fault... D'OH!
      
      Close this one out :)
      
      Thanks!
      
      ---Brian
      
      
    2. login: "bn9606"
    3. mimetype: "text/plain"
    4. username: "bn9606"
  5. Ticket change [38ed701785] (rid 112297) by msofer on 2005-01-17 09:20:48:

    1. closedate changed to: "2005-01-17T02:20:48"
    2. closer changed to: "msofer"
    3. icomment:
      Logged In: YES 
      user_id=148712
      
      ok
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. resolution changed to: "Invalid"
    7. status changed to: "Closed"
    8. username: "msofer"