Artifacts Associated With Ticket 1079286
Ticket change [7cccb082b4] (rid 97138) by davidw on 2004-12-05 10:04:06:
- assignee initialized to: "mdejong"
- cmimetype initialized to: "text/plain"
- 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. - foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "davidw"
- subsystem initialized to: "53. Configuration and Build Tools"
- title initialized to: "Installing time zone data appears to hang"
- type initialized to: "Bug"
Ticket change [8f2df3a27d] (rid 120241) by davidw on 2004-12-05 17:26:54:
- assignee changed to: "nobody"
- 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([]
- login: "davidw"
- mimetype: "text/plain"
- subsystem changed to: "49. Threading"
- username: "davidw"
Ticket change [6777024aa1] (rid 102900) by davidw on 2004-12-07 06:44:21:
- 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
- login: "davidw"
- mimetype: "text/plain"
- title changed to: "Tcl scripts don't exit"
- username: "davidw"
- icomment:
Ticket change [474be541c7] (rid 99675) by hobbs on 2004-12-07 06:57:23:
- assignee changed to: "kennykb"
- closedate changed to: "2004-12-06T23:57:23"
- closer changed to: "hobbs"
- 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.
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- title changed to: "Installing time zone data appears to hang"
- username: "hobbs"