Top "Deadlock" questions

Situation where two (or more) operations need overlapping sets of resources, and neither can complete because they cannot obtain all locks necessary to complete an operation and release their locks.

How to debug a deadlock?

Other than that I don't know if I can reproduce it now that it's happened (I've been using this particular …

c# multithreading deadlock
Trigger causing a deadlock?

I'm running into a deadlock after I added a trigger. There is a UserBalanceHistory table which has one row for …

sql-server sql-server-2008 triggers deadlock database-deadlocks
Why do nested locks not cause a deadlock?

Why does this code not cause a deadlock? private static readonly object a = new object(); ... lock(a) { lock(a) { .... } }

c# asp.net deadlock
How to trace and prevent the deadlock appeared in c3po which is running in seperate processes?

I have a very simple computation which produces letter matrices finds probably all the words in the matrix. The letters …

java deadlock c3p0
Deadlock issue in DBCP deployed on Tomcat

I'm using DBCP data source (with default configuration) in Spring configuration to manage my connections to the database, and I'm …

java spring tomcat deadlock apache-commons-dbcp
How to restart transactions on deadlock/lock-timeout in Spring?

What is the best practice on implementing a transaction restart upon deadlock or lock timeout exceptions when using Spring (specifically …

java spring transactions annotations deadlock
Get deadlock detection from running programm or dump in Java

I have a piece of running java software that is jammed. I would like to get a view inside but …

java jvm deadlock dump memory-dump
Winforms call to async method hangs up program

I have been working around this problem for a while, but now I would really like to understand what goes …

c# async-await deadlock
Java ThreadPoolExecutor getting stuck while using ArrayBlockingQueue

I'm working on some application and using ThreadPoolExecutor for handling various tasks. ThreadPoolExecutor is getting stuck after some duration. To …

java multithreading queue deadlock blocked-threads
throw: all goroutines are asleep - deadlock

Given the following simple Go program package main import ( "fmt" ) func total(ch chan int) { res := 0 for iter := range ch { …

multithreading go deadlock channel