Closed Bug 165605 Opened 22 years ago Closed 22 years ago

The dtoa test (optimized build) fails on Red Hat Linux 7.2

Categories

(NSPR :: NSPR, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 175668

People

(Reporter: wtc, Assigned: wtc)

Details

(Whiteboard: qa)

The dtoa test (optimized build only) fails on Red Hat Linux 7.2.
It does not fail on Red Hat Linux 6.2.

% ./dtoa
Failed to convert numeric value 1.867e73
Failed to convert numeric value -1.867e73
Failed to convert numeric value -1.867e-73
Failed to convert numeric value -1.0000000001e-21
FAILED
Whiteboard: qa
With the zone allocator engaged (setenv NSPR_USE_ZONE_ALLOCATOR 1),
the dtoa test fails with different output.

% ./dtoa
Failed to convert numeric value 10000.000000 :000
Failed to convert numeric value 1.867e73
Failed to convert numeric value -1.867e73
Failed to convert numeric value -1.867e-73
Failed to convert numeric value 1000000000099999940608.000000 :00000000100000000
000
Failed to convert numeric value -1.0000000001e-21
FAILED
I confirmed that after I backported the "YES_ALIAS" fix from
the current version of dtoa.c, our dtoa test (optimized build)
passes on Red Hat Linux 7.3.  So I am pretty sure this test
failure is caused by bug 175668.

*** This bug has been marked as a duplicate of 175668 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.