Crypto++ uses some Assembler code, which might cause problems. Some compiler versions seem to produce crashing code when using optimisations.

Crypto++ uses some Assembler code, which might cause problems. Some compiler versions seem to produce crashing code when using optimisations.

−

Adding the options "-DCRYPTOPP_DISABLE_ASM" and "-O1" or "-O0" to CXXFlags in the GNUMakefile for crypt++ help to solve this issue.

+

Adding the options "-DCRYPTOPP_DISABLE_ASM" and "-O1" or "-O0" to CXXFlags in the GNUmakefile for crypto++ help to solve this issue. To do so, unpack the zip file with the sources to a new directory, open GNUmakefile and make the changes and type ''make'' in a terminal after changing into the source directory to compile. Now execute ''./cryptest.exe v'' in the source directory to test the library. If everything is OK, use ''make install'' with super user permissions to install the new version. Don't forget to recompile aMule afterwards.

crypto++ integrates a test suite called "cryptest.exe" on all systems. Executing "cryptest.exe v" in a terminal will run a verification test - if this test fails, the problem is most probably with crypto++.

crypto++ integrates a test suite called "cryptest.exe" on all systems. Executing "cryptest.exe v" in a terminal will run a verification test - if this test fails, the problem is most probably with crypto++.

Latest revision as of 13:37, 25 December 2008

Contents

Known distribution problems

This is a list of known problems with distribution packages. If you encounter these problems with a fully patched version of your distribution, please file a bug report at your distribution's bug tracker.

Please note that these are not aMule bugs, but problems with distribution packages.

General advise

Most crashes are related to crypto++ or wxwidgets. Rebuilding these packages from source usually solves crashes. Also make sure you are using the latest version of aMule.

crypto++

Crypto++ uses some Assembler code, which might cause problems. Some compiler versions seem to produce crashing code when using optimisations.

Adding the options "-DCRYPTOPP_DISABLE_ASM" and "-O1" or "-O0" to CXXFlags in the GNUmakefile for crypto++ help to solve this issue. To do so, unpack the zip file with the sources to a new directory, open GNUmakefile and make the changes and type make in a terminal after changing into the source directory to compile. Now execute ./cryptest.exe v in the source directory to test the library. If everything is OK, use make install with super user permissions to install the new version. Don't forget to recompile aMule afterwards.

crypto++ integrates a test suite called "cryptest.exe" on all systems. Executing "cryptest.exe v" in a terminal will run a verification test - if this test fails, the problem is most probably with crypto++.

Known crashes

Please do not report crashes which contain one of the following lines in the backtrace printed after the crash. Make sure you use the latest packages and notify your distribution about these problems.