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

IDEA IntelliJ crashes in objc_msgSend when an accessibility tool is enabled

    Details

    • Subcomponent:
    • Resolved In Build:
      b20

      Backports

        Description

        Install IntelliJ IDEA 14, and create a project with enabled Karabiner-10.4.0
        To crash IntelliJ Idea open a project, press Command + N (goto class), type
        several letters of class name and quickly press Command + Shift + N (goto
        file).
        The controls for navigation are modal dialogs and when disposed, should not
        get typing event any more


        crash8u40b19.txt

        Stack: [0x00007fff5f400000,0x00007fff5fc00000], sp=0x00007fff5fbfd298, free
        space=8180k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
        code)
        C [libobjc.A.dylib+0x10dd] objc_msgSend+0x1d
        C [AppKit+0x23d094] -[NSWindow
        _orderOutAndCalcKeyWithCounter:stillVisible:docWindow:]+0x4c6
        C [AppKit+0x143d4e] -[NSWindow
        _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:]+0xde1
        C [AppKit+0x142cc7] -[NSWindow
        _doOrderWindow:relativeTo:findKey:forCounter:force:isModal:]+0x33d
        C [AppKit+0x14291b] -[NSWindow orderWindow:relativeTo:]+0x9f
        C [Foundation+0x65f4c] __NSThreadPerformPerform+0x125
        C [CoreFoundation+0x80661]
        __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__+0x11
        @ C [CoreFoundation+0x727ed] __CFRunLoopDoSources0+0x10d
        C [CoreFoundation+0x71e1f] __CFRunLoopRun+0x39f
        C [CoreFoundation+0x71838] CFRunLoopRunSpecific+0x128
        C [HIToolbox+0x2e43f] RunCurrentEventLoopInMode+0xeb
        C [HIToolbox+0x2e1ba] ReceiveNextEventCommon+0x1af
        C [HIToolbox+0x2dffb] _BlockUntilNextEventMatchingListInModeWithFilter+0x47
        C [AppKit+0x246d1] _DPSNextEvent+0x3c4
        C [AppKit+0x23e80] -[NSApplication
        nextEventMatchingMask:untilDate:inMode:dequeue:]+0xc2
        C [libosxapp.dylib+0x242a] -[NSApplicationAWT
        nextEventMatchingMask:untilDate:inMode:dequeue:]+0x7c
        C [AppKit+0x17e23] -[NSApplication run]+0x252
        @ C [libosxapp.dylib+0x223e] +[NSApplicationAWT runAWTLoopWithApp:]+0x9c
        C [libawt_lwawt.dylib+0x4463b] -[AWTStarter starter:]+0x389
        C [Foundation+0x65f4c] __NSThreadPerformPerform+0x125
        C [CoreFoundation+0x80661]
        __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__+0x11
        @ C [CoreFoundation+0x727ed] __CFRunLoopDoSources0+0x10d
        C [CoreFoundation+0x71e1f] __CFRunLoopRun+0x39f
        C [CoreFoundation+0x71838] CFRunLoopRunSpecific+0x128
        C [idea+0x1443] parkRunLoop+0x83
        C [idea+0x12d9] main+0xb9
        C [idea+0x11f4] start+0x34
        C 0x0000000000000001

        @ Look similar to https://bugs.openjdk.java.net/browse/JDK-8054211 and
        @ https://bugs.openjdk.java.net/browse/JDK-8032864

        The presence of applications like "Karabiner" in Accessibility (System
        @ Preferences -> Security & Privacy -> Privacy (Tab) -> Accessibility) is
        related to the crashes; switching them off avoids the crashes


        A lot of out users complains about the issue.

        @ https://youtrack.jetbrains.com/issue/IDEA-127574
        @ https://youtrack.jetbrains.com/issue/IDEA-133701
        @ https://youtrack.jetbrains.com/issue/IDEA-131510
        @ https://youtrack.jetbrains.com/issue/IDEA-130012
        @ https://youtrack.jetbrains.com/issue/IDEA-131594
        @ https://youtrack.jetbrains.com/issue/IDEA-130482
        @ https://youtrack.jetbrains.com/issue/IDEA-127921

        The problem can be reproduced in earlier Mac OSX/Java version, e.g.

        System Mac OSX 10.9.4
        IntelliJ IDEA 13.1.4
        Build #IU-135.1229, built on July 16, 2014
        JRE: 1.7.0_60-b19 x86_64
        JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation

        Process: idea [39272]
        Path: /Applications/IntelliJ IDEA 13.app/Contents/MacOS/idea
        Identifier: com.jetbrains.intellij
        Version: 13.1.4 (IU-135.1229)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  anashaty Anton Nashatyrev (Inactive)
                  Reporter:
                  shadowbug Shadow Bug
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: