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

A11Y: Win: Crash in a11y code on startup in debug mode, when a touch device in connected

XMLWordPrintable

      I have a touch monitor attached to my laptop. In this configuration, any JavaFX application crashes on startup in debug mode. Here is the output in console:

      GlassApplication: created.
      {OLE
      {GlassDropTarget
      In WinAccessibleRoot._initIDs
      In WinAccessibleRoot._createAccessible
        acc: 0BCBC728
      In downcall for WinAccessibleBaseProvider._initIDs
      In downcall for WinAccessibleBaseProvider._createAccessible
      AccessibleBaseProvider::1ctor
        acc: 0BCBC798
      In AccessibleBaseProviderChildIDFactory::getChildID
        ChildID: -1
      In downcall for WinAccessibleBaseProvider._fireEvent
        acc: 0BCBC798
        eventID: AUTOMATION_FOCUS_CHANGED
      In IREPS AccessibleBaseProvider::get_ProviderOptions
        this: 0BCBC798
      In AccessibleBaseProvider::QueryInterface
        this: 0BCBC798
      AccessibleBaseProvider::FindPatternObject
      AccessibleBaseProvider::FindPatternObject not found
        riid: IRawElementProviderFragment
      In IREPF AccessibleBaseProvider::get_FragmentRoot
        this: 0BCBC798
        acc: 0BCBC728
      In IREPS AccessibleRoot::get_HostRawElementProvider
        this: 0BCBC728
      In IREPS AccessibleBaseProvider::get_ProviderOptions
        this: 0BCBC798
      In IREPS AccessibleBaseProvider::GetPropertyValue
        this: 0BCBC798
        ID: NativeWindowHandle
      In IREPS AccessibleBaseProvider::get_HostRawElementProvider
        this: 0BCBC798
      In IREPS AccessibleBaseProvider::GetPropertyValue
        this: 0BCBC798
        ID: NativeWindowHandle
      In AccessibleBaseProvider::QueryInterface
        this: 0BCBC798
      AccessibleBaseProvider::FindPatternObject
      AccessibleBaseProvider::FindPatternObject not found
        Unhandled riid: IAccIdentity
      In AccessibleBaseProvider::QueryInterface
        this: 0BCBC798
      AccessibleBaseProvider::FindPatternObject
      AccessibleBaseProvider::FindPatternObject not found
        riid: IRawElementProviderFragment
      In IREPF AccessibleBaseProvider::Navigate
        this: 0BCBC798
        direction: 0
        NavigateDirection_Parent
        returning: 0BCBC728
      In IREPS AccessibleBaseProvider::get_ProviderOptions
        this: 0BCBC798
      In AccessibleBaseProvider::QueryInterface
        this: 0BCBC798
      AccessibleBaseProvider::FindPatternObject
      AccessibleBaseProvider::FindPatternObject not found
        riid: IRawElementProviderFragment
      In IREPF AccessibleBaseProvider::GetRuntimeId
        this: 0BCBC798
      In IREPF AccessibleBaseProvider::get_FragmentRoot
        this: 0BCBC798
        acc: 0BCBC728
      In IREPS AccessibleRoot::get_HostRawElementProvider
        this: 0BCBC728
      In IREPS AccessibleRoot::get_ProviderOptions
        this: 0BCBC728
      In IREPS AccessibleBaseProvider::get_ProviderOptions
        this: 0BCBC798
      In AccessibleBaseProvider::QueryInterface
        this: 0BCBC798
      AccessibleBaseProvider::FindPatternObject
      AccessibleBaseProvider::FindPatternObject not found
        riid: IRawElementProviderFragment
      In AccessibleBaseProvider::QueryInterface
        this: 0BCBC798
      AccessibleBaseProvider::FindPatternObject
      AccessibleBaseProvider::FindPatternObject not found
        riid: IRawElementProviderSimple
      In IREPS AccessibleBaseProvider::GetPropertyValue
        this: 0BCBC798
        ID: IsControlElement
        returning true
      In AccessibleBaseProvider::QueryInterface
        this: 0BCBC798
      AccessibleBaseProvider::FindPatternObject
      AccessibleBaseProvider::FindPatternObject not found
        riid: IRawElementProviderSimple
      In AccessibleBaseProvider::QueryInterface
        this: 0BCBC798
      AccessibleBaseProvider::FindPatternObject
      AccessibleBaseProvider::FindPatternObject not found
      In AccessibleBaseProvider::QueryInterface
        this: 0BCBC798
      AccessibleBaseProvider::FindPatternObject
      AccessibleBaseProvider::FindPatternObject not found
      In IREPF AccessibleBaseProvider::get_FragmentRoot
        this: 0BCBC798
        acc: 0BCBC728
      In IREPF AccessibleBaseProvider::Navigate
        this: 0BCBC798
        direction: 0
        NavigateDirection_Parent
        returning: 0BCBC728
      In IREPS AccessibleBaseProvider::get_ProviderOptions
        this: 0BCBC798
      In AccessibleBaseProvider::QueryInterface
        this: 0BCBC798
      AccessibleBaseProvider::FindPatternObject
      AccessibleBaseProvider::FindPatternObject not found
      In IREPF AccessibleBaseProvider::get_BoundingRectangle
        this: 0BCBC798
        NOT IMPLEMENTED
      In IREPF AccessibleBaseProvider::Navigate
        this: 0BCBC798
        direction: 0
        NavigateDirection_Parent
        returning: 0BCBC728
      In IREPS AccessibleRoot::GetPropertyValue
        this: 0BCBC728
        ID: IsControlElement
      In IREPS AccessibleRoot::get_ProviderOptions
        this: 0BCBC728
      In IREPS AccessibleBaseProvider::GetPropertyValue
        this: 0BCBC798
        ID: Con

      Here is the native stack:

        oleacc.dll!AccWrap_LocationEtcFix::`scalar deleting destructor'() + 0x3d bytes
        oleacc.dll!AccWrap_Base::Release() + 0xff bytes
        tiptsf.dll!CARET::UpdateMSAAEditFieldState() + 0x1da bytes
        tiptsf.dll!CARET::UpdateEditFieldState() + 0x31 bytes
        tiptsf.dll!CARET::_ProcessCaretEvents() + 0x2150 bytes
        tiptsf.dll!CARET::ProcessCaretEvents() + 0x51 bytes
        user32.dll!___ClientCallWinEventProc@4() + 0x2e bytes
        ntdll.dll!_KiUserCallbackDispatcher@12() + 0x2e bytes
        UIAutomationCore.dll!FireWinEventIfHookInstalled() + 0x56 bytes
        UIAutomationCore.dll!MsaaBridge::RaiseGeneralEvent() + 0x4f8 bytes
        UIAutomationCore.dll!_UiaRaiseAutomationEvent@8() + 0x8b bytes
      > glass.dll!Java_com_sun_glass_ui_accessible_win_WinAccessibleBaseProvider__1fireEvent(JNIEnv_ * env, _jobject * self, __int64 acc, long eventID) Line 788 C++
        08d3aa23()
        jvm.dll!JavaCalls::call_helper(JavaValue * result, methodHandle * m, JavaCallArguments * args, Thread * __the_thread__) Line 402 + 0x27 bytes C++
        jvm.dll!os::os_exception_wrapper(void (JavaValue *, methodHandle *, JavaCallArguments *, Thread *)* f, JavaValue * value, methodHandle * method, JavaCallArguments * args, Thread * thread) Line 113 + 0x10 bytes C++
        jvm.dll!JavaCalls::call(JavaValue * result, methodHandle method, JavaCallArguments * args, Thread * __the_thread__) Line 308 C++
        jvm.dll!jni_invoke_nonstatic(JNIEnv_ * env, JavaValue * result, _jobject * receiver, JNICallType call_type, _jmethodID * method_id, JNI_ArgumentPusher * args, Thread * __the_thread__) Line 1414 + 0x1b bytes C++
        jvm.dll!jni_CallVoidMethodV(JNIEnv_ * env, _jobject * obj, _jmethodID * methodID, char * args) Line 1958 + 0x2e bytes C++
        glass.dll!JNIEnv_::CallVoidMethod(_jobject * obj, _jmethodID * methodID, ...) Line 1055 C++
        glass.dll!`Java_com_sun_glass_ui_win_WinApplication__1submitForLaterInvocation'::`2'::_MyAction::Do() Line 459 + 0x1d bytes C++
        glass.dll!GlassApplication::WindowProc(unsigned int msg, unsigned int wParam, long lParam) Line 134 C++
        glass.dll!BaseWnd::StaticWindowProc(HWND__ * hWnd, unsigned int msg, unsigned int wParam, long lParam) Line 162 + 0x19 bytes C++
        user32.dll!_InternalCallWinProc@20() + 0x23 bytes
        user32.dll!_UserCallWinProcCheckWow@36() + 0xbd bytes
        user32.dll!_DispatchMessageWorker@8() + 0xf8 bytes
        user32.dll!_DispatchMessageW@4() + 0x10 bytes
        glass.dll!Java_com_sun_glass_ui_win_WinApplication__1runLoop(JNIEnv_ * env, _jobject * self, _jobject * jLaunchable) Line 388 C++
        08d3aa23()
        jvm.dll!JavaCalls::call_helper(JavaValue * result, methodHandle * m, JavaCallArguments * args, Thread * __the_thread__) Line 402 + 0x27 bytes C++
        jvm.dll!os::os_exception_wrapper(void (JavaValue *, methodHandle *, JavaCallArguments *, Thread *)* f, JavaValue * value, methodHandle * method, JavaCallArguments * args, Thread * thread) Line 113 + 0x10 bytes C++
        jvm.dll!JavaCalls::call(JavaValue * result, methodHandle method, JavaCallArguments * args, Thread * __the_thread__) Line 308 C++
        jvm.dll!JavaCalls::call_virtual(JavaValue * result, KlassHandle spec_klass, Symbol * name, Symbol * signature, JavaCallArguments * args, Thread * __the_thread__) Line 204 + 0x19 bytes C++
        jvm.dll!JavaCalls::call_virtual(JavaValue * result, Handle receiver, KlassHandle spec_klass, Symbol * name, Symbol * signature, Thread * __the_thread__) Line 211 C++
        jvm.dll!thread_entry(JavaThread * thread, Thread * __the_thread__) Line 2684 + 0x29 bytes C++
        jvm.dll!JavaThread::thread_main_inner() Line 1688 + 0xa bytes C++
        jvm.dll!JavaThread::run() Line 1668 + 0x7 bytes C++
        jvm.dll!java_start(Thread * thread) Line 430 C++
        msvcr100.dll!73af0fac()
        [Frames below may be incorrect and/or missing, no symbols loaded for msvcr100.dll]
        msvcr100.dll!73af10b1()
        verifier.dll!73ea2c13()
        kernel32.dll!76a08543()
        ntdll.dll!___RtlUserThreadStart@8() + 0x27 bytes
        ntdll.dll!__RtlUserThreadStart@8() + 0x1b bytes

            ptbrunet Pete Brunet (Inactive)
            art Artem Ananiev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: