Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2011-04-08
13:49 • Closed ticket [2996549fff]: Failure in expr.test on Win32 plus 6 other chang... artifact: 3b8dafbc8d user: nijtmans
2010-05-19
18:38 • Open ticket [2996549fff]. artifact: f905d78a23 user: nijtmans
2010-05-18
20:50 • Ticket [2996549fff]: 4 changes artifact: 4f8573eea2 user: dgp
04:52 • Pending ticket [2996549fff]. artifact: 37b161e7c6 user: nijtmans
04:52 • Ticket [2996549fff]: 4 changes artifact: 357583eb94 user: nijtmans
2010-05-04
20:38 • Ticket [2996549fff]: 4 changes artifact: a419d3f50c user: nijtmans
20:38 • Add attachment 2996549-2.patch to ticket [2996549fff] artifact: ddefd11b5d user: nijtmans
20:38 • Ticket [2996549fff] Failure in expr.test on Win32 status still Open with 4 o... artifact: de2208b97d user: nijtmans
20:24 • Ticket [2996549fff]: 4 changes artifact: df0503726c user: nijtmans
20:21 • Ticket [2996549fff]: 4 changes artifact: 11c92e15c9 user: nijtmans
20:21 • Add attachment 2996549.patch to ticket [2996549fff] artifact: a13e11c0ba user: nijtmans
20:01 • Ticket [2996549fff] Failure in expr.test on Win32 status still Open with 5 o... artifact: 591d5d2747 user: nijtmans
19:56 • Ticket [2996549fff]: 4 changes artifact: c0c34b7ac2 user: dgp
12:46 • New ticket [2996549fff]. artifact: 405c50a271 user: nijtmans

Failure in expr.test on Win32

Closed / Fixed2996549fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 16 years ago
Descriptionplain2010-05-04 12:46:54
Running the test suite with HEAD, gives the
following result. This tests did not fail before,
so it must be recently introduced.


===========================================
Tests began at Tue May 04 14:27:33 +0200 2010
expr.test


==== expr-29.1 smallest representible number FAILED
==== Contents of test case:

    list [catch {convertToDouble 4.9406564584124654e-324} result]  $result  [catch {convertToDouble 2.4703282292062327e-324} result]  $result  [catch {convertToDouble 2.47032822920623e-324} result]  $result

---- Result was:
0 0x0000000000000001 0 0x0000000000000000 0 0x0000000000000000
---- Result should have been (exact matching):
0 0x0000000000000001 0 0x0000000000000001 0 0x0000000000000000
==== expr-29.1 FAILED



==== expr-29.2 smallest representible number FAILED
==== Contents of test case:

    list [catch {convertToDouble -4.9406564584124654e-324} result]  $result  [catch {convertToDouble -2.4703282292062327e-324} result]  $result  [catch {convertToDouble -2.47032822920623e-324} result]  $result

---- Result was:
0 0x8000000000000001 0 0x8000000000000000 0 0x8000000000000000
---- Result should have been (exact matching):
0 0x8000000000000001 0 0x8000000000000001 0 0x8000000000000000
==== expr-29.2 FAILED


Tests ended at Tue May 04 14:27:37 +0200 2010
all.tcl:Total1865Passed1856Skipped7Failed2
dgpplain2010-05-04 19:56:16
Can you bracket working vs. non-working?
Start with reporting whether the 8.6b1 release
works in the same environment.

See also 1618447.
nijtmansplain2010-05-04 20:01:30
A binary search points to the following change which
started this test case to fail, therefore assigning to Kevin

2010-04-02  Kevin B. Kenny  <[email protected]>

* generic/tclStrToD.c: [Bug 2952904]: Defer creation of the smallest 
floating point number until it is actually used. (This change avoids
a bogus syslog message regarding a 'floating point software assist
fault' on SGI systems.)
nijtmansplain2010-05-04 20:21:58
File Added - 372797: 2996549.patch
nijtmansplain2010-05-04 20:24:18
Reverting the change from tclStrToD.c
from 1.41 to 1.42 (attached patch) fixes it.
Of course, that would re-introduce
[Bug 2952904], so something smarter
is needed.
nijtmansplain2010-05-04 20:38:28
Here is a better fix, which delays the
initialization of "tiny". So it fixes this bug
without re-introducing [Bug 2952904]
(I hope). Please evaluate.
nijtmansplain2010-05-04 20:38:54
File Added - 372801: 2996549-2.patch
nijtmansplain2010-05-18 04:52:03
Fixed in HEAD
nijtmans Pending ticket [2996549fff]. [History diff]2010-05-18 04:52:04
dgpplain2010-05-18 20:50:29
thanks.  any reason not to backport
this for 8.5.9 ?
nijtmansplain2010-05-19 18:38:48
No need to backport to 8.5, because the bug
is not there: The fix for [Bug 2952904]
introduced this new bug, but this fix
was only applied in HEAD.

Once #2952904 is backported,
#2996549 should be backported
along with it.
nijtmansplain2011-04-08 13:49:20
allow_comments - 1
Log in (anonymous is fine) to add a comment.

Attachments: