#2 Threading Deadlock

closed-fixed
nobody
None
5
2003-07-12
2003-07-02
Anonymous
No

Using JProbe Threadalyzer to debug my own threaded
application, I stumbled across a deadlock problem in
C3P0 (that's currently holding me back). Here is the
text that Threadalyzer provides:

(Lock Order): Potential deadlock detected:
Thread 'CarefulRunnableQueue.TaskThread' (id: 115849)
locked com.mchange.v2.c43p0.util.ConnectionEventSupport
instance 187321 at void
com.mchange.v2.c3p0.util.ConnectionEventSupport.addConnectionEventListener(javax.sql.ConnectionEventListener)
after locking
com.mchange.v2.resourcepool.BasicResourcePool instance
119002 at void
com.mchange.v2.resourcepool.BasicResourcePool.acquireUtil(int):
415
Thread 'Thread-5' (id: 205590) locked
com.mchange.v2.resourcepool.BasicResourcePool instance
119002 at void
com.mchange.v2.resourcepool.BasicResourcePool.checkinResource(java.lang.Object)
while holding <unknown>, <unknown>,
com.mchange.v2.c3p0.util.ConnectionEventSupport
instance 187321

Discussion

  • Steve Waldman

    Steve Waldman - 2003-07-12

    Logged In: YES
    user_id=175530

    Thanks for the detailed report! This deadlock is fixed as of c3p0-
    0.8.3.

     
  • Steve Waldman

    Steve Waldman - 2003-07-12
    • status: open --> open-fixed
     
  • Steve Waldman

    Steve Waldman - 2003-07-12
    • status: open-fixed --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks