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

History Of Ticket 1659942fffffffff

Artifacts Associated With Ticket 1659942fffffffff

  1. Ticket change [f25141e521] (rid 109516) by mjimenez on 2007-02-14 17:57:11:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      I believe this also applies to 8.4.14
      
      Under Windows XP, I was running into a SIGTRAP signal when initializing tcl. Under gdb, I tracked this down to when the HOME environment variable gets set using putenv.
      Turning off USE_PUTENV seems to have alleviate this problem in a testing environment. I have yet to attempt using this in my target environment.
      
      
    4. foundin initialized to: "obsolete: 8.4.4"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "mjimenez"
    10. subsystem initialized to: "08. Environment Variables"
    11. title initialized to:
      Setting HOME var with putenv in windows causing problems
      
    12. type initialized to: "Bug"
  2. Ticket change [73db3ae00f] (rid 105104) by hobbs on 2007-02-15 05:32:41:

    1. icomment:
      Logged In: YES 
      user_id=72656
      Originator: NO
      
      ??? There seem to be so many assumptions in this post that don't make sense.  SIGTRAP on Windows?  gdb?  In the end, you should also be using Tcl_PutEnv.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  3. Ticket change [beeb99c26f] (rid 102170) by hobbs on 2007-02-15 05:32:42:

    1. closedate changed to: "2007-02-14T22:32:42"
    2. closer changed to: "hobbs"
    3. resolution changed to: "Invalid"
    4. status changed to: "Pending"
  4. Ticket change [08da9df97f] (rid 89632) by mjimenez on 2007-02-15 06:19:45:

    1. icomment:
      Logged In: YES 
      user_id=897640
      Originator: YES
      
      Yes, SIGTRAP on windows (XP SP2). Yes, GDB (6.3). Code was compiled by gcc 3.4.2 (mingw-special)
      
      from GNU gdb 6.3 under "i686-pc-ming32"
      >>
      gdb: Target exception EXCEPTION_BREAKPOINT at 0x7c822583
      
      Program received signal SIGTRAP, Trace/breakpoint trap.
      0x7c822584 in ntdll!DbgUiIssueremoteBreakin () from ntdll.dll
      >>
      
      This started from the line "
      Tcl_SetVar2(interp, "env", "HOME", Tcl_DStringValue(&ds),
          TCL_GLOBAL_ONLY);
      " in tclWinInit.c:657
      
      and actually occurred when calling "putenv(p)" in the function TclSetEnv(name, value) in tclEnv.c:267
      
      I was not setting any tcl environment variables in my code.
      This all occurred as a result of calling Tcl_CreateInterp();
      
      
      
    2. login: "mjimenez"
    3. mimetype: "text/plain"
    4. status changed to: "Open"
    5. username: "mjimenez"
  5. Ticket change [af200352ec] (rid 97753) by dkf on 2007-02-15 16:21:36:

    1. priority changed to: "8"
  6. Ticket change [adbdc4baf1] (rid 101516) by hobbs on 2007-09-11 07:01:37:

    1. closedate changed to: "2007-09-11T00:01:37"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      Originator: NO
      
      I suspect something funny about how you integrate this.  I am able to build with mingw-gcc 3.4.2 and run 'make test' without any problems (which of course creates a lot of interpreters).  It fails in some glob tests, but nothing catastrophic.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. priority changed to: "5 Medium"
    7. status changed to: "Pending"
    8. username: "hobbs"
  7. Ticket change [7c4cea628c] (rid 97056) by sf-robot on 2007-09-25 09:20:05:

    1. closedate changed to: "2007-09-25T02:20:05"
    2. closer changed to: "sf-robot"
    3. icomment:
      Logged In: YES 
      user_id=1312539
      Originator: NO
      
      This Tracker item was closed automatically by the system. It was
      previously set to a Pending status, and the original submitter
      did not respond within 14 days (the time period specified by
      the administrator of this Tracker).
      
      
    4. login: "sf-robot"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "sf-robot"
  8. Ticket change [a98365c457] (rid 99159) by mjimenez on 2007-10-04 23:29:37:

    1. icomment:
      Logged In: YES 
      user_id=897640
      Originator: YES
      
      Sigh. I got hit by it again, and had to come back to this issue to remember what was causing it and a thought occurred to me. Was the make test being run from inside msys or a different shell where the HOME environment variable is set?
      
      I just found the issue seems to be avoidable if I set HOME and now I'm curious if the issue occurs elsewhere is HOME is unset.
      
      I'll follow up with some testing using the most current version locally. (Seems OK to keep the bug closed unless I get some interesting results.)
      
      
      
      
    2. login: "mjimenez"
    3. mimetype: "text/plain"
    4. username: "mjimenez"
  9. Ticket change [9682e8e53d] (rid 106339) by mjimenez on 2007-10-05 00:02:01:

    1. icomment:
      Logged In: YES 
      user_id=897640
      Originator: YES
      
      Just ran make test under msys on tcl 8.4.16 with HOME, HOMEDRIVE, and HOMEPATH set and then again after unsetting them results seem to be good under both situations.
      
      So either the issue really is fixed or quite a bit harder to hit due to how we integrate it.
      
      
      
    2. login: "mjimenez"
    3. mimetype: "text/plain"
    4. username: "mjimenez"