Artifacts Associated With Ticket 3601260fffffffff
Ticket change [87560c4aa6] (rid 131678) by nijtmans on 2013-01-17 14:54:55:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Running env.test on Win32 (core-8-5-branch) gives following errors, see below. The strange thing is: - Although merged to "turnk" already, the problem doesn't appear on trunk, only on core-8-5-branch. - Only win32 shows the problem, on UNIX there is no problem. So, I suspect that the patch is OK, but it exposes another variable-related bug on Win32. What to do? The simplest is to revert the change on core-8-5-branch (place back the previous tclVar.c, and then merge-mark to trunk. Regards, Jan Nijtmans ====================================================== Tests began at Thu Jan 17 15:45:51 CET 2013 env.test ==== env-2.1 adding environment variables FAILED ==== Contents of test case: getenv ---- Result was: child killed: segmentation violation ---- Result should have been (exact matching): ==== env-2.1 FAILED ==== env-2.2 adding environment variables FAILED ==== Contents of test case: getenv ---- Result was: child killed: segmentation violation ---- Result should have been (exact matching): NAME1=test string ==== env-2.2 FAILED ==== env-2.3 adding environment variables FAILED ==== Contents of test case: getenv ---- Result was: child killed: segmentation violation ---- Result should have been (exact matching): NAME1=test string NAME2=more ==== env-2.3 FAILED ==== env-2.4 adding environment variables FAILED ==== Contents of test case: getenv ---- Result was: child killed: segmentation violation ---- Result should have been (exact matching): NAME1=test string NAME2=more XYZZY=garbage ==== env-2.4 FAILED ==== env-3.1 changing environment variables FAILED ==== Contents of test case: set result [getenv] unset env(NAME2) set result ---- Result was: child killed: segmentation violation ---- Result should have been (exact matching): NAME1=test string NAME2=new value XYZZY=garbage ==== env-3.1 FAILED ==== env-4.1 unsetting environment variables FAILED ==== Contents of test case: set result [getenv] unset env(NAME1) set result ---- Result was: child killed: segmentation violation ---- Result should have been (exact matching): NAME1=test string XYZZY=garbage ==== env-4.1 FAILED ==== env-4.2 unsetting environment variables FAILED ==== Contents of test case: set result [getenv] unset env(XYZZY) set result ---- Result was: child killed: segmentation violation ---- Result should have been (exact matching): XYZZY=garbage ==== env-4.2 FAILED ==== env-4.3 setting international environment variables FAILED ==== Contents of test case: set env(\ua7) \ub6 getenv ---- Result was: child killed: segmentation violation ---- Result should have been (exact matching): \u00a7=\u00b6 ==== env-4.3 FAILED ==== env-4.4 changing international environment variables FAILED ==== Contents of test case: set env(\ua7) \ua7 getenv ---- Result was: child killed: segmentation violation ---- Result should have been (exact matching): \u00a7=\u00a7 ==== env-4.4 FAILED ==== env-4.5 unsetting international environment variables FAILED ==== Contents of test case: set env(\ub6) \ua7 unset env(\ua7) set result [getenv] unset env(\ub6) set result ---- Result was: child killed: segmentation violation ---- Result should have been (exact matching): \u00b6=\u00a7 ==== env-4.5 FAILED Test file error: child killed: segmentation violation Tests ended at Thu Jan 17 15:45:52 CET 2013 all.tcl: Total 0 Passed 0 Skipped 0 Failed 0 Sourced 1 Test Files. - foundin initialized to: "obsolete: 8.5.13"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nijtmans"
- subsystem initialized to: "07. Variables"
- title initialized to: "commit [8aca9a8e96] causes test failures"
- type initialized to: "Bug"
Ticket change [f09bc23a6b] (rid 109217) by nijtmans on 2013-01-17 21:57:36:
- icomment:
See branch "bug-3601260", this demonstrates that reverting [8aca9a8e96] fixes this.
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
- icomment:
Ticket change [6a6d756099] (rid 128145) by nijtmans on 2013-01-24 21:57:43:
- icomment:
Problem still present in core-8-5-branch. Fix (by reverting most recent change in tclVar.c) in branch "bug-3601260".
- login: "nijtmans"
- mimetype: "text/plain"
- priority changed to: "8"
- username: "nijtmans"
- icomment:
Ticket change [f66948d356] (rid 130298) by dgp on 2013-01-24 22:34:25:
- icomment:
can the segfault be caught to produce a stack trace?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [7a08f9abe6] (rid 90236) by dgp on 2013-01-24 22:37:24:
- icomment:
Looks like running `tcltest.exe $printenvScript` ought to reliably do it.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [508d0e576e] (rid 125995) by nijtmans on 2013-01-24 23:14:56:
- icomment:
When compiling with debug symbols, no crash occurs, but still the tests fail: ====================================== Tests began at Thu Jan 24 17:09:32 CET 2013 env.test ==== env-2.1 adding environment variables FAILED ==== Contents of test case: getenv ---- Result was: couldn't read file "0": no such file or directory ---- Result should have been (exact matching): ==== env-2.1 FAILED ==== env-2.2 adding environment variables FAILED ==== Contents of test case: getenv ---- Result was: couldn't read file "0": no such file or directory ---- Result should have been (exact matching): NAME1=test string ==== env-2.2 FAILED ==== env-2.3 adding environment variables FAILED ==== Contents of test case: getenv ---- Result was: couldn't read file "0": no such file or directory ---- Result should have been (exact matching): NAME1=test string NAME2=more ==== env-2.3 FAILED ==== env-2.4 adding environment variables FAILED ==== Contents of test case: getenv ---- Result was: couldn't read file "0": no such file or directory ---- Result should have been (exact matching): NAME1=test string NAME2=more XYZZY=garbage ==== env-2.4 FAILED ==== env-3.1 changing environment variables FAILED ==== Contents of test case: set result [getenv] unset env(NAME2) set result ---- Result was: couldn't read file "0": no such file or directory ---- Result should have been (exact matching): NAME1=test string NAME2=new value XYZZY=garbage ==== env-3.1 FAILED ==== env-4.1 unsetting environment variables FAILED ==== Contents of test case: set result [getenv] unset env(NAME1) set result ---- Result was: couldn't read file "0": no such file or directory ---- Result should have been (exact matching): NAME1=test string XYZZY=garbage ==== env-4.1 FAILED ==== env-4.2 unsetting environment variables FAILED ==== Contents of test case: set result [getenv] unset env(XYZZY) set result ---- Result was: couldn't read file "0": no such file or directory ---- Result should have been (exact matching): XYZZY=garbage ==== env-4.2 FAILED ==== env-4.3 setting international environment variables FAILED ==== Contents of test case: set env(\ua7) \ub6 getenv ---- Result was: couldn't read file "0": no such file or directory ---- Result should have been (exact matching): \u00a7=\u00b6 ==== env-4.3 FAILED ==== env-4.4 changing international environment variables FAILED ==== Contents of test case: set env(\ua7) \ua7 getenv ---- Result was: couldn't read file "0": no such file or directory ---- Result should have been (exact matching): \u00a7=\u00a7 ==== env-4.4 FAILED ==== env-4.5 unsetting international environment variables FAILED ==== Contents of test case: set env(\ub6) \ua7 unset env(\ua7) set result [getenv] unset env(\ub6) set result ---- Result was: couldn't read file "0": no such file or directory ---- Result should have been (exact matching): \u00b6=\u00a7 ==== env-4.5 FAILED - login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
- icomment:
Ticket change [01327abdaa] (rid 119434) by dgp on 2013-01-30 20:33:00:
- icomment:
dgpanyone on Windows can repro 3601260 ? dgpShould just appear with running env.test on 8.5 branch tip. ... jdcdgp: env.test result: env.test: Total 20 Passed 20 Skipped 0 Failed 0 dgpthanks, jdc! dgpNo repro then? Mysterious. jdcnot in my setup with nmake build + vc10 32 bit dgphmmm... wonder if it needs the context of a full `make test` to express? jdci'm running a full tests, hold on ... jdcno problem, want me to try VC9 / VC10 64 bit/ VC11 ? dgpI'll copy your results to the ticket.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [c6f0681db5] (rid 121857) by dgp on 2013-01-30 20:45:26:
- icomment:
dgpPerhaps a --enable-symbols=mem build might trigger more reliably? jdctrying ... jdcworking fine compiled with OPTS=symbols STATS=memdbg
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [3c5b923d85] (rid 120905) by nijtmans on 2013-01-30 20:53:59:
- icomment:
Tried it with 32-bit and 64-bit mingw-w64 compilers as provided by Cygwin: $ x86_64-w64-mingw32-gcc --version x86_64-w64-mingw32-gcc (GCC) 4.5.3 $ i686-w64-mingw32-gcc --version i686-w64-mingw32-gcc (GCC) 4.5.3 Both have the same problem. I will try it with later mingw(-64) compilers as well. Changing the line: CFLAGS_OPTIMIZE= -O2 -fomit-frame-pointer to CFLAGS_OPTIMIZE= -O0 -fomit-frame-pointer doesn't help, so it doesn't look like an optimizer bug. ;-( - login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
- icomment:
Ticket change [04fa324de7] (rid 88967) by dgp on 2013-02-04 21:19:22:
- icomment:
The mysteries have been resolved over in 3602706. Pursuing fixes there.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [87f0d1fa22] (rid 131787) by dgp on 2013-02-04 21:19:23:
- closedate changed to: "2013-02-04T14:19:23"
- closer changed to: "dgp"
- icomment:
allow_comments - 1
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Duplicate"
- status changed to: "Closed"
- username: "dgp"