Skip to content
Tcl Source Code History Of Ticket 1079286
Login

History Of Ticket 1079286

Artifacts Associated With Ticket 1079286

  1. Ticket change [7cccb082b4] (rid 97138) by davidw on 2004-12-05 10:04:06:

    1. assignee initialized to: "mdejong"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Everything builds successfully, then I run make install:
      
      ...
      Installing time zone data
          Creating tzdata
              Creating Africa
              Creating America
                  Creating Argentina
                  Creating Indiana
                  Creating Kentucky
                  Creating North_Dakota
              Creating Antarctica
              Creating Arctic
              Creating Asia
              Creating Atlantic
              Creating Australia
              Creating Brazil
              Creating Canada
              Creating Chile
              Creating Etc
              Creating Europe
              Creating Indian
              Creating Mexico
              Creating Pacific
              Creating SystemV
              Creating US
      
      and at this point it just hangs. It looks like it's a
      tclsh process that is chewing CPU and not going
      anywhere.  Attempting to strace it on my machine causes
      strace to segfault itself.
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "davidw"
    9. subsystem initialized to: "53. Configuration and Build Tools"
    10. title initialized to: "Installing time zone data appears to hang"
    11. type initialized to: "Bug"
  2. Ticket change [8f2df3a27d] (rid 120241) by davidw on 2004-12-05 17:26:54:

    1. assignee changed to: "nobody"
    2. icomment:
      Logged In: YES 
      user_id=240
      
      Hrm.  No, the problem appears to be that Tcl scripts simply
      do not exit properly:
      
      @ashland [~/workshop/tcl/unix] $ make shell SCRIPT=./hello.tcl 
      LD_LIBRARY_PATH=`pwd`:; export LD_LIBRARY_PATH; \
      TCL_LIBRARY="/home/davidw/workshop/tcl/library"; export
      TCL_LIBRARY; \
      ./tclsh ./hello.tcl
      hello
      
      Where hello.tcl is just 'puts hello'.
      
      I think it's a threading issue... I managed to strace it:
      
      write(1, "hello\r\n", 7)                = 7
      fcntl64(2, F_GETFL)                     = 0x2 (flags O_RDWR)
      fcntl64(2, F_SETFL, O_RDWR)             = 0
      fcntl64(2, F_GETFL)                     = 0x2 (flags O_RDWR)
      fcntl64(0, F_GETFL)                     = 0x2 (flags O_RDWR)
      fcntl64(0, F_SETFL, O_RDWR)             = 0
      fcntl64(0, F_GETFL)                     = 0x2 (flags O_RDWR)
      fcntl64(1, F_GETFL)                     = 0x2 (flags O_RDWR)
      fcntl64(1, F_SETFL, O_RDWR)             = 0
      fcntl64(1, F_GETFL)                     = 0x2 (flags O_RDWR)
      write(6, "q", 1)                        = 1
      close(6)                                = 0
      rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
      rt_sigsuspend([]
      
      
      
      
    3. login: "davidw"
    4. mimetype: "text/plain"
    5. subsystem changed to: "49. Threading"
    6. username: "davidw"
  3. Ticket change [6777024aa1] (rid 102900) by davidw on 2004-12-07 06:44:21:

    1. icomment:
      Logged In: YES 
      user_id=240
      
      Platform information:
      
      tclsh8.4 [~]parray tcl_platform
      tcl_platform(byteOrder) = bigEndian
      tcl_platform(machine)   = ppc
      tcl_platform(os)        = Linux
      tcl_platform(osVersion) = 2.6.6
      tcl_platform(platform)  = unix
      tcl_platform(threaded)  = 1
      tcl_platform(user)      = davidw
      tcl_platform(wordSize)  = 4
      
      /lib/libc-2.3.2.so
      /lib/libpthread-0.10.so
      
      
      
    2. login: "davidw"
    3. mimetype: "text/plain"
    4. title changed to: "Tcl scripts don't exit"
    5. username: "davidw"
  4. Ticket change [474be541c7] (rid 99675) by hobbs on 2004-12-07 06:57:23:

    1. assignee changed to: "kennykb"
    2. closedate changed to: "2004-12-06T23:57:23"
    3. closer changed to: "hobbs"
    4. icomment:
      Logged In: YES 
      user_id=72656
      
      It appears the lack of initialization for numFdBits in
      tclUnixNotfy.c caused this problem.  Now init'ed to 0 in
      8.4.9 and 8.5a2.
      
      
    5. login: "hobbs"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. title changed to: "Installing time zone data appears to hang"
    10. username: "hobbs"