Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 08da9df97f7115c36aca7bb0fae0403471d2db40
Ticket: 1659942fffffffffffffffffffffffffffffffff
Setting HOME var with putenv in windows causing problems
User & Date: mjimenez on 2007-02-15 06:19:45
Changes

  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"