Deadlock
Deadlock
От:
Daniele Varrazzo <daniele.varrazzo@gmail.com>
Дата:
The script in ticket #55 (http://psycopg.lighthouseapp.com/projects/62710-psycopg/tickets/55) sometimes triggers a deadlock. More rarely I've got a segfault or a loss of sync with the server. Killing the locked process with a SIGQUIT reveals the following stack: Will try to investigate - but I don't have time this weekend. If somebody wants to take a look at the issue, any help is welcome. Thanks. -- Daniele
Re: Deadlock
От:
Daniele Varrazzo <daniele.varrazzo@gmail.com>
Дата:
On Sat, May 28, 2011 at 1:12 AM, Daniele Varrazzo wrote: > The script in ticket #55 > (http://psycopg.lighthouseapp.com/projects/62710-psycopg/tickets/55) > sometimes triggers a deadlock. More rarely I've got a segfault or a > loss of sync with the server. The problem should be fixed. We were processing notifies after releasing the connection lock, together with the result process. But, while the result is in a read-only structure, processing notifies implies parsing the connection, possibly disrupting the communication for other threads. -- Daniele