Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-13792

Periodic crashes with ClassLoader related locking issue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 7.4.2
    • Classloader
    • None
    • jdk1.8.0_65
    • Unknown

    Description

      This issue appears only on a heavily used wiki (XWiki SAS intranet).

      Here you can see a "deadlock in a single thread" which might be a problem related to Java 8. Even if it is a Java 8 related issue, it should be fixable by defensive coding in XWiki.

      "https://marketing.xwikisas.com/xwiki/bin/view/Marketing+Action+Plan/" #2397 daemon prio=5 os_prio=0 tid=0x00007f2b8f216000 nid=0x3443 waiting for monitor entry [0x00007f2b672b3000]
         java.lang.Thread.State: BLOCKED (on object monitor)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:404)
      	- waiting to lock <0x00000000a2d69238> (a org.xwiki.classloader.NamespaceURLClassLoader)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	at org.xwiki.classloader.xwiki.internal.ContextNamespaceURLClassLoader.loadClass(ContextNamespaceURLClassLoader.java:191)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:411)
      	- locked <0x00000000e479fff8> (a org.xwiki.classloader.URIClassLoader)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:187)
      	at org.hibernate.dialect.Dialect.instantiateDialect(Dialect.java:223)
      	at org.hibernate.dialect.Dialect.getDialect(Dialect.java:215)
      

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              calebjamesdelisle CalebJamesDeLisle
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: