You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Brett Bergquist (JIRA)" <ji...@apache.org> on 2019/05/03 10:46:00 UTC

[jira] [Created] (DERBY-7044) Derby network server failed to shutdown

Brett Bergquist created DERBY-7044:
--------------------------------------

             Summary: Derby network server failed to shutdown
                 Key: DERBY-7044
                 URL: https://issues.apache.org/jira/browse/DERBY-7044
             Project: Derby
          Issue Type: Bug
          Components: Network Server
    Affects Versions: 10.14.2.0
            Reporter: Brett Bergquist
         Attachments: derby-0.log, stacktrace.txt

Derby network server failed to shutdown.  It was hung up and had to be killed manually.

See the stack trace and also the derby-0.log attached. 

It looks like it got stuck when a XA transaction was to be rolled back because the shutdown was done while one was in progress.  It was waiting on a condition:
{code:java}
"main" #1 prio=5 os_prio=64 tid=0x000000000041f800 nid=0x2 waiting on condition [0xfffffd7ffd48d000]

   java.lang.Thread.State: WAITING (parking)

        at sun.misc.Unsafe.park(Native Method)

        - parking to wait for  <0xfffffd7fa4397110> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)

        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)

        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitUninterruptibly(AbstractQueuedSynchronizer.java:1976)

        at org.apache.derby.impl.services.cache.CacheEntry.waitUntilIdentityIsSet(Unknown Source)

        at org.apache.derby.impl.services.cache.ConcurrentCache.getEntry(Unknown Source)

        at org.apache.derby.impl.services.cache.ConcurrentCache.find(Unknown Source)

        at org.apache.derby.impl.store.raw.data.CachedPage.writePage(Unknown Source)
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)