Difference between revisions of "Known distribution problems"
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
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 | + | 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, | + | 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 == | == Known crashes == |
Latest revision as of 12:37, 25 December 2008
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.
[23] CryptoPP::BufferedTransformation::ChannelPut2(std::string const&, unsigned char const*, unsigned long, int, bool) in amule[0x4489c9]
[21] CryptoPP::IteratedHash<unsigned int, CryptoPP::EnumToType<CryptoPP::ByteOrder, 0>, 64u, CryptoPP::HashTransformation>::~IteratedHash() in amule [0x5032b2]
[19] wxNotebook::SetPadding(wxSize const&) in amule[0x8085191]