Overview
| Artifact ID: | 24e21a40665a5358957abf30bb9debee5248ded6 |
|---|---|
| Ticket: | 1995175fffffffffffffffffffffffffffffffff
clock scan problems on windows |
| User & Date: | kennykb on 2008-06-17 08:13:48 |
Changes
- icomment:
Logged In: YES user_id=99768 Originator: NO Hmm. The issue on Windows XP is puzzling. Are you running a stock Tcl installation? The symptom is consistent with the default timezone being set to :localtime, but that shouldn't happen on Windows. Tcl gets the system time zone from the Registry, uses a tzdata file corresponding to the zone if it has one, and generates a Posix-style time zone string if it does not. Is it possible that you removed the $tcl_library/tzdata directory (or the file for the zone in question) from your installation? In order to troubleshoot this further, let's find out the following: (1) What's the result of ::tcl::clock::GuessWindowsTimeZone ? (If that's :localtime, we need to troubleshoot what's wrong with the registry. But I'm guessing that it will have returned some actual time zone name.) (2) If it returns a correct time zone name, what is it? Does the file $tcl_library/tzdata/$timezone (where $timezone is the returned timezone) exist? Does the directory exist at all? If the file doesn't exist, you can no doubt get around this problem by fixing your installation. But still, even if *that* messes up, too, we're still supposed to recover and give a Posix time zone. So something is seriously deranged here. Maybe the answers to the questions so far will give more of a hint where to look. The segfault is a separate issue. Since ConvertLocalToUTC is private, I haven't thoroughly tested what it does with bad args. Obviously, you've found a combination that crashes it. I'll fix that bit while I'm waiting for further information.
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"