Rein Klazes rklazes@xs4all.nl writes:
Trying with several old wines, reveals that this bug is at least 3 months old, apparently not related to the new threading code.
I've searched through the trace and the server code (it must be a server bug, doesn't it?) but see nothing obviously wrong.
Actually that assert is wrong now that we support nested waits. I have removed it.