Hi, your code triggered a forgot-to-unlock-mutex-before-returning bug in src/secmem.c, for which a fix has just been commited to CVS. Thanks! I wonder wether this was the only problem or wether there are indeed GTK/GDK-Threads related problems. moritz -- ((gpg-key-id . "6F984199") (email . "moritz@duesseldorf.ccc.de") (webpage . "http://duesseldorf.ccc.de/~moritz/"))