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

deadlock involving X11InputMethod.finalize on X11

    Details

    • Subcomponent:
    • Resolved In Build:
      b03
    • CPU:
      generic
    • OS:
      solaris_2.5.1

      Backports

        Description

        Deadlock occurs when Finalizer thread stops inside
        sun.awt.motif.X11InputMethod.dispose().

        Full thread dump:
            "Screen Updater" (TID:0x805583e0, sys_thread_t:0x81797d84, state:CW)
        prio=4
        java.lang.Object.wait(Object.java)
        sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:78)
        sun.awt.ScreenUpdater.run(ScreenUpdater.java:98)
            "Thread-9" (TID:0x8055c048, sys_thread_t:0x81775d84, state:MW) prio=5
        java.awt.Label.setText(Label.java:193)

        com.intel.fabauto.mtui.MultiStatusBar.setLeftStatusText(MultiStatusBar.java:
        154)
        com.intel.fabauto.mtui.MtuiFrame.actionPerformed(MtuiFrame.java:759)
        com.intel.fabauto.util.Clock.run(Clock.java:171)
        java.lang.Thread.run(Thread.java)
            "RvMsgDispatch thread" (TID:0x8055a628, sys_thread_t:0x816cbd84,
        state:CW) prio=5
        java.net.SocketInputStream.read(SocketInputStream.java:92)
        java.net.SocketInputStream.read(SocketInputStream.java:108)
        java.io.DataInputStream.readInt(DataInputStream.java)
        COM.TIBCO.Rendezvous.RvMsgDispatch.run(RvMsgDispatch.java:64)
            "RvDataDispatch thread" (TID:0x8055a600, sys_thread_t:0x8170fd84,
        state:CW) prio=5
        java.lang.Object.wait(Object.java)
        COM.TIBCO.Rendezvous.RvDataDispatch.run(RvDataDispatch.java:74)
            "RvTimer thread" (TID:0x8055a640, sys_thread_t:0x815e0d84, state:CW)
        prio=5
        COM.TIBCO.Rendezvous.RvTimerVec.run(RvTimerVec.java:104)
        java.lang.Thread.run(Thread.java)
            "RvMsgDispatch thread" (TID:0x80543148, sys_thread_t:0x81731d84,
        state:CW) prio=5
        java.net.SocketInputStream.read(SocketInputStream.java:92)
        java.net.SocketInputStream.read(SocketInputStream.java:108)
        java.io.DataInputStream.readInt(DataInputStream.java)
        COM.TIBCO.rv.RvMsgDispatch.run(RvMsgDispatch.java:64)
            "RvDataDispatch thread" (TID:0x80543168, sys_thread_t:0x8159cd84,
        state:CW) prio=5
        java.lang.Object.wait(Object.java)
        COM.TIBCO.rv.RvDataDispatch.run(RvDataDispatch.java:74)
            "RvTimer thread" (TID:0x80543600, sys_thread_t:0x815bed84, state:CW)
        prio=5
        COM.TIBCO.rv.RvTimerVec.run(RvTimerVec.java:91)
        java.lang.Thread.run(Thread.java)
            "TimerQueue" (TID:0x8054b790, sys_thread_t:0x81753d84, state:CW) prio=5
        com.sun.java.swing.TimerQueue.run(TimerQueue.java:210)
        java.lang.Thread.run(Thread.java)
            "process reaper" (TID:0x80556520, sys_thread_t:0x816edd84, state:CW)
        prio=5
        java.lang.Thread.run(Thread.java)
            "Thread-7" (TID:0x805471e0, sys_thread_t:0x816a9d84, state:CW) prio=5
        COM.TIBCO.JavaROF.JavaROF.run(JavaROF.java:993)
        java.lang.Thread.run(Thread.java)
            "RvMsgDispatch thread" (TID:0x8054e4e0, sys_thread_t:0x81679d84,
        state:CW) prio=5
        java.net.SocketInputStream.read(SocketInputStream.java:92)
        java.net.SocketInputStream.read(SocketInputStream.java:108)
        java.io.DataInputStream.readInt(DataInputStream.java)
        COM.TIBCO.rv.RvMsgDispatch.run(RvMsgDispatch.java:64)
            "RvDataDispatch thread" (TID:0x8054e250, sys_thread_t:0x81657d84,
        state:CW) prio=5
        java.lang.Object.wait(Object.java)
        COM.TIBCO.rv.RvDataDispatch.run(RvDataDispatch.java:74)
            "RvTimer thread" (TID:0x8054e998, sys_thread_t:0x81624d84, state:CW)
        prio=5
        COM.TIBCO.rv.RvTimerVec.run(RvTimerVec.java:91)
        java.lang.Thread.run(Thread.java)
            "AWT-Finalizer" (TID:0x80541868, sys_thread_t:0x81602d84, state:MW)
        prio=9
        sun.awt.motif.MFontPeer.doFinalization(MFontPeer.java:45)
        sun.awt.AWTFinalizer.run(AWTFinalizer.java:55)
            "AWT-Motif" (TID:0x80551540, sys_thread_t:0x8157ad84, state:MW) prio=5
        java.lang.Thread.run(Thread.java)
            "AWT-Input" (TID:0x80551560, sys_thread_t:0x81558d84, state:MW) prio=5
            "AWT-EventQueue-0" (TID:0x80551580, sys_thread_t:0x81536d84, state:CW)
        prio=9
        sun.awt.PlatformFont.makeMultiCharsetString(PlatformFont.java:340)
        sun.awt.PlatformFont.makeMultiCharsetString(PlatformFont.java:296)
        sun.awt.motif.MLabelPeer.initialize(MLabelPeer.java:36)
        sun.awt.motif.MComponentPeer.<init>(MComponentPeer.java:126)
        sun.awt.motif.MLabelPeer.<init>(MLabelPeer.java:45)
        sun.awt.motif.MToolkit.createLabel(MToolkit.java:78)
        java.awt.Label.addNotify(Label.java:130)
        java.awt.Container.addNotify(Container.java:1121)
        java.awt.Container.addNotify(Container.java:1121)
        java.awt.Window.addNotify(Window.java:113)
        java.awt.Dialog.addNotify(Dialog.java:130)
        com.intel.fabauto.mtui.MtuiDialog.addNotify(MtuiDialog.java:284)
        java.awt.Dialog.show(Dialog.java:198)
        com.intel.fabauto.mtui.MtuiDialog.show(MtuiDialog.java:299)
        com.intel.fabauto.mtui.EntityConfig.<init>(EntityConfig.java:89)
        com.intel.fabauto.mtui.EntityConfig.<init>(EntityConfig.java:70)

        com.intel.fabauto.mtui.MtuiFrame.handleMenuAction(MtuiFrame.java:1041)
        com.intel.fabauto.mtui.MtuiFrame.actionPerformed(MtuiFrame.java:762)
        java.awt.MenuItem.processActionEvent(MenuItem.java:436)
        java.awt.MenuItem.processEvent(MenuItem.java:400)
            "Finalizer thread" (TID:0x80535208, sys_thread_t:0x8134ed84, state:MW)
        prio=1
        sun.awt.motif.X11InputMethod.dispose(X11InputMethod.java:183)
        sun.awt.motif.X11InputMethod.finalize(X11InputMethod.java:190)
            "Async Garbage Collector" (TID:0x80535250, sys_thread_t:0x8132cd84,
        state:CW) prio=1
            "Idle thread" (TID:0x80535298, sys_thread_t:0x8130ad84, state:R) prio=0
        *current thread*
            "Clock" (TID:0x80535088, sys_thread_t:0x812e8d84, state:CW) prio=12
            "main" (TID:0x805350b0, sys_thread_t:0x80af0a0, state:CW) prio=5
        Monitor Cache Dump:
            COM.TIBCO.Rendezvous.RvTimerVec@8055A650/8061F2F8: <unowned>
        Waiting to be notified:
        "RvTimer thread" (0x815e0d84)
            java.util.Vector@8054E500/805B04E0: <unowned>
        Waiting to be notified:
        "RvDataDispatch thread" (0x81657d84)
            java.lang.Object@805508D0/805A2B28: owner "AWT-EventQueue-0"
        (0x81536d84, 6 entries)
            COM.TIBCO.rv.RvTimerVec@805435E0/8060F2C8: <unowned>
        Waiting to be notified:
        "RvTimer thread" (0x815bed84)
            java.awt.Label@80546FA0/805E0C98: owner "Thread-9" (0x81775d84, 1 entry)
            java.util.Vector@8055A618/8061F7B0: <unowned>
        Waiting to be notified:
        "RvDataDispatch thread" (0x8170fd84)
            java.util.Vector@80543158/8060FF48: <unowned>
        Waiting to be notified:
        "RvDataDispatch thread" (0x8159cd84)
            COM.TIBCO.rv.RvTimerVec@8054E988/805AF080: <unowned>
        Waiting to be notified:
        "RvTimer thread" (0x81624d84)
            <unknown key> (0x8132cd84): <unowned>
        Waiting to be notified:
        "Async Garbage Collector" (0x8132cd84)
            com.sun.java.swing.TimerQueue@8054B788/805FC108: <unowned>
        Waiting to be notified:
        "TimerQueue" (0x81753d84)
            <unknown key> (0x816a9d84): <unowned>
        Waiting to be notified:
        "Thread-7" (0x816a9d84)
            sun.awt.ScreenUpdater@805583E0/80639AB0: <unowned>
        Waiting to be notified:
        "Screen Updater" (0x81797d84)
            sun.awt.motif.MToolkit@80551340/805A4900: owner "AWT-EventQueue-0"
        (0x81536d84, 1 entry)
        Waiting to enter:
        "AWT-Finalizer" (0x81602d84)
        "AWT-Motif" (0x8157ad84)
        "AWT-Input" (0x81558d84)
        "Thread-9" (0x81775d84)
        "Finalizer thread" (0x8134ed84)
        Registered Monitor Dump:
            Thread queue lock: <unowned>
        Waiting to be notified:
        "main" (0x80af0a0)
            Name and type hash table lock: <unowned>
            String intern lock: <unowned>
            JNI pinning lock: <unowned>
            JNI global reference lock: <unowned>
            BinClass lock: <unowned>
            Class loading lock: <unowned>
            Java stack lock: <unowned>
            Code rewrite lock: <unowned>
            Heap lock: <unowned>
            Has finalization queue lock: <unowned>
            Finalize me queue lock: <unowned>
        Waiting to be notified:
        "AWT-EventQueue-0" (0x81536d84)
            Monitor IO lock: <unowned>
            Child death monitor: <unowned>
        Waiting to be notified:
        "process reaper" (0x816edd84)
            Event monitor: <unowned>
            I/O monitor: <unowned>
            Alarm monitor: <unowned>
        Waiting to be notified:
        "Clock" (0x812e8d84)
            Sbrk lock: <unowned>
            Monitor registry: owner "Idle thread" (0x8130ad84, 1 entry)
        Thread Alarm Q:
            sys_thread_t 0x8132cd84 [Timeout in 265 ms]
            sys_thread_t 0x816a9d84 [Timeout in 8321 ms]

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pongsunw Patrick Ong (Inactive)
                  Reporter:
                  myangsunw Mingyao Yang (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: