Uploaded image for project: 'XalanC'
  1. XalanC
  2. XALANC-546

Math error (traped with _matherr) when initializing XalanC.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Duplicate
    • 1.9
    • None
    • XalanC
    • None
    • Windows XP SP2, Visual Studio 7.1

    Description

      When initializing XalanC with :

      XalanTransformer::initialize()

      a math error occured. We defined "_matherr" on our projects to correct some common errors. Info on _matherr could be found here : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt__matherr.asp

      The problem really occurs when calling :

      DoubleSupport::initialize( theManager ) in PlatformSupportInit::initialise( theManager )

      This is the most accurate location I could give based on my call-stack.

      The struct exception (argument receive in _matherr ) tell us that :

      you are calling "sqrt" with a negative value (-2.00999999999...8)

      If we correct the error by assigning retval with 0, XalanC do not initialize correctly.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              boutchitos Martin Boucher
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: