Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8141357

Ferret crashes when built with VS 2013

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • 9
    • 9
    • client-libs
    • None

      From Ben Key at Freedom Scientific:

      10/27:
      I have been getting a crash in JavaFerret recently. The crash is as follows.

      Unhandled exception at 0x00000000528B7150 (WindowsAccessBridge-64.dll) in JavaFerret.exe: 0xC000041D: An unhandled exception was encountered during a user callback.

      My test environment is as follows.
      · Windows 10 Pro 64-bit
      · Java SE 8u66 64-bit
      · SwingDemo_v6.1.jar from http://securetechnologies.com/CCAT/SwingDemo/
      · JavaFerret is configured to monitor the same events as JAWS.

      The crash occurs very soon after the Java application starts.

      11/3:
      ... in the AccessBridgeDialogProc function. The data types of the wParam and lParam parameters are wrong. They are UINT and LONG. They should be WPARAM and LPARAM. This caused a problem in the handler for the WM_COPYDATA message. The lParam parameter is used as a pointer, only it is truncated. This caused an exception on the following line.
          package = (char *) sentToUs->lpData;

      Correcting the data types of these parameters resolved this issue.

            ptbrunet Pete Brunet (Inactive)
            ptbrunet Pete Brunet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: