Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-1345 Cache stability issues in load/failover tests
  3. IGNITE-1327

Cache future completion chain under some conditions causes StackOverflowError

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • ignite-1.4
    • None
    • cache
    • None

    Description

      Can be reproduced with test org.apache.ignite.internal.processors.igfs.IgfsBackupFailoverSelfTest#testFailoverMultipleNodesWriteReadWhileShuttingDown in branch "ignite-1277-stack-overflow" of repository https://github.com/iveselovskiy/ignite.git .
      The full overflowed stack attached.
      (Recommend to use -Xss256k -XX:MaxJavaStackTraceDepth=-1 options while running the test.)

      The fragment that repeats on the stack is :

      3304:  org.apache.ignite.internal.util.future.GridFutureAdapter.notifyListeners(GridFutureAdapter.java:239) *****
      3305:  org.apache.ignite.internal.util.future.GridFutureAdapter.onDone(GridFutureAdapter.java:387)
      3306:  org.apache.ignite.internal.util.future.GridFutureAdapter.onDone(GridFutureAdapter.java:353)
      3307:  org.apache.ignite.internal.util.future.GridFutureAdapter.onDone(GridFutureAdapter.java:330)
      3308:  org.apache.ignite.internal.util.future.GridEmbeddedFuture$2$1.applyx(GridEmbeddedFuture.java:97)
      3309:  org.apache.ignite.internal.util.future.GridEmbeddedFuture$AsyncListener2.apply(GridEmbeddedFuture.java:272)
      3310:  org.apache.ignite.internal.util.future.GridEmbeddedFuture$AsyncListener2.apply(GridEmbeddedFuture.java:265)
      3311:  org.apache.ignite.internal.util.future.GridFutureAdapter.notifyListener(GridFutureAdapter.java:251)
      3312:  org.apache.ignite.internal.util.future.GridFutureAdapter.listen(GridFutureAdapter.java:214)
      3313:  org.apache.ignite.internal.util.future.GridEmbeddedFuture$2.applyx(GridEmbeddedFuture.java:94)
      3314:  org.apache.ignite.internal.util.future.GridEmbeddedFuture$AsyncListener1.apply(GridEmbeddedFuture.java:240)
      3315:  org.apache.ignite.internal.util.future.GridEmbeddedFuture$AsyncListener1.apply(GridEmbeddedFuture.java:233)
      3316:  org.apache.ignite.internal.util.future.GridFutureAdapter$ArrayListener.apply(GridFutureAdapter.java:447)
      3317:  org.apache.ignite.internal.util.future.GridFutureAdapter$ArrayListener.apply(GridFutureAdapter.java:430)
      3318:  org.apache.ignite.internal.util.future.GridFutureAdapter.notifyListener(GridFutureAdapter.java:251)
      3319:  org.apache.ignite.internal.util.future.GridFutureAdapter.notifyListeners(GridFutureAdapter.java:239) *****
      

      Attachments

        1. stack.txt
          334 kB
          Ivan Veselovsky

        Activity

          People

            sboikov Semen Boikov
            iveselovskiy Ivan Veselovsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: