Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-3644

StackOverflowError in 2.1.4

    XMLWordPrintable

    Details

      Description

      I started getting periodic stack overflow errors which sometimes bring the service down completely. The backtrace is like this:

      Oct 28 18:21:48 wdqs1001 bash[2102]: Caused by: java.lang.StackOverflowError
      Oct 28 18:21:48 wdqs1001 bash[2102]: at java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:340)
      Oct 28 18:21:48 wdqs1001 bash[2102]: at com.bigdata.cache.HardReferenceQueueWithBatchingUpdates.add(HardReferenceQueueWithBatchingUpdates.java:490)
      Oct 28 18:21:48 wdqs1001 bash[2102]: at com.bigdata.htree.AbstractHTree.doTouch(AbstractHTree.java:1631)
      Oct 28 18:21:48 wdqs1001 bash[2102]: at com.bigdata.htree.AbstractHTree.touch(AbstractHTree.java:1486)
      Oct 28 18:21:48 wdqs1001 bash[2102]: at com.bigdata.htree.DirectoryPage.checkLazyChild(DirectoryPage.java:471)
      Oct 28 18:21:48 wdqs1001 bash[2102]: at com.bigdata.htree.DirectoryPage.getChild(DirectoryPage.java:370)
      Oct 28 18:21:48 wdqs1001 bash[2102]: at com.bigdata.htree.DirectoryPage.getChildIfPresent(DirectoryPage.java:1791)
      Oct 28 18:21:48 wdqs1001 bash[2102]: at com.bigdata.htree.HTree.lookupAll(HTree.java:1323)
      Oct 28 18:21:48 wdqs1001 bash[2102]: at com.bigdata.bop.join.HTreeHashJoinUtility$4.expand(HTreeHashJoinUtility.java:1959)
      Oct 28 18:21:48 wdqs1001 bash[2102]: at cutthecrap.utils.striterators.Expanderator.getNext(Expanderator.java:59)
      Oct 28 18:21:48 wdqs1001 bash[2102]: at cutthecrap.utils.striterators.Expanderator.getNext(Expanderator.java:59)
      

      and then the last line is repeated a very large number of times. I'll try to see if it's linked to a particular query.

        Attachments

        1. BLZG-1890.patch
          2 kB
        2. q1.rdf.gz
          400 kB
        3. q2.rdf.gz
          0.8 kB

          Activity

            People

            Assignee:
            beebs Brad Bebee
            Reporter:
            stasmalyshev stasmalyshev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: