| Ticket UUID: | 1079286 | ||
| Title: | Installing time zone data appears to hang | ||
| Type: | Bug | Created on: | 2004-12-05 10:04:06 |
| Submitter: | davidw | Assigned to: | kennykb |
| Subsystem: | 49. Threading | Severity: | |
| Priority: | 5 Medium | Last modified: | 2004-12-07 06:57:23 |
| Status: | Closed | Closed by: | hobbs |
| Resolution: | Fixed | Closed on: | 2004-12-06 23:57:23 |
| Version: | None | ||
| Description: | ||||
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.
| ||||
| User Comments: | ||||
davidw added on 2004-12-05 17:26:54:
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([] davidw added on 2004-12-07 06:44:21:
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 hobbs added on 2004-12-07 06:57:23:
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. | ||||
