Hi !
I am experiencing very annoying deadlock that happen both in development and deployment situations under load situations. It happens randomly. Progressively all threads go into deadlock. They all block on the same method : [1] sun.misc.Unsafe.park (native method)
I cannot understand why :-( We use autolock from Project Wonder with the four magic lines in Properties. Both the WorkerThreads and the Background threads block on this with varying stack traces (or at least I could not determine what is in common) : AThreadLaunchedFromAWorkerThread [1] sun.misc.Unsafe.park (native method) [2] java.util.concurrent.locks.LockSupport.park (LockSupport.java:118) [3] java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt (AbstractQueuedSynchronizer.java:716) [4] java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued (AbstractQueuedSynchronizer.java:746) [5] java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire (AbstractQueuedSynchronizer.java:1,076) [6] java.util.concurrent.locks.ReentrantLock$NonfairSync.lock (ReentrantLock.java:184) [7] java.util.concurrent.locks.ReentrantLock.lock (ReentrantLock.java:256) [8] com.webobjects.eocontrol.EOObjectStoreCoordinator.lock (EOObjectStoreCoordinator.java:420) [9] com.webobjects.eocontrol.EOEditingContext.lockObjectStore (EOEditingContext.java:4,650) [10] com.webobjects.eocontrol.EOEditingContext.faultForGlobalID (EOEditingContext.java:3,606) [11] er.extensions.ERXEC.faultForGlobalID (ERXEC.java:972) [12] com.webobjects.eoaccess.EOUtilities.localInstanceOfObject (EOUtilities.java:989) ...
WorkerThread4: [1] sun.misc.Unsafe.park (native method) [2] java.util.concurrent.locks.LockSupport.park (LockSupport.java:118) [3] java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt (AbstractQueuedSynchronizer.java:716) [4] java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued (AbstractQueuedSynchronizer.java:746) [5] java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire (AbstractQueuedSynchronizer.java:1,076) [6] java.util.concurrent.locks.ReentrantLock$NonfairSync.lock (ReentrantLock.java:184) [7] java.util.concurrent.locks.ReentrantLock.lock (ReentrantLock.java:256) [8] com.webobjects.eocontrol.EOObjectStoreCoordinator.lock (EOObjectStoreCoordinator.java:420) [9] com.webobjects.eocontrol.EOEditingContext.lockObjectStore (EOEditingContext.java:4,650) [10] com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification (EOEditingContext.java:4,051) [11] er.extensions.ERXEC.objectsWithFetchSpecification (ERXEC.java:1,068) [12] com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification (EOEditingContext.java:4,428) ...
It happens under 10.5.1 and 10.5.2 and WebObjects 5.4.0 and 5.4.1
Anyone experienced this? Anyone has an idea how this can be happening?
Best regards
Fabrice Pipart EasyMediaOnline Digital Signage Software
Easyshadow Palais de la Scala 1 avenue Henri Dunant Suite 1155 MC - 98000 Monaco
Skype: fabrice.pipart Tel. +377 97 98 21 04 (direct) Fax. +377 97 70 88 07
|