Known distribution problems

From AMule Project FAQ
Revision as of 12:37, 25 December 2008 by Wuischke (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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]