Comment 23 for bug 95091

Revision history for this message
Ludek Cigler (ludek) wrote :

Hi all,
I'm Ludek, an AllPeers developer. We have analyzed the bug and it seems the problem is in the way libnss3.so library is loaded. When AllPeers is not installed, Firefox loads libnss3.so from the path /usr/lib/libnss3.so (this is a symlink which points to /usr/lib/libnss3.so.0d). libsoftokn3.so, which is needed by libnss3.so, is also loaded from /usr/lib/libsoftokn3.so.

On the contrary, when AllPeers is installed, libnss3.so and libsoftokn3.so are loaded from /usr/lib/firefox/. There they are symlinks back to /usr/lib/, but these symlinks are only relative, which means that if you run firefox from other directory than /usr/lib/firefox/, you get the crash because the symlinks cannot be resolved to correct paths and the libraries are not initialized.

The reasons for the different Firefox behaviour when AllPeers is installed from when it's not are not entirely clear to us yet, but one quick fix should be making the symlinks mentioned above (/usr/lib/firefox/libnss3.so and /usr/lib/firefox/libsoftokn3.so) absolute in the Ubuntu Firefox package.

If you are interrested, you can follow our bugzilla for more information on the status of this bug: https://bugzilla.allpeers.com/show_bug.cgi?id=2357