Artifacts Associated With Ticket 1659942fffffffff
Ticket change [f25141e521] (rid 109516) by mjimenez on 2007-02-14 17:57:11:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- 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.
- foundin initialized to: "obsolete: 8.4.4"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "mjimenez"
- subsystem initialized to: "08. Environment Variables"
- title initialized to:
Setting HOME var with putenv in windows causing problems
- type initialized to: "Bug"
Ticket change [73db3ae00f] (rid 105104) by hobbs on 2007-02-15 05:32:41:
- 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.
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Ticket change [beeb99c26f] (rid 102170) by hobbs on 2007-02-15 05:32:42:
- closedate changed to: "2007-02-14T22:32:42"
- closer changed to: "hobbs"
- resolution changed to: "Invalid"
- status changed to: "Pending"
Ticket change [08da9df97f] (rid 89632) by mjimenez on 2007-02-15 06:19:45:
- 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(); - login: "mjimenez"
- mimetype: "text/plain"
- status changed to: "Open"
- username: "mjimenez"
- icomment:
Ticket change [af200352ec] (rid 97753) by dkf on 2007-02-15 16:21:36:
- priority changed to: "8"
Ticket change [adbdc4baf1] (rid 101516) by hobbs on 2007-09-11 07:01:37:
- closedate changed to: "2007-09-11T00:01:37"
- closer changed to: "hobbs"
- 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.
- login: "hobbs"
- mimetype: "text/plain"
- priority changed to: "5 Medium"
- status changed to: "Pending"
- username: "hobbs"
Ticket change [7c4cea628c] (rid 97056) by sf-robot on 2007-09-25 09:20:05:
- closedate changed to: "2007-09-25T02:20:05"
- closer changed to: "sf-robot"
- 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).
- login: "sf-robot"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "sf-robot"
Ticket change [a98365c457] (rid 99159) by mjimenez on 2007-10-04 23:29:37:
- 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.)
- login: "mjimenez"
- mimetype: "text/plain"
- username: "mjimenez"
- icomment:
Ticket change [9682e8e53d] (rid 106339) by mjimenez on 2007-10-05 00:02:01:
- 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.
- login: "mjimenez"
- mimetype: "text/plain"
- username: "mjimenez"
- icomment: