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

Java Crash When Dragging Into Native Widget

XMLWordPrintable

    • 009
    • sparc
    • solaris_8
    • Verified

        One of my ISVs ships a bean that includes a Canvas, and a native 3D model viewer
        widget that lays on top of the Canvas. They use JNI to communicate with their
        native viewer. When they place this bean in a variety of Java components
        (including Frame, JFrame, JPanel, or JSplitPane) and drag the mouse from the
        Java component into the native window, the app crashes.

        See the "comments" section of this bug report for stack traces from gdb and from the ISV's app, and for instructions on how to reproduce the bug.

        When the crash was first noticed, the Java component was not a mouse event listener. The ISV tried to trap/handle the problem by making the component into a listener, but had no luck.

        The ISV reported this crash on Solaris 8 using Java Version 1.2.2.05a.

        I saw the crash on Solaris 8 using:
        Solaris_JDK_1.2.2_05a
        Solaris_JDK_1.2.2_06
        Solaris_JDK_1.2.2_07

        I can't make the crash occur on Solaris_JDK_1.2.1_04c; the app seems to run fine
        on this JDK.

        On JDK 1.3.0 the app crashes as soon as it starts with the following error; this
        prevents me from dragging the mouse from the frame into the native widget to
        reproduce the bug reported by the ISV.

        # # An unexpected exception has been detected in native code outside the VM.#
        Program counter=0xf3fe4ccc
        #
        # Problematic Thread: prio=6 tid=0x4f0200 nid=0xd runnable
        #
        Abort

              tmasunw Tao Ma (Inactive)
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: