-[ Fri, Sep 02, 2011 at 11:26:42AM +0200, ri...@happyleptic.org ]---- > Or maybe the deadlock involves another lock in addition to > this one. I'm going to turn scm_i_port_table_mutex into a recursive > mutex in order to try to invalidate my theory.
initializing scm_i_port_table_mutex as a recursive mutex does not prevent the deadlock, so initial theory is dead. That's not the forked thread that deadlocks itself by locking it twice.