Here is the strace for firefox with AllPeers installed.
Janek: I could not reproduce your problem with Thunderbird, but it seems that it should be enough to change the symlink /usr/lib/firefox/libsoftokn3.so, the other symlink (libnss3.so) does not have to be modified. Please let me know if you still have problems with Thunderbird after that, and also how to reproduce the bug.
Here is the strace for firefox with AllPeers installed.
Janek: I could not reproduce your problem with Thunderbird, but it seems that it should be enough to change the symlink /usr/lib/ firefox/ libsoftokn3. so, the other symlink (libnss3.so) does not have to be modified. Please let me know if you still have problems with Thunderbird after that, and also how to reproduce the bug.